Microsoft DirectX 9.0 SDK Update (October 2004)

PrtCompressedBuffer.ExtractBasis Method

Language:

Note: This documentation is preliminary and is subject to change.

Extracts the mean and principal component analysis (PCA) basis vectors for a given cluster from a PrtCompressedBuffer object.

Definition

Visual Basic .NET Public Sub ExtractBasis( _
    ByVal cluster As Integer, _
    ByVal clusterBasis() As Single _
)
C# public void ExtractBasis(
    int cluster,
    float[] clusterBasis
);
Managed C++ public: void ExtractBasis(
    int cluster,
    float clusterBasis __gc[]
);
JScript .NET public function ExtractBasis(
    cluster : int,
    clusterBasis : float[]
);

Parameters

cluster System.Int32. Cluster for which the basis will be extracted.
clusterBasis System.Single[]. An array of basis vector data for cluster.

Remarks

The size of the clusterBasis data will be:

(1 + Number of PCA vectors per cluster) * (Number of coefficients) * (Number of color channels)

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center