Device.GetVolumeTexture Method

Language:

Retrieves the volume texture assigned to a stage for a device.

Definition

Visual Basic Public Function GetVolumeTexture( _
    ByVal stage As Integer _
) As VolumeTexture
C# public VolumeTexture GetVolumeTexture(
    int stage
);
C++ public:
VolumeTextureGetVolumeTexture(
    int stage
);
JScript public function GetVolumeTexture(
    stage : int
) : VolumeTexture;

Parameters

stage System.Int32
Stage identifier of the VolumeTexture to retrieve. Stage identifiers are zero-based.

Return Value

Microsoft.DirectX.Direct3D.VolumeTexture
A VolumeTexture object that represents the returned VolumeTexture.

Remarks

Exceptions
InvalidOperationException Leave Site The texture returned was not of type VolumeTexture.


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