D3D11_INPUT_CLASSIFICATION enumeration (d3d11.h)

Type of data contained in an input slot.

Syntax

typedef enum D3D11_INPUT_CLASSIFICATION {
  D3D11_INPUT_PER_VERTEX_DATA = 0,
  D3D11_INPUT_PER_INSTANCE_DATA = 1
} ;

Constants

 
D3D11_INPUT_PER_VERTEX_DATA
Value: 0
Input data is per-vertex data.
D3D11_INPUT_PER_INSTANCE_DATA
Value: 1
Input data is per-instance data.

Remarks

Use these values to specify the type of data for a particular input element (see D3D11_INPUT_ELEMENT_DESC) of an input-layout object.

Requirements

Requirement Value
Header d3d11.h

See also

Core Enumerations