d3d9.dllGetIndices
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DDevice9::GetIndices Method


Retrieves index data.

Syntax

HRESULT GetIndices(      

    IDirect3DIndexBuffer9 **ppIndexData );

Parameters

ppIndexData
[out] Address of a pointer to an IDirect3DIndexBuffer9 interface, representing the returned index data.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

Note   Calling this method will increase the internal reference count on the IDirect3DIndexBuffer9 interface. Failure to call IUnknown::Release when finished using this IDirect3DIndexBuffer9 interface results in a memory leak.

See Also

IDirect3DDevice9::SetIndices


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.