PrtCompressedBuffer.PrtCompressedBuffer Constructor ()

Initializes a new instance of the PrtCompressedBuffer class.

Overload List

public PrtCompressedBuffer(CompressionQuality, int, int, PercentageCompleteCallback, PrtBuffer);
public PrtCompressedBuffer(ID3DXPRTCompBuffer);
public PrtCompressedBuffer(IntPtr);
public PrtCompressedBuffer(string);

Remarks

The PrtCompressedBuffer constructor creates a compressed PRT buffer from an uncompressed PrtBuffer object.

Exceptions

InvalidCallException

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

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.