Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extracts the mean and principal component analysis (PCA) basis vectors for a given cluster from an ID3DXPRTCompBuffer compressed data buffer.
Syntax
HRESULT ExtractBasis(
[in] UINT Cluster,
[in, out] FLOAT *pClusterBasis
);
Parameters
-
Cluster [in]
-
Type: UINT
Cluster for which the basis will be extracted.
-
pClusterBasis [in, out]
-
Type: FLOAT*
Pointer to an array of basis vector data for Cluster. The size of the FLOAT data stored will be: (1 + Number of PCA vectors per cluster) * (Number of coefficients) * (Number of color channels)
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 |
|
Library |
|
See also