Share via


D3D11_CBUFFER_TYPE enumeration

Indicates a constant buffer's type.

Syntax

typedef enum _D3D11_CBUFFER_TYPE { 
  D3D11_CT_CBUFFER,
  D3D11_CT_TBUFFER,
  D3D11_CT_INTERFACE_POINTERS,
  D3D11_CT_RESOURCE_BIND_INFO
} D3D11_CBUFFER_TYPE, *LPD3D11_CBUFFER_TYPE;

Constants

  • D3D11_CT_CBUFFER
    A buffer containing scalar constants.

  • D3D11_CT_TBUFFER
    A buffer containing texture data.

  • D3D11_CT_INTERFACE_POINTERS
    A buffer containing interface pointers.

  • D3D11_CT_RESOURCE_BIND_INFO
    A buffer containing binding information.

Remarks

The D3D11_CBUFFER_TYPE enumeration is type defined in the D3D11Shader.h header file as a D3D_CBUFFER_TYPE enumeration, which is fully defined in the D3DCommon.h header file.


typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE;

Requirements

Header

D3d11shader.h

See also

Shader Enumerations