GLI  0.5.0
Namespaces | Classes | Enumerations | Functions
gli Namespace Reference

Namespaces

 detail
 

Classes

class  cow_ptr
 
class  image
 
class  shared_array
 
class  shared_ptr
 
class  storage
 
class  texture1D
 
class  texture1DArray
 
class  texture2D
 
class  texture2DArray
 
class  texture3D
 
class  textureCube
 
class  textureCubeArray
 

Enumerations

enum  dxgiFormat {
  DXGI_FORMAT_UNKNOWN = 0, DXGI_FORMAT_R32G32B32A32_TYPELESS = 1, DXGI_FORMAT_R32G32B32A32_FLOAT = 2, DXGI_FORMAT_R32G32B32A32_UINT = 3,
  DXGI_FORMAT_R32G32B32A32_SINT = 4, DXGI_FORMAT_R32G32B32_TYPELESS = 5, DXGI_FORMAT_R32G32B32_FLOAT = 6, DXGI_FORMAT_R32G32B32_UINT = 7,
  DXGI_FORMAT_R32G32B32_SINT = 8, DXGI_FORMAT_R16G16B16A16_TYPELESS = 9, DXGI_FORMAT_R16G16B16A16_FLOAT = 10, DXGI_FORMAT_R16G16B16A16_UNORM = 11,
  DXGI_FORMAT_R16G16B16A16_UINT = 12, DXGI_FORMAT_R16G16B16A16_SNORM = 13, DXGI_FORMAT_R16G16B16A16_SINT = 14, DXGI_FORMAT_R32G32_TYPELESS = 15,
  DXGI_FORMAT_R32G32_FLOAT = 16, DXGI_FORMAT_R32G32_UINT = 17, DXGI_FORMAT_R32G32_SINT = 18, DXGI_FORMAT_R32G8X24_TYPELESS = 19,
  DXGI_FORMAT_D32_FLOAT_S8X24_UINT = 20, DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS = 21, DXGI_FORMAT_X32_TYPELESS_G8X24_UINT = 22, DXGI_FORMAT_R10G10B10A2_TYPELESS = 23,
  DXGI_FORMAT_R10G10B10A2_UNORM = 24, DXGI_FORMAT_R10G10B10A2_UINT = 25, DXGI_FORMAT_R11G11B10_FLOAT = 26, DXGI_FORMAT_R8G8B8A8_TYPELESS = 27,
  DXGI_FORMAT_R8G8B8A8_UNORM = 28, DXGI_FORMAT_R8G8B8A8_UNORM_SRGB = 29, DXGI_FORMAT_R8G8B8A8_UINT = 30, DXGI_FORMAT_R8G8B8A8_SNORM = 31,
  DXGI_FORMAT_R8G8B8A8_SINT = 32, DXGI_FORMAT_R16G16_TYPELESS = 33, DXGI_FORMAT_R16G16_FLOAT = 34, DXGI_FORMAT_R16G16_UNORM = 35,
  DXGI_FORMAT_R16G16_UINT = 36, DXGI_FORMAT_R16G16_SNORM = 37, DXGI_FORMAT_R16G16_SINT = 38, DXGI_FORMAT_R32_TYPELESS = 39,
  DXGI_FORMAT_D32_FLOAT = 40, DXGI_FORMAT_R32_FLOAT = 41, DXGI_FORMAT_R32_UINT = 42, DXGI_FORMAT_R32_SINT = 43,
  DXGI_FORMAT_R24G8_TYPELESS = 44, DXGI_FORMAT_D24_UNORM_S8_UINT = 45, DXGI_FORMAT_R24_UNORM_X8_TYPELESS = 46, DXGI_FORMAT_X24_TYPELESS_G8_UINT = 47,
  DXGI_FORMAT_R8G8_TYPELESS = 48, DXGI_FORMAT_R8G8_UNORM = 49, DXGI_FORMAT_R8G8_UINT = 50, DXGI_FORMAT_R8G8_SNORM = 51,
  DXGI_FORMAT_R8G8_SINT = 52, DXGI_FORMAT_R16_TYPELESS = 53, DXGI_FORMAT_R16_FLOAT = 54, DXGI_FORMAT_D16_UNORM = 55,
  DXGI_FORMAT_R16_UNORM = 56, DXGI_FORMAT_R16_UINT = 57, DXGI_FORMAT_R16_SNORM = 58, DXGI_FORMAT_R16_SINT = 59,
  DXGI_FORMAT_R8_TYPELESS = 60, DXGI_FORMAT_R8_UNORM = 61, DXGI_FORMAT_R8_UINT = 62, DXGI_FORMAT_R8_SNORM = 63,
  DXGI_FORMAT_R8_SINT = 64, DXGI_FORMAT_A8_UNORM = 65, DXGI_FORMAT_R1_UNORM = 66, DXGI_FORMAT_R9G9B9E5_SHAREDEXP = 67,
  DXGI_FORMAT_R8G8_B8G8_UNORM = 68, DXGI_FORMAT_G8R8_G8B8_UNORM = 69, DXGI_FORMAT_BC1_TYPELESS = 70, DXGI_FORMAT_BC1_UNORM = 71,
  DXGI_FORMAT_BC1_UNORM_SRGB = 72, DXGI_FORMAT_BC2_TYPELESS = 73, DXGI_FORMAT_BC2_UNORM = 74, DXGI_FORMAT_BC2_UNORM_SRGB = 75,
  DXGI_FORMAT_BC3_TYPELESS = 76, DXGI_FORMAT_BC3_UNORM = 77, DXGI_FORMAT_BC3_UNORM_SRGB = 78, DXGI_FORMAT_BC4_TYPELESS = 79,
  DXGI_FORMAT_BC4_UNORM = 80, DXGI_FORMAT_BC4_SNORM = 81, DXGI_FORMAT_BC5_TYPELESS = 82, DXGI_FORMAT_BC5_UNORM = 83,
  DXGI_FORMAT_BC5_SNORM = 84, DXGI_FORMAT_B5G6R5_UNORM = 85, DXGI_FORMAT_B5G5R5A1_UNORM = 86, DXGI_FORMAT_B8G8R8A8_UNORM = 87,
  DXGI_FORMAT_B8G8R8X8_UNORM = 88, DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM = 89, DXGI_FORMAT_B8G8R8A8_TYPELESS = 90, DXGI_FORMAT_B8G8R8A8_UNORM_SRGB = 91,
  DXGI_FORMAT_B8G8R8X8_TYPELESS = 92, DXGI_FORMAT_B8G8R8X8_UNORM_SRGB = 93, DXGI_FORMAT_BC6H_TYPELESS = 94, DXGI_FORMAT_BC6H_UF16 = 95,
  DXGI_FORMAT_BC6H_SF16 = 96, DXGI_FORMAT_BC7_TYPELESS = 97, DXGI_FORMAT_BC7_UNORM = 98, DXGI_FORMAT_BC7_UNORM_SRGB = 99,
  DXGI_FORMAT_FORCE_UINT = 0xffffffffUL
}
 
