ID3DXPRTCompBuffer::ExtractClusterIDs method

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

Syntax

HRESULT ExtractClusterIDs(
  [in, out] UINT *pClusterIDs
);

Parameters

pClusterIDs [in, out]

Type: UINT*

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

Return value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

ID3DXPRTCompBuffer