CubeTexture.GetCubeMapSurface Method |
Language: |
Retrieves a cube texture map surface.
Visual Basic Public Function GetCubeMapSurface( _
ByVal faceType As CubeMapFace, _
ByVal level As Integer _
) As SurfaceC# public Surface GetCubeMapSurface(
CubeMapFace faceType,
int level
);C++ public:
Surface^ GetCubeMapSurface(
CubeMapFace faceType,
int level
);JScript public function GetCubeMapSurface(
faceType : CubeMapFace,
level : int
) : Surface;
faceType Microsoft.DirectX.Direct3D.CubeMapFace
Member of the CubeMapFace enumerated type that identifies a cube map face.level System.Int32
Level of a mipmapped cube texture.
Microsoft.DirectX.Direct3D.Surface
A Surface object that represents the returned cube texture map surface.
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