VolumeTexture.GetVolumeLevel Method

Language:

Retrieves the specified volume texture level.

Definition

Visual Basic Public Function GetVolumeLevel( _
    ByVal level As Integer _
) As Volume
C# public Volume GetVolumeLevel(
    int level
);
C++ public:
VolumeGetVolumeLevel(
    int level
);
JScript public function GetVolumeLevel(
    level : int
) : Volume;

Parameters

level System.Int32
Value that identifies a level of the volume texture resource.

Return Value

Microsoft.DirectX.Direct3D.Volume
A Volume object that represents the returned volume level.

Remarks

This method returns a volume for the level specified by the level parameter.

Exceptions
InvalidCallException The method call is invalid. For example, a parameter might contain an invalid value.


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