The D3D11_VERTEX_SHADER_DESC structure describes a vertex shader.
typedef struct D3D11_VERTEX_SHADER_DESC {
const BYTE *pShaderBytecode;
SIZE_T BytecodeLength;
} D3D11_VERTEX_SHADER_DESC;
The D3D11_VERTEX_SHADER_DESC structure has the following members:
Member | Description |
---|---|
pShaderBytecode |
A pointer to the vertex shader's bytecode. |
BytecodeLength |
The size of the vertex shader's bytecode, in bytes. |
This structure is used by the following methods:
The shader bytecode is a compiled shader that can be loaded by the Direct3D runtime. The bytecode can be generated by a High-Level Shading Language (HLSL) compiler, such as the one included with the DirectX SDK.
Header: d3d11.h
Library: d3d11.lib
Minimum supported client: Windows 7 [desktop apps | UWP apps]
Minimum supported server: Windows Server 2008 R2 [desktop apps | UWP apps]
Product: Direct3D 11