PrtCompressedBuffer.FromFile Method |
Language: |
Loads into memory a compressed precomputed radiance transfer (PRT) buffer that was saved to disk.
Visual Basic Public Shared Function FromFile( _
ByVal filename As String _
) As PrtCompressedBufferC# public static PrtCompressedBuffer FromFile(
string filename
);C++ public:
static PrtCompressedBuffer^ FromFile(
String^ filename
);JScript public static function FromFile(
filename : String
) : PrtCompressedBuffer;
filename System.String
Name of the file from which to load the compressed buffer data.
Microsoft.DirectX.Direct3D.PrtCompressedBuffer
Returns a PrtCompressedBuffer object that contains the compressed PRT buffer data.
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