IDirect3DIndexBuffer9::GetDesc method

Retrieves a description of the index buffer resource.

Syntax


HRESULT GetDesc(
  [out] D3DINDEXBUFFER_DESC *pDesc
);

Parameters

pDesc [out]

Type: D3DINDEXBUFFER_DESC*

Pointer to a D3DINDEXBUFFER_DESC structure, describing the returned index buffer.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. D3DERR_INVALIDCALL is returned if the argument is invalid.

Requirements

Header

D3D9.h

Library

D3D9.lib

See also

IDirect3DIndexBuffer9
Index Buffers (Direct3D 9)

 

 

Show: