D3DHAL_DP2COMMAND structure

One or more D3DHAL_DP2COMMAND 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.

Syntax

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

Reserved for system use and should be ignored by the driver.

__unnamed_union_0bcf_9

__unnamed_union_0bcf_9.wPrimitiveCount

__unnamed_union_0bcf_9.wStateCount

Requirements

   
Header d3dhal.h (include D3dhal.h)

See Also

D3DDP2OP_RENDERSTATE

D3DDP2OP_TEXTURESTAGESTATE

D3DHAL_DP2OPERATION

D3dDrawPrimitives2