D3D_SHADER_CBUFFER_FLAGS enumeration

Values that identify the indended use of a constant-data buffer.

Syntax


typedef enum _D3D_SHADER_CBUFFER_FLAGS { 
  D3D_CBF_USERPACKED    = 1,
  D3D10_CBF_USERPACKED  = D3D_CBF_USERPACKED,
  D3D_CBF_FORCE_DWORD   = 0x7fffffff
} D3D_SHADER_CBUFFER_FLAGS;

Constants

D3D_CBF_USERPACKED

Bind the constant buffer to an input slot defined in HLSL code (instead of letting the compiler choose the input slot).

D3D10_CBF_USERPACKED

Bind the constant buffer to an input slot defined in HLSL code (instead of letting the compiler choose the input slot).

D3D_CBF_FORCE_DWORD

This value is not used by a programmer; it exists to force the enumeration to compile to 32 bits.

Remarks

D3D_SHADER_CBUFFER_FLAGS-typed values are specified in the uFlags member of the D3D11_SHADER_BUFFER_DESC structure.

Requirements

Header

D3DCommon.h

See also

Common Version Enumerations

 

 

Show: