include/umbra_defs.h file

Common definitions across all Umbra APIs.

Classes

struct UmbraFloat2
A vector of two 32-bit floating point values.
struct UmbraFloat3
A vector of three 32-bit floating point values.
struct UmbraFloat3_3
A 3x3 matrix of 32-bit floating point values.
struct UmbraFloat3MinMax
An axis-aligned bounding box of the type UmbraFloat3.
struct UmbraFloat4
A vector of four 32-bit floating point values.
struct UmbraFloat4_4
A 4x4 matrix of 32-bit floating point values.
struct UmbraDouble2
A vector of two 64-bit floating point values.
struct UmbraDouble3
A vector of three 64-bit floating point values.
struct UmbraDouble3_3
A 3x3 matrix of 64-bit floating point values.
struct UmbraDouble3MinMax
An axis-aligned bounding box of the type UmbraDouble3.
struct UmbraDouble4
A vector of four 64-bit floating point values.
struct UmbraDouble4_4
A 4x4 matrix of 64-bit floating point values.
struct UmbraInt2
A vector of two 32-bit integers.
struct UmbraInt3
A vector of three 32-bit integers.
struct UmbraRGBA
A vector of four 8-bit color values.

Enums

enum UmbraMatrixFormat { UmbraMatrixFormat_ColumnMajor = 0, UmbraMatrixFormat_RowMajor = 1 }
An enumeration of matrix formats.
enum UmbraTextureType { UmbraTextureType_Diffuse = 0, UmbraTextureType_Normal, UmbraTextureType_Specular, UmbraTextureType_MetaIndex }
An enumeration of texture types.
enum UmbraTextureFormat { UmbraTextureFormat_RGBA32 = 0, UmbraTextureFormat_RGB24, UmbraTextureFormat_BC1, UmbraTextureFormat_BC3, UmbraTextureFormat_BC4, UmbraTextureFormat_BC5, UmbraTextureFormat_ETC1_RGB, UmbraTextureFormat_RGBA_FLOAT32, UmbraTextureFormat_UNC1 deprecated, UmbraTextureFormat_JPEG, UmbraTextureFormat_PNG, UmbraTextureFormat_BMP, UmbraTextureFormat_PSD, UmbraTextureFormat_TGA, UmbraTextureFormat_GIF, UmbraTextureFormat_HDR, UmbraTextureFormat_PIC, UmbraTextureFormat_PNM, UmbraTextureFormat_ASTC_4X4, UmbraTextureFormat_ASTC_5X4, UmbraTextureFormat_ASTC_5X5, UmbraTextureFormat_ASTC_6X5, UmbraTextureFormat_ASTC_6X6, UmbraTextureFormat_ASTC_8X5, UmbraTextureFormat_ASTC_8X6, UmbraTextureFormat_ASTC_10X5, UmbraTextureFormat_ASTC_10X6, UmbraTextureFormat_ASTC_8X8, UmbraTextureFormat_ASTC_10X8, UmbraTextureFormat_ASTC_10X10, UmbraTextureFormat_ASTC_12X10, UmbraTextureFormat_ASTC_12X12, UmbraTextureFormat_ARGB32, UmbraTextureFormat_R8, UmbraTextureFormat_PVRTC1_RGB4, UmbraTextureFormat_PVRTC1_RGBA4, UmbraTextureFormat_UINT8, UmbraTextureFormat_UINT16, UmbraTextureFormat_UINT32, UmbraTextureFormat_RGB565, UmbraTextureFormat_RG8, UmbraTextureFormat_RG16F, UmbraTextureFormat_OPENEXR, UmbraTextureFormat_RGBA_FLOAT16, UmbraTextureFormat_RGB_FLOAT16, UmbraTextureFormat_RGB_FLOAT32 }
An enumeration of texture formats.
enum UmbraColorSpace { UmbraColorSpace_Linear = 0, UmbraColorSpace_SRGB }
An enumeration of color spaces.

Typedefs

typedef int32_t UmbraBool
A boolean type.

Enum details

enum UmbraTextureType

An enumeration of texture types.

Enumerators
UmbraTextureType_Diffuse
UmbraTextureType_Normal
UmbraTextureType_Specular
UmbraTextureType_MetaIndex

enum UmbraTextureFormat

An enumeration of texture formats.

Enumerators
UmbraTextureFormat_RGBA32

A four-component, 32-bit unsigned normalized format.

UmbraTextureFormat_RGB24

A three-component, 24-bit unsigned normalized format.

UmbraTextureFormat_BC1
UmbraTextureFormat_BC3
UmbraTextureFormat_BC4
UmbraTextureFormat_BC5
UmbraTextureFormat_ETC1_RGB
UmbraTextureFormat_RGBA_FLOAT32
UmbraTextureFormat_UNC1
UmbraTextureFormat_JPEG
UmbraTextureFormat_PNG
UmbraTextureFormat_BMP
UmbraTextureFormat_PSD
UmbraTextureFormat_TGA
UmbraTextureFormat_GIF
UmbraTextureFormat_HDR
UmbraTextureFormat_PIC
UmbraTextureFormat_PNM
UmbraTextureFormat_ASTC_4X4
UmbraTextureFormat_ASTC_5X4
UmbraTextureFormat_ASTC_5X5
UmbraTextureFormat_ASTC_6X5
UmbraTextureFormat_ASTC_6X6
UmbraTextureFormat_ASTC_8X5
UmbraTextureFormat_ASTC_8X6
UmbraTextureFormat_ASTC_10X5
UmbraTextureFormat_ASTC_10X6
UmbraTextureFormat_ASTC_8X8
UmbraTextureFormat_ASTC_10X8
UmbraTextureFormat_ASTC_10X10
UmbraTextureFormat_ASTC_12X10
UmbraTextureFormat_ASTC_12X12
UmbraTextureFormat_ARGB32
UmbraTextureFormat_R8
UmbraTextureFormat_PVRTC1_RGB4
UmbraTextureFormat_PVRTC1_RGBA4
UmbraTextureFormat_UINT8
UmbraTextureFormat_UINT16
UmbraTextureFormat_UINT32
UmbraTextureFormat_RGB565
UmbraTextureFormat_RG8
UmbraTextureFormat_RG16F
UmbraTextureFormat_OPENEXR
UmbraTextureFormat_RGBA_FLOAT16
UmbraTextureFormat_RGB_FLOAT16
UmbraTextureFormat_RGB_FLOAT32