![]() |
![]() |
![]() |
PrtCompressedBuffer.ExtractBasis Method |
Language: |
Extracts the mean and principal component analysis (PCA) basis vectors for a given cluster from a PrtCompressedBuffer object.
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[]
);
cluster System.Int32. Cluster for which the basis will be extracted. clusterBasis System.Single[]. An array of basis vector data for cluster.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center