?/TD> |
Microsoft DirectX 9.0 |
Defines input vertex data to the pipeline.
Syntax
typedef struct _D3DVERTEXELEMENT9 { BYTE Stream; BYTE Offset; BYTE Type; BYTE Method; BYTE Usage; BYTE UsageIndex; } D3DVERTEXELEMENT9;
Members
- Stream
- Stream number.
- Offset
- Offset (if any) from the beginning of the stream to the start of the data.
- Type
- Data type. One of several predefined types that define the data size. For more information, see D3DDECLTYPE.
- Method
- Tessellator processing method. This method determines how the tessellator interprets/operates on the vertex data. For more information, see D3DDECLMETHOD.
- Usage
- Defines the intended use of the data. For more information, see D3DDECLUSAGE.
- UsageIndex
- Modifies the usage data to allow the user to specify multiple usage types.
Remarks
Vertex data is defined using an array of VERTEXELEMENT9 structures.
Structure Information
Header d3d9types.h Minimum operating systems Windows 98