enum  externalFormat {
  EXTERNAL_NONE = 0, EXTERNAL_RED = 0x1903, EXTERNAL_RG = 0x8227, EXTERNAL_RGB = 0x1907,
  EXTERNAL_BGR = 0x80E0, EXTERNAL_RGBA = 0x1908, EXTERNAL_BGRA = 0x80E1, EXTERNAL_RED_INTEGER = 0x8D94,
  EXTERNAL_RG_INTEGER = 0x8228, EXTERNAL_RGB_INTEGER = 0x8D98, EXTERNAL_BGR_INTEGER = 0x8D9A, EXTERNAL_RGBA_INTEGER = 0x8D99,
  EXTERNAL_BGRA_INTEGER = 0x8D9B, EXTERNAL_DEPTH = 0x1902, EXTERNAL_DEPTH_STENCIL = 0x84F9, EXTERNAL_RGB_DXT1 = 0x83F0,
  EXTERNAL_RGBA_DXT1 = 0x83F1, EXTERNAL_RGBA_DXT3 = 0x83F2, EXTERNAL_RGBA_DXT5 = 0x83F3, EXTERNAL_R_ATI1N_UNORM = 0x8DBB,
  EXTERNAL_R_ATI1N_SNORM = 0x8DBC, EXTERNAL_RG_ATI2N_UNORM = 0x8DBD, EXTERNAL_RG_ATI2N_SNORM = 0x8DBE, EXTERNAL_RGB_BP_UNSIGNED_FLOAT = 0x8E8F,
  EXTERNAL_RGB_BP_SIGNED_FLOAT = 0x8E8E, EXTERNAL_RGB_BP_UNORM = 0x8E8C, EXTERNAL_RGB_PVRTC_4BPPV1 = 0x8C00, EXTERNAL_RGB_PVRTC_2BPPV1 = 0x8C01,
  EXTERNAL_RGBA_PVRTC_4BPPV1 = 0x8C02, EXTERNAL_RGBA_PVRTC_2BPPV1 = 0x8C03, EXTERNAL_ATC_RGB = 0x8C92, EXTERNAL_ATC_RGBA_EXPLICIT_ALPHA = 0x8C93,
  EXTERNAL_ATC_RGBA_INTERPOLATED_ALPHA = 0x87EE, EXTERNAL_RGBA_ASTC_4x4 = 0x93B0, EXTERNAL_RGBA_ASTC_5x4 = 0x93B1, EXTERNAL_RGBA_ASTC_5x5 = 0x93B2,
  EXTERNAL_RGBA_ASTC_6x5 = 0x93B3, EXTERNAL_RGBA_ASTC_6x6 = 0x93B4, EXTERNAL_RGBA_ASTC_8x5 = 0x93B5, EXTERNAL_RGBA_ASTC_8x6 = 0x93B6,
  EXTERNAL_RGBA_ASTC_8x8 = 0x93B7, EXTERNAL_RGBA_ASTC_10x5 = 0x93B8, EXTERNAL_RGBA_ASTC_10x6 = 0x93B9, EXTERNAL_RGBA_ASTC_10x8 = 0x93BA,
  EXTERNAL_RGBA_ASTC_10x10 = 0x93BB, EXTERNAL_RGBA_ASTC_12x10 = 0x93BC, EXTERNAL_RGBA_ASTC_12x12 = 0x93BD
}
 
enum  format {
  FORMAT_NULL, R8_UNORM, RG8_UNORM, RGB8_UNORM,
  RGBA8_UNORM, R16_UNORM, RG16_UNORM, RGB16_UNORM,
  RGBA16_UNORM, R8_SNORM, RG8_SNORM, RGB8_SNORM,
  RGBA8_SNORM, R16_SNORM, RG16_SNORM, RGB16_SNORM,
  RGBA16_SNORM, R8U, RG8U, RGB8U,
  RGBA8U, R16U, RG16U, RGB16U,
  RGBA16U, R32U, RG32U, RGB32U,
  RGBA32U, R8I, RG8I, RGB8I,
  RGBA8I, R16I, RG16I, RGB16I,
  RGBA16I, R32I, RG32I, RGB32I,
  RGBA32I, R16F, RG16F, RGB16F,
  RGBA16F, R32F, RG32F, RGB32F,
  RGBA32F, RGB9E5, RG11B10F, R3G3B2,
  R5G6B5, RGB5A1, RGBA4, RGB10A2,
  D16, D24X8, D24S8, D32F,
  D32FS8X24, RGB_DXT1, RGBA_DXT1, RGBA_DXT3,
  RGBA_DXT5, R_ATI1N_UNORM, R_ATI1N_SNORM, RG_ATI2N_UNORM,
  RG_ATI2N_SNORM, RGB_BP_UNSIGNED_FLOAT, RGB_BP_SIGNED_FLOAT, RGB_BP_UNORM,
  RGB_PVRTC_4BPPV1, RGB_PVRTC_2BPPV1, RGBA_PVRTC_4BPPV1, RGBA_PVRTC_2BPPV1,
  ATC_RGB, ATC_RGBA_EXPLICIT_ALPHA, ATC_RGBA_INTERPOLATED_ALPHA, RGBA_ASTC_4x4,
  RGBA_ASTC_5x4, RGBA_ASTC_5x5, RGBA_ASTC_6x5, RGBA_ASTC_6x6,
  RGBA_ASTC_8x5, RGBA_ASTC_8x6, RGBA_ASTC_8x8, RGBA_ASTC_10x5,
  RGBA_ASTC_10x6, RGBA_ASTC_10x8, RGBA_ASTC_10x10, RGBA_ASTC_12x10,
  RGBA_ASTC_12x12, SRGB8, SRGB8_ALPHA8, SRGB_DXT1,
  SRGB_ALPHA_DXT1, SRGB_ALPHA_DXT3, SRGB_ALPHA_DXT5, SRGB_BP_UNORM,
  SRGB_PVRTC_2BPPV1, SRGB_PVRTC_4BPPV1, SRGB_ALPHA_PVRTC_2BPPV1, SRGB_ALPHA_PVRTC_4BPPV1,
  SRGB8_ALPHA8_ASTC_4x4, SRGB8_ALPHA8_ASTC_5x4, SRGB8_ALPHA8_ASTC_5x5, SRGB8_ALPHA8_ASTC_6x5,
  SRGB8_ALPHA8_ASTC_6x6, SRGB8_ALPHA8_ASTC_8x5, SRGB8_ALPHA8_ASTC_8x6, SRGB8_ALPHA8_ASTC_8x8,
  SRGB8_ALPHA8_ASTC_10x5, SRGB8_ALPHA8_ASTC_10x6, SRGB8_ALPHA8_ASTC_10x8, SRGB8_ALPHA8_ASTC_10x10,
  SRGB8_ALPHA8_ASTC_12x10, SRGB8_ALPHA8_ASTC_12x12, FORMAT_MAX
}
 
