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.
A version of this page is also available for
4/8/2010

This structure contains data to describe an index buffer.

Syntax

typedef struct _D3DMINDEXBUFFER_DESC {
  D3DMFORMAT	 
Format;
  D3DMRESOURCETYPE 
Type;
  ULONG		
Usage;
  D3DMPOOL		 
Pool;
  UINT			 
Size;
} D3DMINDEXBUFFER_DESC;

Members

Format

A D3DMFORMATenumeration value describing the pixel format of the data in the resource. This member identifies whether the index buffer takes 16 or 32-bit offsets.

Type

A D3DMRESOURCETYPEenumeration value identifying the type of resource; in this case, D3DMRTYPE_INDEXBUFFER, an index buffer.

Usage

A ULONG value representing a bit mask defining how the application should use the index buffer. These bits can be hints to the driver to allow it to optimize resource allocations best suited to the index buffer's use.

Pool

A D3DMPOOLvalue identifying the memory pool that the index buffer is allocated from.

Size

A UINT value representing the number of bytes allocated for the index buffer.

Requirements

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also