description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the mesh index buffer. |
d9152f3b-c8e6-4def-8cf1-a517ca4d34e7 |
ID3DXPatchMesh::GetIndexBuffer method (D3DX9Mesh.h) |
reference |
05/31/2018 |
|
|
|
|
Gets the mesh index buffer.
HRESULT GetIndexBuffer(
[out, retval] LPDIRECT3DINDEXBUFFER9 *ppIB
);
-
ppIB [out, retval]
-
Type: LPDIRECT3DINDEXBUFFER9*
Pointer to the index buffer.
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
The index buffer contains the vertex ordering in the vertex buffer. The index buffer is used to access the vertex buffer when the mesh is rendered.
Requirement | Value |
---|---|
Header |
|
Library |
|