enum  internalFormat {
  INTERNAL_NONE = 0, INTERNAL_R8_UNORM = 0x8229, INTERNAL_RG8_UNORM = 0x822B, INTERNAL_RGB8_UNORM = 0x8051,
  INTERNAL_RGBA8_UNORM = 0x8058, INTERNAL_R16_UNORM = 0x822A, INTERNAL_RG16_UNORM = 0x822C, INTERNAL_RGB16_UNORM = 0x8054,
  INTERNAL_RGBA16_UNORM = 0x805B, INTERNAL_R8_SNORM = 0x8F94, INTERNAL_RG8_SNORM = 0x8F95, INTERNAL_RGB8_SNORM = 0x8F96,
  INTERNAL_RGBA8_SNORM = 0x8F97, INTERNAL_R16_SNORM = 0x8F98, INTERNAL_RG16_SNORM = 0x8F99, INTERNAL_RGB16_SNORM = 0x8F9A,
  INTERNAL_RGBA16_SNORM = 0x8F9B, INTERNAL_R8U = 0x8232, INTERNAL_RG8U = 0x8238, INTERNAL_RGB8U = 0x8D7D,
  INTERNAL_RGBA8U = 0x8D7C, INTERNAL_R16U = 0x8234, INTERNAL_RG16U = 0x823A, INTERNAL_RGB16U = 0x8D77,
  INTERNAL_RGBA16U = 0x8D76, INTERNAL_R32U = 0x8236, INTERNAL_RG32U = 0x823C, INTERNAL_RGB32U = 0x8D71,
  INTERNAL_RGBA32U = 0x8D70, INTERNAL_R8I = 0x8231, INTERNAL_RG8I = 0x8237, INTERNAL_RGB8I = 0x8D8F,
  INTERNAL_RGBA8I = 0x8D8E, INTERNAL_R16I = 0x8233, INTERNAL_RG16I = 0x8239, INTERNAL_RGB16I = 0x8D89,
  INTERNAL_RGBA16I = 0x8D88, INTERNAL_R32I = 0x8235, INTERNAL_RG32I = 0x823B, INTERNAL_RGB32I = 0x8D83,
  INTERNAL_RGBA32I = 0x8D82, INTERNAL_R16F = 0x822D, INTERNAL_RG16F = 0x822F, INTERNAL_RGB16F = 0x881B,
  INTERNAL_RGBA16F = 0x881A, INTERNAL_R32F = 0x822E, INTERNAL_RG32F = 0x8230, INTERNAL_RGB32F = 0x8815,
  INTERNAL_RGBA32F = 0x8814, INTERNAL_RGB9E5 = 0x8C3D, INTERNAL_RG11B10F = 0x8C3A, INTERNAL_RG3B2 = 0x2A10,
  INTERNAL_R5G6B5 = 0x8D62, INTERNAL_RGB5A1 = 0x8057, INTERNAL_RGBA4 = 0x8056, INTERNAL_RGB10A2 = 0x8059,
  INTERNAL_D16 = 0x81A5, INTERNAL_D24 = 0x81A6, INTERNAL_D24S8 = 0x88F0, INTERNAL_D32 = 0x81A7,
  INTERNAL_D32F = 0x8CAC, INTERNAL_D32FS8X24 = 0x8CAD, INTERNAL_RGB_DXT1 = 0x83F0, INTERNAL_RGBA_DXT1 = 0x83F1,
  INTERNAL_RGBA_DXT3 = 0x83F2, INTERNAL_RGBA_DXT5 = 0x83F3, INTERNAL_R_ATI1N_UNORM = 0x8DBB, INTERNAL_R_ATI1N_SNORM = 0x8DBC,
  INTERNAL_RG_ATI2N_UNORM = 0x8DBD, INTERNAL_RG_ATI2N_SNORM = 0x8DBE, INTERNAL_RGB_BP_UNSIGNED_FLOAT = 0x8E8F, INTERNAL_RGB_BP_SIGNED_FLOAT = 0x8E8E,
  INTERNAL_RGB_BP_UNORM = 0x8E8C, INTERNAL_RGB_PVRTC_4BPPV1 = 0x8C00, INTERNAL_RGB_PVRTC_2BPPV1 = 0x8C01, INTERNAL_RGBA_PVRTC_4BPPV1 = 0x8C02,
  INTERNAL_RGBA_PVRTC_2BPPV1 = 0x8C03, INTERNAL_ATC_RGB = 0x8C92, INTERNAL_ATC_RGBA_EXPLICIT_ALPHA = 0x8C93, INTERNAL_ATC_RGBA_INTERPOLATED_ALPHA = 0x87EE,
  INTERNAL_RGBA_ASTC_4x4 = 0x93B0, INTERNAL_RGBA_ASTC_5x4 = 0x93B1, INTERNAL_RGBA_ASTC_5x5 = 0x93B2, INTERNAL_RGBA_ASTC_6x5 = 0x93B3,
  INTERNAL_RGBA_ASTC_6x6 = 0x93B4, INTERNAL_RGBA_ASTC_8x5 = 0x93B5, INTERNAL_RGBA_ASTC_8x6 = 0x93B6, INTERNAL_RGBA_ASTC_8x8 = 0x93B7,
  INTERNAL_RGBA_ASTC_10x5 = 0x93B8, INTERNAL_RGBA_ASTC_10x6 = 0x93B9, INTERNAL_RGBA_ASTC_10x8 = 0x93BA, INTERNAL_RGBA_ASTC_10x10 = 0x93BB,
  INTERNAL_RGBA_ASTC_12x10 = 0x93BC, INTERNAL_RGBA_ASTC_12x12 = 0x93BD, INTERNAL_SRGB8 = 0x8C41, INTERNAL_SRGB8_ALPHA8 = 0x8C43,
  INTERNAL_SRGB_DXT1 = 0x8C4C, INTERNAL_SRGB_ALPHA_DXT1 = 0x8C4C, INTERNAL_SRGB_ALPHA_DXT3 = 0x8C4E, INTERNAL_SRGB_ALPHA_DXT5 = 0x8C4F,
  INTERNAL_SRGB_BP_UNORM = 0x8E8D, INTERNAL_SRGB_PVRTC_2BPPV1 = 0x8A54, INTERNAL_SRGB_PVRTC_4BPPV1 = 0x8A55, INTERNAL_SRGB_ALPHA_PVRTC_2BPPV1 = 0x8A56,
  INTERNAL_SRGB_ALPHA_PVRTC_4BPPV1 = 0x8A57, INTERNAL_SRGB8_ALPHA8_ASTC_4x4 = 0x93D0, INTERNAL_SRGB8_ALPHA8_ASTC_5x4 = 0x93D1, INTERNAL_SRGB8_ALPHA8_ASTC_5x5 = 0x93D2,
  INTERNAL_SRGB8_ALPHA8_ASTC_6x5 = 0x93D3, INTERNAL_SRGB8_ALPHA8_ASTC_6x6 = 0x93D4, INTERNAL_SRGB8_ALPHA8_ASTC_8x5 = 0x93D5, INTERNAL_SRGB8_ALPHA8_ASTC_8x6 = 0x93D6,
  INTERNAL_SRGB8_ALPHA8_ASTC_8x8 = 0x93D7, INTERNAL_SRGB8_ALPHA8_ASTC_10x5 = 0x93D8, INTERNAL_SRGB8_ALPHA8_ASTC_10x6 = 0x93D9, INTERNAL_SRGB8_ALPHA8_ASTC_10x8 = 0x93DA,
  INTERNAL_SRGB8_ALPHA8_ASTC_10x10 = 0x93DB, INTERNAL_SRGB8_ALPHA8_ASTC_12x10 = 0x93DC, INTERNAL_SRGB8_ALPHA8_ASTC_12x12 = 0x93DD, INTERNAL_MAX
}
 
