Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the specified texture surface level.
Definition
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;
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
The method call is invalid. For example, a parameter might contain an invalid value.