Saves a precomputed radiance transfer (PRT) buffer to disk.
HRESULT D3DXSavePRTBufferToFile( LPCSTR pFileName, LPD3DXPRTBUFFER pBuffer );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
The compiler setting also determines the function version. If Unicode is defined, the function call resolves to D3DXSavePRTBufferToFileW. Otherwise, the function call resolves to D3DXSavePRTBufferToFileA.
Header: Declared in D3dx9mesh.h.