enum  typeFormat {
  TYPE_NONE = 0, TYPE_I8 = 0x1400, TYPE_U8 = 0x1401, TYPE_I16 = 0x1402,
  TYPE_U16 = 0x1403, TYPE_I32 = 0x1404, TYPE_U32 = 0x1405, TYPE_F16 = 0x140B,
  TYPE_F32 = 0x1406, TYPE_UINT32_RGB9_E5 = 0x8C3E, TYPE_UINT32_RG11B10F = 0x8C3B, TYPE_UINT8_RG3B2 = 0x8032,
  TYPE_UINT8_RG3B2_REV = 0x8362, TYPE_UINT16_RGB5A1 = 0x8034, TYPE_UINT16_RGB5A1_REV = 0x8366, TYPE_UINT16_R5G6B5 = 0x8363,
  TYPE_UINT16_R5G6B5_REV = 0x8364, TYPE_UINT16_RGBA4 = 0x8033, TYPE_UINT16_RGBA4_REV = 0x8365, TYPE_UINT32_RGB10A2 = 0x8036,
  TYPE_UINT32_RGB10A2_REV = 0x8368
}
 

Functions

glm::uvec3 block_dimensions (format const &Format)
 
std::size_t block_size (format const &Format)
 
template<typename genType , typename texture >
void clear (texture const &Texture, genType const &Texel)
 
std::size_t component_count (format const &Format)
 
image copy (image const &Image)
 
template<typename texture >
texture copy (texture const &Texture)
 
texture1D copy (texture1D const &Texture, texture1D::size_type const &BaseLevel, texture1D::size_type const &MaxLevel)
 
texture2D copy (texture2D const &Texture, texture2D::size_type const &BaseLevel, texture2D::size_type const &MaxLevel)
 
texture3D copy (texture3D const &Texture, texture3D::size_type const &BaseLevel, texture3D::size_type const &MaxLevel)
 
template<typename texture >
texture copy (texture const &Texture, typename texture::size_type const &BaseLayer, typename texture::size_type const &MaxLayer, typename texture::size_type const &BaseLevel, typename texture::size_type const &MaxLevel)
 
textureCube copy (textureCube const &Texture, textureCube::size_type const &BaseFace, textureCube::size_type const &MaxFace, textureCube::size_type const &BaseLevel, textureCube::size_type const &MaxLevel)
 
textureCubeArray copy (textureCubeArray const &Texture, textureCubeArray::size_type const &BaseLayer, textureCubeArray::size_type const &MaxLayer, textureCubeArray::size_type const &BaseFace, textureCubeArray::size_type const &MaxFace, textureCubeArray::size_type const &BaseLevel, textureCubeArray::size_type const &MaxLevel)
 
dxgiFormat dxgi_format (format const &Format)
 
externalFormat external_format (format const &Format)
 
template<typename texture >
texture generateMipmaps (texture const &Texture, texture::size_type const &BaseLevel)
 
internalFormat internal_format (format const &Format)
 
bool is_compressed (format const &Format)
 
storage load_dds (char const *Filename)
 
bool operator!= (image const &ImageA, image const &ImageB)
 
template<typename texture >
bool operator!= (texture const &TextureA, texture const &TextureB)
 
texture2D operator+ (texture2D const &TextureA, texture2D const &TextureB)
 
texture2D operator- (texture2D const &TextureA, texture2D const &TextureB)
 
bool operator== (image const &ImageA, image const &ImageB)
 
template<typename texture >
bool operator== (texture const &TextureA, texture const &TextureB)
 
void save_dds (storage const &Storage, char const *Filename)
 
