D3D11_INPUT_CLASSIFICATION Enumeration

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
} D3D11_INPUT_CLASSIFICATION;  

Constants

Constant Description
D3D11_INPUT_PER_VERTEX_DATA Input data is per-vertex data.
D3D11_INPUT_PER_INSTANCE_DATA 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

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).