CubeTexture.GetLevelDescription Method |
Language: |
Retrieves a description of one face of a specified cube texture level.
Visual Basic Public Function GetLevelDescription( _
ByVal level As Integer _
) As SurfaceDescriptionC# public SurfaceDescription GetLevelDescription(
int level
);C++ public:
SurfaceDescription GetLevelDescription(
int level
);JScript public function GetLevelDescription(
level : int
) : SurfaceDescription;
level System.Int32
Level of a mipmapped cube texture.
Microsoft.DirectX.Direct3D.SurfaceDescription
A SurfaceDescription structure that describes one face of the specified cube texture level.
The SurfaceDescription structure contains Height and Width members, which indicate the size of one face of the cube. To get the size of the entire cube, multiply the data by 6.
Exceptions
InvalidCallException The method call is invalid. For example, a method's 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