Microsoft DirectX 9.0 SDK Update (October 2004)

VolumeTexture.GetVolumeLevel Method

Language:

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

Retrieves the specified volume texture level.

Definition

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


© 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