CubeTexture.GetCubeMapSurface(CubeMapFace,Int32) Method (Microsoft.DirectX.Direct3D)
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.
Show: