Bearbeiten

Freigeben über


D3DCUBEMAP_FACES enumeration

Defines the faces of a cubemap.

Syntax

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, *LPD3DCUBEMAP_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. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Enumerations

IDirect3DCubeTexture9::AddDirtyRect

IDirect3DCubeTexture9::GetCubeMapSurface

IDirect3DCubeTexture9::LockRect

IDirect3DCubeTexture9::UnlockRect