Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 9
Reference
D3DX Reference
Interfaces
ID3DXBuffer

  Switch on low bandwidth view
ID3DXBuffer
Bb205753.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb205753.XDK_CHM_BANNER_right(en-us,VS.85).jpg

ID3DXBuffer

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.

ID3DXBuffer Members

MethodDescription
ID3DXBuffer::GetBufferPointerRetrieves a pointer to the data in the buffer.
ID3DXBuffer::GetBufferSizeRetrieves 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: Declared in D3DX9Mesh.h.

Library: Use D3dx9.lib.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker