D3DHAL_DP2COMMAND
One or more of these structures are parsed from the command buffer by the D3dDrawPrimitives2 callback, which uses the information it receives to draw one or more primitives. Each structure specifies either a primitive to draw or a state change to process.
typedef struct _D3DHAL_DP2COMMAND {
BYTE bCommand;
BYTE bReserved;
union{
WORD wPrimitiveCount;
WORD wStateCount;
};
} D3DHAL_DP2COMMAND, *LPD3DHAL_DP2COMMAND;
Members
- bCommand
Specifies a primitive to draw or a state change to process. This member can be one of the D3DHAL_DP2OPERATION enumerated values. - bReserved
Is reserved for system use and should be ignored by the driver. - wPrimitiveCount
Specifies the number of primitives to process. This member is valid when bCommand is not either of D3DDP2OP_RENDERSTATE or D3DDP2OP_TEXTURESTAGESTATE. - wStateCount
Specifies the number of state changes to process. This member is valid when bCommand is one of D3DDP2OP_RENDERSTATE or D3DDP2OP_TEXTURESTAGESTATE.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.
See Also
D3dDrawPrimitives2 | D3DHAL_DP2OPERATION | D3DDP2OP_RENDERSTATE | D3DDP2OP_TEXTURESTAGESTATE | D3DHAL_XXX Structures
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.