LPD3DHAL_DP2COMMAND - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dhal.h

typedef struct _D3DHAL_DP2COMMAND {
  BYTE  bCommand;
  BYTE  bReserved;
  union {
    WORD wPrimitiveCount;
    WORD wStateCount;
  };
} D3DHAL_DP2COMMAND, *LPD3DHAL_DP2COMMAND;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dhal-_d3dhal_dp2command)

_D3DHAL_DP2COMMAND structure

Description

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.

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.

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.

See also

D3DDP2OP_RENDERSTATE

D3DDP2OP_TEXTURESTAGESTATE

D3DHAL_DP2OPERATION

D3dDrawPrimitives2