Volume.Volume Constructor

Language:

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.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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