template<typename genType >
genType texelFetch (texture2D const &Texture, texture2D::dimensions_type const &Texcoord, texture2D::size_type const &Level)
 
template<typename genType >
void texelWrite (texture2D &Texture, texture2D::dimensions_type const &Texcoord, texture2D::size_type const &Level, genType const &Color)
 
template<typename genType >
genType textureLod (texture2D const &Texture, texture2D::texcoord_type const &Texcoord, texture2D::size_type const &Level)
 
typeFormat type_format (format const &Format)
 
image view (image const &Image)
 
template<typename texture >
texture view (texture const &Texture)
 
texture1D view (texture1D const &Texture, texture1D::size_type const &BaseLevel, texture1D::size_type const &MaxLevel)
 
texture2D view (texture2D const &Texture, texture2D::size_type const &BaseLevel, texture2D::size_type const &MaxLevel)
 
texture3D view (texture3D const &Texture, texture3D::size_type const &BaseLevel, texture3D::size_type const &MaxLevel)
 
template<typename texture >
texture view (texture const &Texture, typename texture::size_type const &BaseLayer, typename texture::size_type const &MaxLayer, typename texture::size_type const &BaseLevel, typename texture::size_type const &MaxLevel)
 
textureCube view (textureCube const &Texture, textureCube::size_type const &BaseFace, textureCube::size_type const &MaxFace, textureCube::size_type const &BaseLevel, textureCube::size_type const &MaxLevel)
 
textureCubeArray view (textureCubeArray const &Texture, textureCubeArray::size_type const &BaseLayer, textureCubeArray::size_type const &MaxLayer, textureCubeArray::size_type const &BaseFace, textureCubeArray::size_type const &MaxFace, textureCubeArray::size_type const &BaseLevel, textureCubeArray::size_type const &MaxLevel)
 

Enumeration Type Documentation

enum dxgiFormat
Enumerator
DXGI_FORMAT_UNKNOWN 
DXGI_FORMAT_R32G32B32A32_TYPELESS 
DXGI_FORMAT_R32G32B32A32_FLOAT 
DXGI_FORMAT_R32G32B32A32_UINT 
DXGI_FORMAT_R32G32B32A32_SINT 
DXGI_FORMAT_R32G32B32_TYPELESS 
DXGI_FORMAT_R32G32B32_FLOAT 
DXGI_FORMAT_R32G32B32_UINT 
DXGI_FORMAT_R32G32B32_SINT 
DXGI_FORMAT_R16G16B16A16_TYPELESS 
DXGI_FORMAT_R16G16B16A16_FLOAT 
DXGI_FORMAT_R16G16B16A16_UNORM 
DXGI_FORMAT_R16G16B16A16_UINT 
DXGI_FORMAT_R16G16B16A16_SNORM 
DXGI_FORMAT_R16G16B16A16_SINT 
DXGI_FORMAT_R32G32_TYPELESS 
DXGI_FORMAT_R32G32_FLOAT 
DXGI_FORMAT_R32G32_UINT 
DXGI_FORMAT_R32G32_SINT 
DXGI_FORMAT_R32G8X24_TYPELESS 
DXGI_FORMAT_D32_FLOAT_S8X24_UINT 
DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS 
DXGI_FORMAT_X32_TYPELESS_G8X24_UINT 
DXGI_FORMAT_R10G10B10A2_TYPELESS 
DXGI_FORMAT_R10G10B10A2_UNORM 
DXGI_FORMAT_R10G10B10A2_UINT 
DXGI_FORMAT_R11G11B10_FLOAT 
DXGI_FORMAT_R8G8B8A8_TYPELESS 
DXGI_FORMAT_R8G8B8A8_UNORM 
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB 
DXGI_FORMAT_R8G8B8A8_UINT 
DXGI_FORMAT_R8G8B8A8_SNORM 
DXGI_FORMAT_R8G8B8A8_SINT 
DXGI_FORMAT_R16G16_TYPELESS 
DXGI_FORMAT_R16G16_FLOAT 
DXGI_FORMAT_R16G16_UNORM 
DXGI_FORMAT_R16G16_UINT 
DXGI_FORMAT_R16G16_SNORM 
DXGI_FORMAT_R16G16_SINT 
DXGI_FORMAT_R32_TYPELESS 
DXGI_FORMAT_D32_FLOAT 
DXGI_FORMAT_R32_FLOAT 
DXGI_FORMAT_R32_UINT 
DXGI_FORMAT_R32_SINT 
DXGI_FORMAT_R24G8_TYPELESS 
DXGI_FORMAT_D24_UNORM_S8_UINT 
DXGI_FORMAT_R24_UNORM_X8_TYPELESS 
DXGI_FORMAT_X24_TYPELESS_G8_UINT 
DXGI_FORMAT_R8G8_TYPELESS 
DXGI_FORMAT_R8G8_UNORM 
DXGI_FORMAT_R8G8_UINT 
DXGI_FORMAT_R8G8_SNORM 
DXGI_FORMAT_R8G8_SINT 
DXGI_FORMAT_R16_TYPELESS 
DXGI_FORMAT_R16_FLOAT 
DXGI_FORMAT_D16_UNORM 
DXGI_FORMAT_R16_UNORM 
DXGI_FORMAT_R16_UINT 
DXGI_FORMAT_R16_SNORM 
DXGI_FORMAT_R16_SINT 
DXGI_FORMAT_R8_TYPELESS 
DXGI_FORMAT_R8_UNORM 
DXGI_FORMAT_R8_UINT 
DXGI_FORMAT_R8_SNORM 
DXGI_FORMAT_R8_SINT 
DXGI_FORMAT_A8_UNORM 
DXGI_FORMAT_R1_UNORM 
DXGI_FORMAT_R9G9B9E5_SHAREDEXP 
DXGI_FORMAT_R8G8_B8G8_UNORM 
DXGI_FORMAT_G8R8_G8B8_UNORM 
DXGI_FORMAT_BC1_TYPELESS 
DXGI_FORMAT_BC1_UNORM 
DXGI_FORMAT_BC1_UNORM_SRGB 
DXGI_FORMAT_BC2_TYPELESS 
DXGI_FORMAT_BC2_UNORM 
DXGI_FORMAT_BC2_UNORM_SRGB 
DXGI_FORMAT_BC3_TYPELESS 
DXGI_FORMAT_BC3_UNORM 
DXGI_FORMAT_BC3_UNORM_SRGB 
DXGI_FORMAT_BC4_TYPELESS 
DXGI_FORMAT_BC4_UNORM 
DXGI_FORMAT_BC4_SNORM 
DXGI_FORMAT_BC5_TYPELESS 
DXGI_FORMAT_BC5_UNORM 
DXGI_FORMAT_BC5_SNORM 
DXGI_FORMAT_B5G6R5_UNORM 
DXGI_FORMAT_B5G5R5A1_UNORM 
DXGI_FORMAT_B8G8R8A8_UNORM 
DXGI_FORMAT_B8G8R8X8_UNORM 
DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM 
DXGI_FORMAT_B8G8R8A8_TYPELESS 
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB 
DXGI_FORMAT_B8G8R8X8_TYPELESS 
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB 
DXGI_FORMAT_BC6H_TYPELESS 
DXGI_FORMAT_BC6H_UF16 
DXGI_FORMAT_BC6H_SF16 
DXGI_FORMAT_BC7_TYPELESS 
DXGI_FORMAT_BC7_UNORM 
DXGI_FORMAT_BC7_UNORM_SRGB 
DXGI_FORMAT_FORCE_UINT 

