// d3dhal.h
typedef struct _D3DHAL_DP2CREATEVERTEXSHADERFUNC {
DWORD dwHandle;
DWORD dwSize;
} D3DHAL_DP2CREATEVERTEXSHADERFUNC;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 9.0 and later versions only.
The D3DHAL_DP2CREATEVERTEXSHADERFUNC structure is used to create a vertex shader code object when a D3DDP2OP_CREATEVERTEXSHADERFUNC opcode is received by D3dDrawPrimitives2.
dwHandleSpecifies the handle to the vertex shader code that is assigned by the runtime. This value is guaranteed to be subzero.
dwSizeSpecifies the shader code size in bytes.
When the runtime calls the driver's D3dDrawPrimitives2 function with this token, the driver should validate the given shader code and report success or failure accordingly.
Vertex shader code follows D3DHAL_DP2CREATEVERTEXSHADERFUNC in the command stream. See Direct3D Driver Shader Codes for information about the format of individual shader code and the tokens that comprise each shader code.
The DirectX 9.0 runtime sets dwHandle to zero to indicate a fixed function pipeline.
D3DDP2OP_CREATEVERTEXSHADERFUNC
D3DHAL_DP2CREATEVERTEXSHADERDECL