D3DVERTEXBUFFER_DESC structure
Describes a vertex buffer.
Syntax
typedef struct D3DVERTEXBUFFER_DESC {
D3DFORMAT Format;
D3DRESOURCETYPE Type;
DWORD Usage;
D3DPOOL Pool;
UINT Size;
DWORD FVF;
} D3DVERTEXBUFFER_DESC, *LPD3DVERTEXBUFFER_DESC;
Members
-
Format
-
Type: D3DFORMAT
-
Member of the D3DFORMAT enumerated type, describing the surface format of the vertex buffer data.
-
Type
-
Type: D3DRESOURCETYPE
-
Member of the D3DRESOURCETYPE enumerated type, identifying this resource as a vertex buffer.
-
Usage
-
Type: DWORD
-
Combination of one or more D3DUSAGE flags.
-
Pool
-
Type: D3DPOOL
-
Member of the D3DPOOL enumerated type, specifying the class of memory allocated for this vertex buffer.
-
Size
-
Type: UINT
-
Size of the vertex buffer, in bytes.
-
FVF
-
Type: DWORD
-
Combination of D3DFVF that describes the vertex format of the vertices in this buffer.
Requirements
Requirement | Value |
---|---|
Header |
|
See also