IDirect3DVertexBuffer9::GetDesc method

Retrieves a description of the vertex buffer resource.

Syntax

HRESULT GetDesc(
  D3DVERTEXBUFFER_DESC *pDesc
);

Parameters

pDesc

Type: D3DVERTEXBUFFER_DESC*

Pointer to a D3DVERTEXBUFFER_DESC structure, describing the returned vertex 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

   
Target Platform Windows
Header d3d9helper.h (include D3D9.h)
Library D3D9.lib

See Also

IDirect3DVertexBuffer9

Vertex Buffers (Direct3D 9)