Microsoft DirectX 9.0 SDK Update (October 2004)

CubeMapFace Enumeration

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Enum CubeMapFace
C# public enum CubeMapFace
Managed C++ __value public enum CubeMapFace
JScript .NET 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center