Share via


Volume.Volume(IDirect3DVolume9,VolumeTexture) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the Volume class.

Definition

Visual Basic Public Sub New( _
    ByVal lp As IDirect3DVolume9, _
    ByVal device As VolumeTexture _
)
C# public Volume(
    IDirect3DVolume9 lp,
    VolumeTexture device
);
C++ public:
 Volume(
    IDirect3DVolume9 lp,
    VolumeTexturedevice
);
JScript public function Volume(
    lp : IDirect3DVolume9,
    device : VolumeTexture
);

Parameters

lp Microsoft.DirectX.PrivateImplementationDetails.IDirect3DVolume9
Unmanaged Component Object Model (COM) IDirect3DVolume9 interface pointer.
device Microsoft.DirectX.Direct3D.VolumeTexture
A VolumeTexture associated with the volume.