![]() |
![]() |
![]() |
Extracts the per-sample cluster identifiers (IDs) from an ID3DXPRTCompBuffer compressed data buffer.
Syntax
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 Value
If the method succeeds, the return value is S_OK.
If the method fails, the following value will be returned.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.