PrtCompressedBuffer.ExtractTexture Method |
Language: |
Extracts the per-sample principal component analysis (PCA) projection coefficients from a PrtCompressedBuffer object and adds the data to a Texture object.
Visual Basic Public Sub ExtractTexture( _
ByVal startPca As Integer, _
ByVal numberPca As Integer, _
ByVal texture As Texture _
)C# public void ExtractTexture(
int startPca,
int numberPca,
Texture texture
);C++ public:
void ExtractTexture(
int startPca,
int numberPca,
Texture^ texture
);JScript public function ExtractTexture(
startPca : int,
numberPca : int,
texture : Texture
);
startPca System.Int32
Starting value of the buffer coefficient from which to extract texture data.numberPca System.Int32
Number of PCA coefficients to extract from the buffer.texture Microsoft.DirectX.Direct3D.Texture
A Texture object that will store PCA coefficients.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center