D3D10DDIARG_INPUT_ELEMENT_DESC structure (d3d10umddi.h)
The D3D10DDIARG_INPUT_ELEMENT_DESC structure describes an element of a layout.
Syntax
typedef struct D3D10DDIARG_INPUT_ELEMENT_DESC {
[in] UINT InputSlot;
[in] UINT AlignedByteOffset;
[in] DXGI_FORMAT Format;
[in] D3D10_DDI_INPUT_CLASSIFICATION InputSlotClass;
[in] UINT InstanceDataStepRate;
[in] UINT InputRegister;
} D3D10DDIARG_INPUT_ELEMENT_DESC;
Members
[in] InputSlot
The number of the input slot for the element.
[in] AlignedByteOffset
The aligned offset, in bytes, for the element.
[in] Format
A DXGI_FORMAT-typed value that indicates the format of the element.
[in] InputSlotClass
A value that specifies the type of element. This member must be set to one of the following values from the D3D10_DDI_INPUT_CLASSIFICATION enumeration.
Value | Meaning |
---|---|
D3D10_DDI_INPUT_PER_VERTEX_DATA (0) | The InstanceDataStepRate member holds the number of instances to render. |
D3D10_DDI_INPUT_PER_INSTANCE_DATA (1) | InstanceDataStepRate is set to zero. |
[in] InstanceDataStepRate
The number of instances to render before incrementing to the next data element, if the InputSlotClass member is set to D3D10_DDI_INPUT_PER_INSTANCE_DATA. InstanceDataStepRate is set to zero if InputSlotClass is set to D3D10_DDI_INPUT_PER_VERTEX_DATA.
[in] InputRegister
The number of the input register for the element.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3d10umddi.h (include D3d10umddi.h) |