Texture.GetSurfaceLevel Method
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
Note: This documentation is preliminary and is subject to change.
Retrieves the specified texture surface level.
Definition
Visual Basic .NET
Public Function GetSurfaceLevel ( _ ByVal level As Integer _ ) As Surface
C#
public Surface GetSurfaceLevel ( int level );
Managed C++
public: Surface * GetSurfaceLevel ( int level );
JScript .NET
public function GetSurfaceLevel ( level : int ) :
Surface ;
Parameters
level
System.Int32 . Level of the texture resource. This method returns a surface for the level specified by this parameter. The top-level surface is denoted by 0.
Return Value
Microsoft.DirectX.Direct3D.Surface
. A Surface object that represents the returned surface.
Remarks
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