Add GPU_TEXFACE enumeration

This commit is contained in:
fincs 2017-02-11 23:04:03 +01:00
parent 97d6149e3e
commit 7be0b5b026

View File

@ -78,6 +78,18 @@ typedef enum
GPU_ETC1A4 = 0xD, ///< ETC1 texture compression + 4-bit Alpha GPU_ETC1A4 = 0xD, ///< ETC1 texture compression + 4-bit Alpha
} GPU_TEXCOLOR; } GPU_TEXCOLOR;
// Texture faces.
typedef enum
{
GPU_TEXFACE_2D = 0, // 2D face
GPU_POSITIVE_X = 0, // +X face
GPU_NEGATIVE_X = 1, // -X face
GPU_POSITIVE_Y = 2, // +Y face
GPU_NEGATIVE_Y = 3, // -Y face
GPU_POSITIVE_Z = 4, // +Z face
GPU_NEGATIVE_Z = 5, // -Z face
} GPU_TEXFACE;
/// Procedural texture clamp modes. /// Procedural texture clamp modes.
typedef enum typedef enum
{ {