UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:d3d11.D3D11_INPUT_ELEMENT_DESC |
D3D11_INPUT_ELEMENT_DESC (d3d11.h) |
A description of a single element for the input-assembler stage. (D3D11_INPUT_ELEMENT_DESC) |
|
direct3d11\d3d11_input_element_desc.htm |
direct3d11 |
45545d24-1513-4efd-9344-20673c5b98d5 |
12/05/2018 |
D3D11_INPUT_ELEMENT_DESC, D3D11_INPUT_ELEMENT_DESC structure [Direct3D 11], d3d11/D3D11_INPUT_ELEMENT_DESC, ddd8b2ab-b2d6-b462-f2ed-127b85cb7e53, direct3d11.d3d11_input_element_desc |
d3d11.h |
Windows |
Windows |
D3D11_INPUT_ELEMENT_DESC |
19H1 |
|
|
|
|
|
|
A description of a single element for the input-assembler stage.
Type: LPCSTR
The HLSL semantic associated with this element in a shader input-signature. See HLSL Semantics for more info.
Type: UINT
The semantic index for the element. A semantic index modifies a semantic, with an integer index number. A semantic index is only needed in a case where there is more than one element with the same semantic. For example, a 4x4 matrix would have four components each with the semantic name
matrix
, however each of the four component would have different semantic indices (0, 1, 2, and 3).
Type: DXGI_FORMAT
The data type of the element data. See DXGI_FORMAT.
Type: UINT
An integer value that identifies the input-assembler (see input slot). Valid values are between 0 and 15, defined in D3D11.h.
Type: UINT
Optional. Offset (in bytes) from the start of the vertex. Use D3D11_APPEND_ALIGNED_ELEMENT for convenience to define the current element directly after the previous one, including any packing if necessary.
Type: D3D11_INPUT_CLASSIFICATION
Identifies the input data class for a single input slot (see D3D11_INPUT_CLASSIFICATION).
Type: UINT
The number of instances to draw using the same per-instance data before advancing in the buffer by one element. This value must be 0 for an element that contains per-vertex data (the slot class is set to D3D11_INPUT_PER_VERTEX_DATA).
An input-layout object contains an array of structures, each structure defines one element being read from an input slot. Create an input-layout object by calling ID3D11Device::CreateInputLayout. For an example, see the "Create the Input-Layout Object" subtopic under the Getting Started with the Input-Assembler Stage topic.