D3DBRANCH

The D3DBRANCH structure performs conditional operations inside an execute buffer. This structure is a forward-branch structure.

typedef struct _D3DBRANCH {

DWORD dwMask;

DWORD dwValue;

BOOL bNegate;

DWORD dwOffset;

} D3DBRANCH, *LPD3DBRANCH;

Members

dwMask

Bitmask for the branch. This mask is combined with the driver-status mask by using the bitwise AND operator. If the result equals the value specified in the dwValue member and the bNegate member is FALSE, the branch is taken.

For a list of the available driver-status masks, see the dwStatus member of the D3DSTATUS structure.

dwValue

Application-defined value to compare against the operation described in the dwMask member.

bNegate

TRUE to negate comparison.

dwOffset

How far to branch forward. Specify zero to exit.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.