D3DDDIVERTEXELEMENT structure (d3dumddi.h)
The D3DDDIVERTEXELEMENT structure describes an element in the array for a vertex shader declaration.
Syntax
typedef struct _D3DDDIVERTEXELEMENT {
[in] USHORT Stream;
[in] USHORT Offset;
[in] UCHAR Type;
[in] UCHAR Method;
[in] UCHAR Usage;
[in] UCHAR UsageIndex;
} D3DDDIVERTEXELEMENT;
Members
[in] Stream
The number of the stream.
[in] Offset
The offset (if any), in bytes, from the beginning of the stream to the start of the data.
[in] Type
One of several predefined data types that define the data size. For more information about these types, see the D3DDECLTYPE enumeration type in the Microsoft Windows SDK documentation.
[in] Method
The tessellator processing method. This method determines how the tessellator interprets and operates on the vertex data. For more information about these methods, see the D3DDECLMETHOD enumeration type in the Windows SDK documentation.
[in] Usage
The intended use of the vertex data. For more information about the possible uses, see the D3DDECLUSAGE enumeration type in the Windows SDK documentation.
[in] UsageIndex
A modification to the usage data that is specified in the Usage member. This modification enables multiple usage types to be specified.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |