Extracts the per-sample principal component analysis (PCA) projection coefficients from an ID3DXPRTCompBuffer compressed data buffer and adds the data to an IDirect3DTexture9 object.
HRESULT ExtractTexture( UINT StartPCA, UINT NumPCA, LPDIRECT3DTEXTURE9 pTexture );
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.
D3DERR_INVALIDCALLHeader: Declared in D3dx9mesh.h.