Definition at line 183 of file format.hpp.

Enumerator
EXTERNAL_NONE 
EXTERNAL_RED 
EXTERNAL_RG 
EXTERNAL_RGB 
EXTERNAL_BGR 
EXTERNAL_RGBA 
EXTERNAL_BGRA 
EXTERNAL_RED_INTEGER 
EXTERNAL_RG_INTEGER 
EXTERNAL_RGB_INTEGER 
EXTERNAL_BGR_INTEGER 
EXTERNAL_RGBA_INTEGER 
EXTERNAL_BGRA_INTEGER 
EXTERNAL_DEPTH 
EXTERNAL_DEPTH_STENCIL 
EXTERNAL_RGB_DXT1 
EXTERNAL_RGBA_DXT1 
EXTERNAL_RGBA_DXT3 
EXTERNAL_RGBA_DXT5 
EXTERNAL_R_ATI1N_UNORM 
EXTERNAL_R_ATI1N_SNORM 
EXTERNAL_RG_ATI2N_UNORM 
EXTERNAL_RG_ATI2N_SNORM 
EXTERNAL_RGB_BP_UNSIGNED_FLOAT 
EXTERNAL_RGB_BP_SIGNED_FLOAT 
EXTERNAL_RGB_BP_UNORM 
EXTERNAL_RGB_PVRTC_4BPPV1 
EXTERNAL_RGB_PVRTC_2BPPV1 
EXTERNAL_RGBA_PVRTC_4BPPV1 
EXTERNAL_RGBA_PVRTC_2BPPV1 
EXTERNAL_ATC_RGB 
EXTERNAL_ATC_RGBA_EXPLICIT_ALPHA 
EXTERNAL_ATC_RGBA_INTERPOLATED_ALPHA 
EXTERNAL_RGBA_ASTC_4x4 
EXTERNAL_RGBA_ASTC_5x4 
EXTERNAL_RGBA_ASTC_5x5 
EXTERNAL_RGBA_ASTC_6x5 
EXTERNAL_RGBA_ASTC_6x6 
EXTERNAL_RGBA_ASTC_8x5 
EXTERNAL_RGBA_ASTC_8x6 
EXTERNAL_RGBA_ASTC_8x8 
EXTERNAL_RGBA_ASTC_10x5 
EXTERNAL_RGBA_ASTC_10x6 
EXTERNAL_RGBA_ASTC_10x8 
EXTERNAL_RGBA_ASTC_10x10 
EXTERNAL_RGBA_ASTC_12x10 
EXTERNAL_RGBA_ASTC_12x12 

Definition at line 438 of file format.hpp.

enum format
Enumerator
FORMAT_NULL 
R8_UNORM 
RG8_UNORM 
RGB8_UNORM 
RGBA8_UNORM 
R16_UNORM 
RG16_UNORM 
RGB16_UNORM 
RGBA16_UNORM 
R8_SNORM 
RG8_SNORM 
RGB8_SNORM 
RGBA8_SNORM 
R16_SNORM 
RG16_SNORM 
RGB16_SNORM 
RGBA16_SNORM 
R8U 
RG8U 
RGB8U 
RGBA8U 
R16U 
RG16U 
RGB16U 
RGBA16U 
R32U 
RG32U 
RGB32U 
RGBA32U 
R8I 
RG8I 
RGB8I 
RGBA8I 
R16I 
RG16I 
RGB16I 
RGBA16I 
R32I 
RG32I 
RGB32I 
RGBA32I 
R16F 
RG16F 
RGB16F 
RGBA16F 
R32F 
RG32F 
RGB32F 
RGBA32F 
RGB9E5 
RG11B10F 
R3G3B2 
R5G6B5 
RGB5A1 
RGBA4 
RGB10A2 
D16 
D24X8 
D24S8 
D32F 
D32FS8X24 
RGB_DXT1 
RGBA_DXT1 
RGBA_DXT3 
RGBA_DXT5 
R_ATI1N_UNORM 
R_ATI1N_SNORM 
RG_ATI2N_UNORM 
RG_ATI2N_SNORM 
RGB_BP_UNSIGNED_FLOAT 
RGB_BP_SIGNED_FLOAT 
RGB_BP_UNORM 
RGB_PVRTC_4BPPV1 
RGB_PVRTC_2BPPV1 
RGBA_PVRTC_4BPPV1 
RGBA_PVRTC_2BPPV1 
ATC_RGB 
ATC_RGBA_EXPLICIT_ALPHA 
ATC_RGBA_INTERPOLATED_ALPHA 
RGBA_ASTC_4x4 
RGBA_ASTC_5x4 
RGBA_ASTC_5x5 
RGBA_ASTC_6x5 
RGBA_ASTC_6x6 
RGBA_ASTC_8x5 
RGBA_ASTC_8x6 
RGBA_ASTC_8x8 
RGBA_ASTC_10x5 
RGBA_ASTC_10x6 
RGBA_ASTC_10x8 
RGBA_ASTC_10x10 
RGBA_ASTC_12x10 
RGBA_ASTC_12x12 
SRGB8 
SRGB8_ALPHA8 
SRGB_DXT1 
SRGB_ALPHA_DXT1 
SRGB_ALPHA_DXT3 
SRGB_ALPHA_DXT5 
SRGB_BP_UNORM 
SRGB_PVRTC_2BPPV1 
SRGB_PVRTC_4BPPV1 
SRGB_ALPHA_PVRTC_2BPPV1 
SRGB_ALPHA_PVRTC_4BPPV1 
SRGB8_ALPHA8_ASTC_4x4 
SRGB8_ALPHA8_ASTC_5x4 
SRGB8_ALPHA8_ASTC_5x5 
SRGB8_ALPHA8_ASTC_6x5 
SRGB8_ALPHA8_ASTC_6x6 
SRGB8_ALPHA8_ASTC_8x5 
SRGB8_ALPHA8_ASTC_8x6 
SRGB8_ALPHA8_ASTC_8x8 
SRGB8_ALPHA8_ASTC_10x5 
SRGB8_ALPHA8_ASTC_10x6 
SRGB8_ALPHA8_ASTC_10x8 
SRGB8_ALPHA8_ASTC_10x10 
SRGB8_ALPHA8_ASTC_12x10 
SRGB8_ALPHA8_ASTC_12x12 
FORMAT_MAX 

