Microsoft DirectX 8.1 (C++)

D3DCUBEMAP_FACES

Defines the faces of a cubemap.

typedef enum _D3DCUBEMAP_FACES {
    D3DCUBEMAP_FACE_POSITIVE_X     = 0,
    D3DCUBEMAP_FACE_NEGATIVE_X     = 1,
    D3DCUBEMAP_FACE_POSITIVE_Y     = 2,
    D3DCUBEMAP_FACE_NEGATIVE_Y     = 3,
    D3DCUBEMAP_FACE_POSITIVE_Z     = 4,
    D3DCUBEMAP_FACE_NEGATIVE_Z     = 5,

    D3DCUBEMAP_FACE_FORCE_DWORD    = 0xffffffff
} D3DCUBEMAP_FACES;

Constants

D3DCUBEMAP_FACE_POSITIVE_X
Positive x-face of the cubemap.
D3DCUBEMAP_FACE_NEGATIVE_X
Negative x-face of the cubemap.
D3DCUBEMAP_FACE_POSITIVE_Y
Positive y-face of the cubemap.
D3DCUBEMAP_FACE_NEGATIVE_Y
Negative y-face of the cubemap.
D3DCUBEMAP_FACE_POSITIVE_Z
Positive z-face of the cubemap.
D3DCUBEMAP_FACE_NEGATIVE_Z
Negative z-face of the cubemap.
D3DCUBEMAP_FACE_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.

Requirements

  Header: Declared in D3d8types.h.

See Also

IDirect3DCubeTexture8::AddDirtyRect, IDirect3DCubeTexture8::GetCubeMapSurface, IDirect3DCubeTexture8::LockRect, IDirect3DCubeTexture8::UnlockRect