D3D11_TEXTURECUBE_FACE enumeration (d3d11.h)

The different faces of a cube texture.

Syntax

typedef enum D3D11_TEXTURECUBE_FACE {
  D3D11_TEXTURECUBE_FACE_POSITIVE_X = 0,
  D3D11_TEXTURECUBE_FACE_NEGATIVE_X = 1,
  D3D11_TEXTURECUBE_FACE_POSITIVE_Y = 2,
  D3D11_TEXTURECUBE_FACE_NEGATIVE_Y = 3,
  D3D11_TEXTURECUBE_FACE_POSITIVE_Z = 4,
  D3D11_TEXTURECUBE_FACE_NEGATIVE_Z = 5
} ;

Constants

 
D3D11_TEXTURECUBE_FACE_POSITIVE_X
Value: 0
Positive X face.
D3D11_TEXTURECUBE_FACE_NEGATIVE_X
Value: 1
Negative X face.
D3D11_TEXTURECUBE_FACE_POSITIVE_Y
Value: 2
Positive Y face.
D3D11_TEXTURECUBE_FACE_NEGATIVE_Y
Value: 3
Negative Y face.
D3D11_TEXTURECUBE_FACE_POSITIVE_Z
Value: 4
Positive Z face.
D3D11_TEXTURECUBE_FACE_NEGATIVE_Z
Value: 5
Negative Z face.

Requirements

Requirement Value
Header d3d11.h

See also

Core Enumerations