Definition at line 34 of file format.hpp.

Enumerator
INTERNAL_NONE 
INTERNAL_R8_UNORM 
INTERNAL_RG8_UNORM 
INTERNAL_RGB8_UNORM 
INTERNAL_RGBA8_UNORM 
INTERNAL_R16_UNORM 
INTERNAL_RG16_UNORM 
INTERNAL_RGB16_UNORM 
INTERNAL_RGBA16_UNORM 
INTERNAL_R8_SNORM 
INTERNAL_RG8_SNORM 
INTERNAL_RGB8_SNORM 
INTERNAL_RGBA8_SNORM 
INTERNAL_R16_SNORM 
INTERNAL_RG16_SNORM 
INTERNAL_RGB16_SNORM 
INTERNAL_RGBA16_SNORM 
INTERNAL_R8U 
INTERNAL_RG8U 
INTERNAL_RGB8U 
INTERNAL_RGBA8U 
INTERNAL_R16U 
INTERNAL_RG16U 
INTERNAL_RGB16U 
INTERNAL_RGBA16U 
INTERNAL_R32U 
INTERNAL_RG32U 
INTERNAL_RGB32U 
INTERNAL_RGBA32U 
INTERNAL_R8I 
INTERNAL_RG8I 
INTERNAL_RGB8I 
INTERNAL_RGBA8I 
INTERNAL_R16I 
INTERNAL_RG16I 
INTERNAL_RGB16I 
INTERNAL_RGBA16I 
INTERNAL_R32I 
INTERNAL_RG32I 
INTERNAL_RGB32I 
INTERNAL_RGBA32I 
INTERNAL_R16F 
INTERNAL_RG16F 
INTERNAL_RGB16F 
INTERNAL_RGBA16F 
INTERNAL_R32F 
INTERNAL_RG32F 
INTERNAL_RGB32F 
INTERNAL_RGBA32F 
INTERNAL_RGB9E5 
INTERNAL_RG11B10F 
INTERNAL_RG3B2 
INTERNAL_R5G6B5 
INTERNAL_RGB5A1 
INTERNAL_RGBA4 
INTERNAL_RGB10A2 
INTERNAL_D16 
INTERNAL_D24 
INTERNAL_D24S8 
INTERNAL_D32 
INTERNAL_D32F 
INTERNAL_D32FS8X24 
INTERNAL_RGB_DXT1 
INTERNAL_RGBA_DXT1 
INTERNAL_RGBA_DXT3 
INTERNAL_RGBA_DXT5 
INTERNAL_R_ATI1N_UNORM 
INTERNAL_R_ATI1N_SNORM 
INTERNAL_RG_ATI2N_UNORM 
INTERNAL_RG_ATI2N_SNORM 
INTERNAL_RGB_BP_UNSIGNED_FLOAT 
INTERNAL_RGB_BP_SIGNED_FLOAT 
INTERNAL_RGB_BP_UNORM 
INTERNAL_RGB_PVRTC_4BPPV1 
INTERNAL_RGB_PVRTC_2BPPV1 
INTERNAL_RGBA_PVRTC_4BPPV1 
INTERNAL_RGBA_PVRTC_2BPPV1 
INTERNAL_ATC_RGB 
INTERNAL_ATC_RGBA_EXPLICIT_ALPHA 
INTERNAL_ATC_RGBA_INTERPOLATED_ALPHA 
INTERNAL_RGBA_ASTC_4x4 
INTERNAL_RGBA_ASTC_5x4 
INTERNAL_RGBA_ASTC_5x5 
INTERNAL_RGBA_ASTC_6x5 
INTERNAL_RGBA_ASTC_6x6 
INTERNAL_RGBA_ASTC_8x5 
INTERNAL_RGBA_ASTC_8x6 
INTERNAL_RGBA_ASTC_8x8 
INTERNAL_RGBA_ASTC_10x5 
INTERNAL_RGBA_ASTC_10x6 
INTERNAL_RGBA_ASTC_10x8 
INTERNAL_RGBA_ASTC_10x10 
INTERNAL_RGBA_ASTC_12x10 
INTERNAL_RGBA_ASTC_12x12 
INTERNAL_SRGB8 
INTERNAL_SRGB8_ALPHA8 
INTERNAL_SRGB_DXT1 
INTERNAL_SRGB_ALPHA_DXT1 
INTERNAL_SRGB_ALPHA_DXT3 
INTERNAL_SRGB_ALPHA_DXT5 
INTERNAL_SRGB_BP_UNORM 
INTERNAL_SRGB_PVRTC_2BPPV1 
INTERNAL_SRGB_PVRTC_4BPPV1 
INTERNAL_SRGB_ALPHA_PVRTC_2BPPV1 
INTERNAL_SRGB_ALPHA_PVRTC_4BPPV1 
INTERNAL_SRGB8_ALPHA8_ASTC_4x4 
INTERNAL_SRGB8_ALPHA8_ASTC_5x4 
INTERNAL_SRGB8_ALPHA8_ASTC_5x5 
INTERNAL_SRGB8_ALPHA8_ASTC_6x5 
INTERNAL_SRGB8_ALPHA8_ASTC_6x6 
INTERNAL_SRGB8_ALPHA8_ASTC_8x5 
INTERNAL_SRGB8_ALPHA8_ASTC_8x6 
INTERNAL_SRGB8_ALPHA8_ASTC_8x8 
INTERNAL_SRGB8_ALPHA8_ASTC_10x5 
INTERNAL_SRGB8_ALPHA8_ASTC_10x6 
INTERNAL_SRGB8_ALPHA8_ASTC_10x8 
INTERNAL_SRGB8_ALPHA8_ASTC_10x10 
INTERNAL_SRGB8_ALPHA8_ASTC_12x10 
INTERNAL_SRGB8_ALPHA8_ASTC_12x12 
INTERNAL_MAX 

