Microsoft DirectX 9.0 SDK Update (October 2004)

PrtCompressedBuffer.ExtractTexture Method

Language:

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

Extracts the per-sample principal component analysis (PCA) projection coefficients from a PrtCompressedBuffer object and adds the data to a Texture object.

Definition

Visual Basic .NET 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
);
Managed C++ public: void ExtractTexture(
    int startPca,
    int numberPca,
    Texture *texture
);
JScript .NET public function ExtractTexture(
    startPca : int,
    numberPca : int,
    texture : Texture
);

Parameters

startPca System.Int32. Starting value of the buffer coefficient from which to extract texture data.
numberPca System.Int32. Number of principal component analysis (PCA) coefficients to extract from the buffer.
texture Microsoft.DirectX.Direct3D.Texture. A Texture object that will store principal component analysis (PCA) coefficients.

Remarks

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