_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    ,
  D3D10_CBF_USERPACKED  ,
  D3D_CBF_FORCE_DWORD
} 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