Definition at line 288 of file format.hpp.

enum typeFormat
Enumerator
TYPE_NONE 
TYPE_I8 
TYPE_U8 
TYPE_I16 
TYPE_U16 
TYPE_I32 
TYPE_U32 
TYPE_F16 
TYPE_F32 
TYPE_UINT32_RGB9_E5 
TYPE_UINT32_RG11B10F 
TYPE_UINT8_RG3B2 
TYPE_UINT8_RG3B2_REV 
TYPE_UINT16_RGB5A1 
TYPE_UINT16_RGB5A1_REV 
TYPE_UINT16_R5G6B5 
TYPE_UINT16_R5G6B5_REV 
TYPE_UINT16_RGBA4 
TYPE_UINT16_RGBA4_REV 
TYPE_UINT32_RGB10A2 
TYPE_UINT32_RGB10A2_REV 

Definition at line 489 of file format.hpp.

Function Documentation

glm::uvec3 gli::block_dimensions ( format const &  Format)
std::size_t gli::block_size ( format const &  Format)
void gli::clear ( texture const &  Texture,
genType const &  Texel 
)
std::size_t gli::component_count ( format const &  Format)
image gli::copy ( image const &  Image)
texture gli::copy ( texture const &  Texture)
texture1D gli::copy ( texture1D const &  Texture,
texture1D::size_type const &  BaseLevel,
texture1D::size_type const &  MaxLevel 
)
texture2D gli::copy ( texture2D const &  Texture,
texture2D::size_type const &  BaseLevel,
texture2D::size_type const &  MaxLevel 
)
texture3D gli::copy ( texture3D const &  Texture,
texture3D::size_type const &  BaseLevel,
texture3D::size_type const &  MaxLevel 
)
texture gli::copy ( texture const &  Texture,
typename texture::size_type const &  BaseLayer,
typename texture::size_type const &  MaxLayer,
typename texture::size_type const &  BaseLevel,
typename texture::size_type const &  MaxLevel 
)
textureCube gli::copy ( textureCube const &  Texture,
textureCube::size_type const &  BaseFace,
textureCube::size_type const &  MaxFace,
textureCube::size_type const &  BaseLevel,
textureCube::size_type const &  MaxLevel 
)
textureCubeArray gli::copy ( textureCubeArray const &  Texture,
textureCubeArray::size_type const &  BaseLayer,
textureCubeArray::size_type const &  MaxLayer,
textureCubeArray::size_type const &  BaseFace,
textureCubeArray::size_type const &  MaxFace,
textureCubeArray::size_type const &  BaseLevel,
textureCubeArray::size_type const &  MaxLevel 
)
dxgiFormat gli::dxgi_format ( format const &  Format)
externalFormat gli::external_format ( format const &  Format)
texture gli::generateMipmaps ( texture const &  Texture,
texture::size_type const &  BaseLevel 
)
internalFormat gli::internal_format ( format const &  Format)
bool gli::is_compressed ( format const &  Format)
storage gli::load_dds ( char const *  Filename)

Loading a texture storage to file.

bool gli::operator!= ( image const &  ImageA,
image const &  ImageB 
)
bool gli::operator!= ( texture const &  TextureA,
texture const &  TextureB 
)
texture2D gli::operator+ ( texture2D const &  TextureA,
texture2D const &  TextureB 
)
texture2D gli::operator- ( texture2D const &  TextureA,
texture2D const &  TextureB 
)
bool gli::operator== ( image const &  ImageA,
image const &  ImageB 
)
bool gli::operator== ( texture const &  TextureA,
texture const &  TextureB 
)
void gli::save_dds ( storage const &  Storage,
char const *  Filename 
)

Saving a texture storage to file.

genType gli::texelFetch ( texture2D const &  Texture,
texture2D::dimensions_type const &  Texcoord,
texture2D::size_type const &  Level 
)
void gli::texelWrite ( texture2D &  Texture,
texture2D::dimensions_type const &  Texcoord,
texture2D::size_type const &  Level,
genType const &  Color 
)
genType gli::textureLod ( texture2D const &  Texture,
texture2D::texcoord_type const &  Texcoord,
texture2D::size_type const &  Level 
)
typeFormat gli::type_format ( format const &  Format)
image gli::view ( image const &  Image)
texture gli::view ( texture const &  Texture)
texture1D gli::view ( texture1D const &  Texture,
texture1D::size_type const &  BaseLevel,
texture1D::size_type const &  MaxLevel 
)
texture2D gli::view ( texture2D const &  Texture,
texture2D::size_type const &  BaseLevel,
texture2D::size_type const &  MaxLevel 
)
texture3D gli::view ( texture3D const &  Texture,
texture3D::size_type const &  BaseLevel,
texture3D::size_type const &  MaxLevel 
)
texture gli::view ( texture const &  Texture,
typename texture::size_type const &  BaseLayer,
typename texture::size_type const &  MaxLayer,
typename texture::size_type const &  BaseLevel,
typename texture::size_type const &  MaxLevel 
)
textureCube gli::view ( textureCube const &  Texture,
textureCube::size_type const &  BaseFace,
textureCube::size_type const &  MaxFace,
textureCube::size_type const &  BaseLevel,
textureCube::size_type const &  MaxLevel 
)
textureCubeArray gli::view ( textureCubeArray const &  Texture,
textureCubeArray::size_type const &  BaseLayer,
textureCubeArray::size_type const &  MaxLayer,
textureCubeArray::size_type const &  BaseFace,
textureCubeArray::size_type const &  MaxFace,
textureCubeArray::size_type const &  BaseLevel,
textureCubeArray::size_type const &  MaxLevel 
)