OGRE  13.6
Object-Oriented Graphics Rendering Engine
OgrePixelFormat.h File Reference
#include "OgrePrerequisites.h"
#include "OgreCommon.h"
#include "OgreColourValue.h"
#include "OgreHeaderPrefix.h"
#include "OgreHeaderSuffix.h"

Classes

class  Ogre::PixelBox
 A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory. More...
 
class  Ogre::PixelUtil
 Some utility functions for packing and unpacking pixel data. More...
 

Namespaces

 Ogre
 

Typedefs

typedef std::vector< PixelFormat > Ogre::PixelFormatList
 

Enumerations

enum  Ogre::PixelComponentType {
  Ogre::PCT_BYTE = 0 , Ogre::PCT_SHORT = 1 , Ogre::PCT_FLOAT16 = 2 , Ogre::PCT_FLOAT32 = 3 ,
  Ogre::PCT_SINT = 4 , Ogre::PCT_UINT = 5 , Ogre::PCT_COUNT = 6
}
 Pixel component format. More...
 
enum  Ogre::PixelFormat {
  Ogre::PF_UNKNOWN = 0 , Ogre::PF_L8 , Ogre::PF_BYTE_L = PF_L8 , Ogre::PF_L16 ,
  Ogre::PF_SHORT_L = PF_L16 , Ogre::PF_A8 , Ogre::PF_BYTE_A = PF_A8 , Ogre::PF_BYTE_LA ,
  Ogre::PF_R5G6B5 , Ogre::PF_B5G6R5 , Ogre::PF_A4R4G4B4 , Ogre::PF_A1R5G5B5 ,
  Ogre::PF_R8G8B8 , Ogre::PF_B8G8R8 , Ogre::PF_A8R8G8B8 , Ogre::PF_A8B8G8R8 ,
  Ogre::PF_B8G8R8A8 , Ogre::PF_A2R10G10B10 , Ogre::PF_A2B10G10R10 , Ogre::PF_DXT1 ,
  Ogre::PF_DXT2 , Ogre::PF_DXT3 , Ogre::PF_DXT4 , Ogre::PF_DXT5 ,
  Ogre::PF_FLOAT16_RGB , Ogre::PF_FLOAT16_RGBA , Ogre::PF_FLOAT32_RGB , Ogre::PF_FLOAT32_RGBA ,
  Ogre::PF_X8R8G8B8 , Ogre::PF_X8B8G8R8 , Ogre::PF_R8G8B8A8 , Ogre::PF_DEPTH16 ,
  Ogre::PF_DEPTH = PF_DEPTH16 , Ogre::PF_SHORT_RGBA , Ogre::PF_R3G3B2 , Ogre::PF_FLOAT16_R ,
  Ogre::PF_FLOAT32_R , Ogre::PF_SHORT_GR , Ogre::PF_FLOAT16_GR , Ogre::PF_FLOAT32_GR ,
  Ogre::PF_SHORT_RGB , Ogre::PF_PVRTC_RGB2 , Ogre::PF_PVRTC_RGBA2 , Ogre::PF_PVRTC_RGB4 ,
  Ogre::PF_PVRTC_RGBA4 , Ogre::PF_PVRTC2_2BPP , Ogre::PF_PVRTC2_4BPP , Ogre::PF_R11G11B10_FLOAT ,
  Ogre::PF_R8_UINT , Ogre::PF_R8G8_UINT , Ogre::PF_R8G8B8_UINT , Ogre::PF_R8G8B8A8_UINT ,
  Ogre::PF_R16_UINT , Ogre::PF_R16G16_UINT , Ogre::PF_R16G16B16_UINT , Ogre::PF_R16G16B16A16_UINT ,
  Ogre::PF_R32_UINT , Ogre::PF_R32G32_UINT , Ogre::PF_R32G32B32_UINT , Ogre::PF_R32G32B32A32_UINT ,
  Ogre::PF_R8_SINT , Ogre::PF_R8G8_SINT , Ogre::PF_R8G8B8_SINT , Ogre::PF_R8G8B8A8_SINT ,
  Ogre::PF_R16_SINT , Ogre::PF_R16G16_SINT , Ogre::PF_R16G16B16_SINT , Ogre::PF_R16G16B16A16_SINT ,
  Ogre::PF_R32_SINT , Ogre::PF_R32G32_SINT , Ogre::PF_R32G32B32_SINT , Ogre::PF_R32G32B32A32_SINT ,
  Ogre::PF_R9G9B9E5_SHAREDEXP , Ogre::PF_BC4_UNORM , Ogre::PF_BC4_SNORM , Ogre::PF_BC5_UNORM ,
  Ogre::PF_BC5_SNORM , Ogre::PF_BC6H_UF16 , Ogre::PF_BC6H_SF16 , Ogre::PF_BC7_UNORM ,
  Ogre::PF_R8 , Ogre::PF_R8G8 , Ogre::PF_RG8 = PF_R8G8 , Ogre::PF_R8_SNORM ,
  Ogre::PF_R8G8_SNORM , Ogre::PF_R8G8B8_SNORM , Ogre::PF_R8G8B8A8_SNORM , Ogre::PF_R16_SNORM ,
  Ogre::PF_R16G16_SNORM , Ogre::PF_R16G16B16_SNORM , Ogre::PF_R16G16B16A16_SNORM , Ogre::PF_ETC1_RGB8 ,
  Ogre::PF_ETC2_RGB8 , Ogre::PF_ETC2_RGBA8 , Ogre::PF_ETC2_RGB8A1 , Ogre::PF_ATC_RGB ,
  Ogre::PF_ATC_RGBA_EXPLICIT_ALPHA , Ogre::PF_ATC_RGBA_INTERPOLATED_ALPHA , Ogre::PF_ASTC_RGBA_4X4_LDR , Ogre::PF_ASTC_RGBA_5X4_LDR ,
  Ogre::PF_ASTC_RGBA_5X5_LDR , Ogre::PF_ASTC_RGBA_6X5_LDR , Ogre::PF_ASTC_RGBA_6X6_LDR , Ogre::PF_ASTC_RGBA_8X5_LDR ,
  Ogre::PF_ASTC_RGBA_8X6_LDR , Ogre::PF_ASTC_RGBA_8X8_LDR , Ogre::PF_ASTC_RGBA_10X5_LDR , Ogre::PF_ASTC_RGBA_10X6_LDR ,
  Ogre::PF_ASTC_RGBA_10X8_LDR , Ogre::PF_ASTC_RGBA_10X10_LDR , Ogre::PF_ASTC_RGBA_12X10_LDR , Ogre::PF_ASTC_RGBA_12X12_LDR ,
  Ogre::PF_DEPTH32 , Ogre::PF_DEPTH32F , Ogre::PF_DEPTH24_STENCIL8 , Ogre::PF_COUNT ,
  Ogre::PF_BYTE_RGB = PF_B8G8R8 , Ogre::PF_BYTE_BGR = PF_R8G8B8 , Ogre::PF_BYTE_BGRA = PF_A8R8G8B8 , Ogre::PF_BYTE_RGBA = PF_A8B8G8R8
}
 The pixel format used for images, textures, and render surfaces. More...
 
enum  Ogre::PixelFormatFlags {
  Ogre::PFF_HASALPHA = 0x00000001 , Ogre::PFF_COMPRESSED = 0x00000002 , Ogre::PFF_FLOAT = 0x00000004 , Ogre::PFF_DEPTH = 0x00000008 ,
  Ogre::PFF_NATIVEENDIAN = 0x00000010 , Ogre::PFF_LUMINANCE = 0x00000020 , Ogre::PFF_INTEGER = 0x00000040
}
 Flags defining some on/off properties of pixel formats. More...
 

Functions

const String & Ogre::to_string (PixelFormat v)