Share via


PrtBuffer.Save(PrtBuffer,String) Method (Microsoft.DirectX.Direct3D)

Saves a precomputed radiance transfer (PRT) buffer to disk.

Definition

Visual Basic Public Shared Sub Save( _
    ByVal buffer As PrtBuffer, _
    ByVal filename As String _
)
C# public static void Save(
    PrtBuffer buffer,
    string filename
);
C++ public:
static void Save(
    PrtBufferbuffer,
    StringLeave Sitefilename
);
JScript public static function Save(
    buffer : PrtBuffer,
    filename : String
);

Parameters

buffer Microsoft.DirectX.Direct3D.PrtBuffer
PrtBuffer object to be saved.
filename System.String
Name of the file to which the buffer is to be saved.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also