Export (0) Print
Expand All

ID3DXBuffer interface

The ID3DXBuffer interface is used as a data buffer, storing vertex, adjacency, and material information during mesh optimization and loading operations. The buffer object is used to return arbitrary length data. Also, buffer objects are used to return object code and error messages in methods that assemble vertex and pixel shaders.

Members

The ID3DXBuffer interface inherits from the IUnknown interface. ID3DXBuffer also has these types of members:

Methods

The ID3DXBuffer interface has these methods.

MethodDescription
GetBufferPointer

Retrieves a pointer to the data in the buffer.

GetBufferSize

Retrieves the total size of the data in the buffer.

 

Remarks

The ID3DXBuffer interface is obtained by calling the D3DXCreateBuffer function.

The LPD3DXBUFFER type is defined as a pointer to the ID3DXBuffer interface.



typedef interface ID3DXBuffer ID3DXBuffer;
typedef interface ID3DXBuffer *LPD3DXBUFFER;


Requirements

Header

D3DX9Mesh.h

Library

D3dx9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft