Platform SDK: DirectX

D3DVERTEXBUFFERDESC

The D3DVERTEXBUFFERDESC type describes the properties of a vertex buffer object. This type is used with the Direct3D7.CreateVertexBuffer and Direct3DVertexBuffer7.GetVertexBufferDesc methods.

Type D3DVERTEXBUFFERDESC
    lCaps As CONST_D3DVBCAPSFLAGS
    lFVF As CONST_D3DFVFFLAGS
    lNumVertices As Long
End Type

Members

lCaps
Capability flags that describe the vertex buffer and identify if the vertex buffer can contain optimized vertex data. This parameter can be any combination of the constants of the CONST_D3DVBCAPSFLAGS enumeration.
lFVF
A combination of constants of the CONST_D3DFVFFLAGS enumeration that describes the vertex format of the vertices in this buffer.
lNumVertices
The maximum number of vertices that this vertex buffer can contain.

Remarks

Software devices—MMX and RGB devices—cannot render from a video memory (local or non-local) vertex buffer. To render a vertex buffer using a software device, the vertex buffer must exist in system memory. Hardware devices can render from system memory or video memory vertex buffers.

See Also

Vertex Buffer Descriptions, Vertex Buffers