Microsoft DirectX 8.1 (C++) |
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.
The ID3DXBuffer interface is obtained by calling the D3DXCreateBuffer function. The methods of the ID3DXBuffer interface can be organized into the following group.
Information | GetBufferPointer |
GetBufferSize |
The ID3DXBuffer interface, like all COM interfaces, inherits the IUnknown Interface methods.
The LPD3DXBUFFER type is defined as a pointer to the ID3DXBuffer interface.
typedef struct ID3DXBuffer *LPD3DXBUFFER;
Header: Declared in D3dx8core.h.
Import Library: Use D3dx8.lib.