PrtCompressedBuffer.ExtractToMesh Method |
Language: |
Extracts the per-sample principal component analysis (PCA) projection coefficients from a PrtCompressedBuffer object and adds the data to a Mesh object.
Visual Basic Public Sub ExtractToMesh( _
ByVal numberPca As Integer, _
ByVal usage As DeclarationUsage, _
ByVal usageIndexStart As Integer, _
ByVal scene As Mesh _
)C# public void ExtractToMesh(
int numberPca,
DeclarationUsage usage,
int usageIndexStart,
Mesh scene
);C++ public:
void ExtractToMesh(
int numberPca,
DeclarationUsage usage,
int usageIndexStart,
Mesh^ scene
);JScript public function ExtractToMesh(
numberPca : int,
usage : DeclarationUsage,
usageIndexStart : int,
scene : Mesh
);
numberPca System.Int32
Number of PCA coefficients to extract from the buffer.usage Microsoft.DirectX.Direct3D.DeclarationUsage
Vertex usage descriptions of the mesh.usageIndexStart System.Int32
Starting index for PCA coefficients to be stored in the mesh.scene Microsoft.DirectX.Direct3D.Mesh
A Mesh object that will store PCA coefficients.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. OutOfMemoryException Microsoft Direct3D could not allocate sufficient memory to complete the call.
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