The ID3DXPRTCompBuffer interface stores a compressed version of a ID3DXPRTBuffer buffer, for use with principal component analysis (PCA).
Method | Description |
---|---|
ID3DXPRTCompBuffer::ExtractBasis | Extracts the mean and principal component analysis (PCA) basis vectors for a given cluster from an ID3DXPRTCompBuffer compressed data buffer. |
ID3DXPRTCompBuffer::ExtractClusterIDs | Extracts the per-sample cluster IDs from an ID3DXPRTCompBuffer compressed data buffer. |
ID3DXPRTCompBuffer::ExtractPCA | Extracts the per-sample principal component analysis (PCA) projection coefficients from an ID3DXPRTCompBuffer compressed data buffer. |
ID3DXPRTCompBuffer::ExtractTexture | Extracts the per-sample principal component analysis (PCA) projection coefficients from an ID3DXPRTCompBuffer compressed data buffer and adds the data to an IDirect3DTexture9 object. |
ID3DXPRTCompBuffer::ExtractToMesh | Extracts the per-sample principal component analysis (PCA) projection coefficients from an ID3DXPRTCompBuffer compressed data buffer and adds the data to an ID3DXMesh object. |
ID3DXPRTCompBuffer::GetHeight | Retrieves the height of the texture, in pixels. |
ID3DXPRTCompBuffer::GetNumChannels | Retrieves the number of color channels used in memory to store samples. |
ID3DXPRTCompBuffer::GetNumClusters | Retrieves the number of clusters to use for compression. |
ID3DXPRTCompBuffer::GetNumCoeffs | Retrieves the number of scalars per color channel used in memory to store samples. |
ID3DXPRTCompBuffer::GetNumPCA | Retrieves the number of principal component analysis (PCA) basis vectors to use in each cluster. |
ID3DXPRTCompBuffer::GetNumSamples | Retrieves the number of vertices (or texels) sampled. |
ID3DXPRTCompBuffer::GetWidth | Retrieves the width of the texture, in pixels. |
ID3DXPRTCompBuffer::IsTexture | Indicates whether the buffer contains a texture. |
ID3DXPRTCompBuffer::NormalizeData | Normalizes all principal component analysis (PCA) weights so that they are between -1 and 1. Basis vectors are modified to reflect this normalization. |
The ID3DXPRTCompBuffer interface is obtained by calling the D3DXCreatePRTCompBuffer function.
The LPD3DXPRTCOMPBUFFER type is defined as a pointer to the ID3DXPRTCompBuffer interface.
typedef interface ID3DXPRTCompBuffer ID3DXPRTCompBuffer; typedef interface ID3DXPRTCompBuffer *LPD3DXPRTCOMPBUFFER;
D3DXCreatePRTCompBuffer, ID3DXPRTBuffer
Header: Declared in D3dx9mesh.h.
Import Library: Use D3dx9.lib.