Microsoft DirectX 9.0 SDK Update (October 2004)

Device.GetVolumeTexture Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Function GetVolumeTexture( _
    ByVal stage As Integer _
) As VolumeTexture
C# public VolumeTexture GetVolumeTexture(
    int stage
);
Managed C++ public: VolumeTexture* GetVolumeTexture(
    int stage
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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