Texture.GetSurfaceLevel Method |
Language: |
Retrieves the specified texture surface level.
Visual Basic Public Function GetSurfaceLevel( _
ByVal level As Integer _
) As SurfaceC# public Surface GetSurfaceLevel(
int level
);C++ public:
Surface^ GetSurfaceLevel(
int level
);JScript public function GetSurfaceLevel(
level : int
) : Surface;
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.
Microsoft.DirectX.Direct3D.Surface
A Surface object that represents the returned surface.
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