Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains data to describe a vertex buffer.
Syntax
typedef struct _D3DMVERTEXBUFFER_DESC { D3DMFORMAT Format; D3DMRESOURCETYPE Type; ULONG Usage; D3DMPOOL Pool; UINT Size; ULONG FVF; } D3DMVERTEXBUFFER_DESC; |
Members
- Format
-
A D3DMFORMATenumeration value describing the format of the data in the vertex buffer. This value is always D3DMFMT_VERTEXDATA.
- Type
-
A D3DMRESOURCETYPEenumeration value identifying the type of resource; in this case, D3DMRTYPE_VERTEXBUFFER, a vertex buffer.
- Usage
-
A ULONG value representing a bit mask defining how the application should use this vertex buffer. Set this to one of the D3DMUSAGE Values. These bits can be hints to the driver to allow it to optimize resource allocations best suited to the vertex buffer's use.
- Pool
-
A D3DMPOOLvalue identifying the memory pool that the vertex buffer is allocated from.
- Size
-
A UINT value representing the number of bytes allocated for the vertex buffer.
- FVF
-
A ULONG value representing a bit mask that contains the flexible vertex format (FVF) flags defining the vertex format for the vertex buffer, see Vertex Data Description.
Requirements
Header | d3dmtypes.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |