Expand Minimize

Device.GetVolumeTexture(Int32) Method (Microsoft.DirectX.Direct3D)

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

Definition

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

Parameters

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

Return Value

Remarks

Exceptions
InvalidOperationExceptionLeave Site The texture returned was not of type VolumeTexture.
Show:
© 2014 Microsoft. All rights reserved.