This topic has not yet been rated - Rate this topic

D3DVERTEXBUFFER_DESC structure

Applies to: desktop apps only

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

Header

D3D9Types.h

See also

GetDesc
Vertex Buffers (Direct3D 9)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