Unofficial OpenGL Software Development Kit  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Namespaces | Enumerations
ImageFormat.h File Reference

Contains all of the enums and objects related to formats. More...

#include <string>
#include <exception>

Go to the source code of this file.

Classes

struct  glimg::UncheckedImageFormat
 Represents a potentially valid image format. More...
 
class  glimg::InvalidFormatException
 Thrown if an invalid format is used by any API. Usually contains an explanation of the problem. More...
 
class  glimg::ImageFormat
 An immutable combination of image format parameters. More...
 

Namespaces

namespace  glimg
 The main GL Image library namespace.
 

Enumerations

enum  glimg::PixelDataType {
  glimg::DT_NORM_UNSIGNED_INTEGER, glimg::DT_NORM_SIGNED_INTEGER, glimg::DT_UNSIGNED_INTEGRAL, glimg::DT_SIGNED_INTEGRAL,
  glimg::DT_FLOAT, glimg::DT_SHARED_EXP_FLOAT , glimg::DT_COMPRESSED_BC1 = DT_NUM_UNCOMPRESSED_TYPES, glimg::DT_COMPRESSED_BC2,
  glimg::DT_COMPRESSED_BC3, glimg::DT_COMPRESSED_UNSIGNED_BC4, glimg::DT_COMPRESSED_SIGNED_BC4, glimg::DT_COMPRESSED_UNSIGNED_BC5,
  glimg::DT_COMPRESSED_SIGNED_BC5, glimg::DT_COMPRESSED_UNSIGNED_BC6H, glimg::DT_COMPRESSED_SIGNED_BC6H, glimg::DT_COMPRESSED_BC7
}
 Describes the basic type of the pixel data. More...
 
enum  glimg::PixelComponents {
  glimg::FMT_COLOR_RED, glimg::FMT_COLOR_RG, glimg::FMT_COLOR_RGB, glimg::FMT_COLOR_RGBX,
  glimg::FMT_COLOR_RGBA, glimg::FMT_COLOR_RGB_sRGB, glimg::FMT_COLOR_RGBX_sRGB, glimg::FMT_COLOR_RGBA_sRGB,
  glimg::FMT_DEPTH, glimg::FMT_DEPTH_X
}
 Describes the components stored in a pixel of the image. More...
 
enum  glimg::ComponentOrder {
  glimg::ORDER_RGBA, glimg::ORDER_BGRA, glimg::ORDER_RGBE, glimg::ORDER_DEPTH_STENCIL,
  glimg::ORDER_COMPRESSED
}
 Specifies the ordering of the component data in the image. More...
 
enum  glimg::Bitdepth {
  glimg::BD_COMPRESSED, glimg::BD_PER_COMP_8, glimg::BD_PER_COMP_16, glimg::BD_PER_COMP_32 ,
  glimg::BD_PACKED_16_BIT_565 = BD_NUM_PER_COMPONENT, glimg::BD_PACKED_16_BIT_5551, glimg::BD_PACKED_16_BIT_4444, glimg::BD_PACKED_32_BIT_8888,
  glimg::BD_PACKED_32_BIT_1010102, glimg::BD_PACKED_32_BIT_248, glimg::BD_PACKED_16_BIT_565_REV, glimg::BD_PACKED_16_BIT_1555_REV,
  glimg::BD_PACKED_16_BIT_4444_REV, glimg::BD_PACKED_32_BIT_8888_REV, glimg::BD_PACKED_32_BIT_2101010_REV, glimg::BD_PACKED_32_BIT_101111_REV,
  glimg::BD_PACKED_32_BIT_5999_REV
}
 Specifies the bitdepth for each component of each pixel. More...
 

Detailed Description

Contains all of the enums and objects related to formats.