Updated VertexTypes (markdown)
Родитель
89b3af2263
Коммит
be83b914df
|
@ -14,7 +14,7 @@ The VertexTypes.h header defines these commonly used vertex data structures:
|
|||
#include <VertexTypes.h>
|
||||
|
||||
# Input Layout
|
||||
Each type provides a ``D3D12_INPUT_ELEMENT_DESC`` structure which can be used to create a Pipeline State Object (PSO):
|
||||
Each type provides a ``D3D12_INPUT_LAYOUT_DESC`` structure which can be used to create a Pipeline State Object (PSO):
|
||||
|
||||
D3D12_GRAPHICS_PIPELINE_STATE_DESC psoDesc = {};
|
||||
psoDesc.InputLayout = VertexPositionColor::InputLayout;
|
||||
|
|
Загрузка…
Ссылка в новой задаче