Microsoft DirectX 9.0 SDK Update (October 2004)

PrtCompressedBuffer.FromFile Method

Language:

Note: This documentation is preliminary and is subject to change.

Loads into memory a compressed precomputed radiance transfer (PRT) buffer that was saved to disk.

Definition

Visual Basic .NET Public Shared Function FromFile( _
    ByVal filename As String _
) As PrtCompressedBuffer
C# public static PrtCompressedBuffer FromFile(
    string filename
);
Managed C++ public: static PrtCompressedBuffer* FromFile(
    String *filename
);
JScript .NET public static function FromFile(
    filename : String
) : PrtCompressedBuffer;

Parameters

filename System.String. Name of the file from which to load the compressed buffer data.

Return Value

Microsoft.DirectX.Direct3D.PrtCompressedBuffer . Returns a PrtCompressedBuffer object that contains the compressed precomputed radiance transfer (PRT) buffer data.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center