v0.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Pages
CGUL::ImageFormats Namespace Reference

Namespace full of pre-defined image formats. They are named using the same system as OpenGL. See: http://www.opengl.org/wiki/Image_Format. More...

Variables

ImageFormat RGB = CreateImageFormat("RGB", 8, 8, 8, 0, DataTypes::UNSIGNED_CHAR, GL_RGB)
 
ImageFormat RGBA = CreateImageFormat("RGBA", 8, 8, 8, 8, DataTypes::UNSIGNED_CHAR, GL_RGBA)
 
ImageFormat R8 = CreateImageFormat("R8", 8, 0, 0, 0, DataTypes::UNSIGNED_CHAR, GL_R8)
 
ImageFormat R16 = CreateImageFormat("R16", 16, 0, 0, 0, DataTypes::UNSIGNED_CHAR, GL_R16)
 
ImageFormat RG8 = CreateImageFormat("RG8", 8, 8, 0, 0, DataTypes::UNSIGNED_CHAR, GL_RG8)
 
ImageFormat RG16 = CreateImageFormat("RG16", 16, 16, 0, 0, DataTypes::UNSIGNED_CHAR, GL_RG16)
 
ImageFormat R3_G3_B2 = CreateImageFormat("R3_G3_B2", 3, 3, 2, 0, DataTypes::UNSIGNED_CHAR, GL_R3_G3_B2)
 
ImageFormat RGB4 = CreateImageFormat("RGB4", 4, 4, 4, 0, DataTypes::UNSIGNED_CHAR, GL_RGB4)
 
ImageFormat RGB5 = CreateImageFormat("RGB5", 5, 5, 5, 0, DataTypes::UNSIGNED_CHAR, GL_RGB5)
 
ImageFormat RGB8 = CreateImageFormat("RGB8", 8, 8, 8, 0, DataTypes::UNSIGNED_CHAR, GL_RGB8)
 
ImageFormat RGB10 = CreateImageFormat("RGB10", 10, 10, 10, 0, DataTypes::UNSIGNED_CHAR, GL_RGB10)
 
ImageFormat RGB12 = CreateImageFormat("RGB12", 12, 12, 12, 0, DataTypes::UNSIGNED_CHAR, GL_RGB12)
 
ImageFormat RGB16 = CreateImageFormat("RGB16", 16, 16, 16, 0, DataTypes::UNSIGNED_CHAR, GL_RGB16)
 
ImageFormat RGBA2 = CreateImageFormat("RGBA2", 2, 2, 2, 2, DataTypes::UNSIGNED_CHAR, GL_RGBA2)
 
ImageFormat RGBA4 = CreateImageFormat("RGBA4", 4, 4, 4, 4, DataTypes::UNSIGNED_CHAR, GL_RGBA4)
 
ImageFormat RGB5_A1 = CreateImageFormat("RGB5_A1", 5, 5, 5, 1, DataTypes::UNSIGNED_CHAR, GL_RGB5_A1)
 
ImageFormat RGBA8 = CreateImageFormat("RGBA8", 8, 8, 8, 8, DataTypes::UNSIGNED_CHAR, GL_RGBA8)
 
ImageFormat RGB10_A2 = CreateImageFormat("RGB10_A2", 10, 10, 10, 2, DataTypes::UNSIGNED_CHAR, GL_RGB10_A2)
 
ImageFormat RGBA12 = CreateImageFormat("RGBA12", 12, 12, 12, 12, DataTypes::UNSIGNED_CHAR, GL_RGBA12)
 
ImageFormat RGBA16 = CreateImageFormat("RGBA16", 16, 16, 16, 16, DataTypes::UNSIGNED_CHAR, GL_RGBA16)
 
ImageFormat GRAYSCALE = CreateImageFormat("GRAYSCALE", 1, 0, 0, 0, DataTypes::UNSIGNED_CHAR, GL_LUMINANCE)
 
ImageFormat RGBA5_A1
 
ImageFormat RGBA10_A2
 

Detailed Description

Namespace full of pre-defined image formats. They are named using the same system as OpenGL. See: http://www.opengl.org/wiki/Image_Format.

Todo:
Add other than Unsigned Char data types.