다음을 통해 공유


D3D10_CBUFFER_TYPE enumeration

These flags identify constant-buffer-data types.

Syntax

typedef enum D3D10_CBUFFER_TYPE { 
  D3D10_CT_CBUFFER  = 0,
  D3D10_CT_TBUFFER  = 1
} D3D10_CBUFFER_TYPE, *LPD3D10_CBUFFER_TYPE;

Constants

  • D3D10_CT_CBUFFER
    A buffer containing scalar constants.

  • D3D10_CT_TBUFFER
    A buffer containing texture data.

Remarks

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


typedef D3D_CBUFFER_TYPE D3D10_CBUFFER_TYPE;

The flags are used in a shader buffer description (see D3D10_SHADER_BUFFER_DESC).

Requirements

Header

D3D10Shader.h

See also

Shader Enumerations