ID3DXPRTCompBuffer::ExtractClusterIDs

Extracts the per-sample cluster IDs from an ID3DXPRTCompBuffer compressed data buffer.

HRESULT ExtractClusterIDs(
  UINT * pClusterIDs
);

Parameters

pClusterIDs
[in, out] Pointer to the location in memory where IDs are written. The length of memory required is the value returned by ID3DXPRTCompBuffer::GetNumSamples.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.

D3DERR_INVALIDCALL

Requirements

Header: Declared in D3dx9mesh.h.