CubeMapFace Enumeration (Microsoft.DirectX.Direct3D)

Defines the faces of a cube map in the CubeTexture class type.

Definition

Visual Basic Public Enum CubeMapFace
C# public enum CubeMapFace
C++ public enum class CubeMapFace
JScript public enum CubeMapFace

Members

Member Value Description
NegativeZ 5 Negative z-face of the cube map.
PositiveZ 4 Positive z-face of the cube map.
NegativeY 3 Negative y-face of the cube map.
PositiveY 2 Positive y-face of the cube map.
NegativeX 1 Negative x-face of the cube map.
PositiveX 0 Positive x-face of the cube map.

Remarks

This enumeration is used by the AddDirtyRectangle, GetCubeMapSurface, LockRectangle, and UnlockRectangle methods.

The values in this enumerated type also define faces of a cube map in the RenderToEnvironmentMap.Face method.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also