VolumeTexture.VolumeTexture(IntPtr) Constructor (Microsoft.DirectX.Direct3D)
Creates a new instance of the VolumeTexture class.
Definition
Visual Basic Public Sub New( _
ByVal unmanagedObject As IntPtr _
)C# public VolumeTexture(
IntPtr unmanagedObject
);C++ public:
VolumeTexture(
IntPtr unmanagedObject
);JScript public function VolumeTexture(
unmanagedObject : IntPtr
);
Parameters
unmanagedObject System.IntPtr
Pointer to an unmanaged Component Object Model (COM) IDirect3DVolumeTexture9 interface. This parameter is useful for working with unmanaged applications from managed code. Not supported.
Remarks
For the width, height, and depth parameters, the pixel dimensions of subsequent levels are the truncated value of half of the previous level's pixel dimension (independently). Each dimension clamps at a size of 1 pixel. Thus, if the division by 2 results in 0 (zero), 1 is taken instead. The maximum dimension that a driver supports (for width, height, and depth) can be found in Caps.MaxVolumeExtent.
Exceptions
The method call is invalid. For example, a parameter might contain an invalid value.
Microsoft Direct3D does not have enough display memory to perform the operation.
Direct3D could not allocate sufficient memory to complete the call.