OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
OgrePixelFormat.h File Reference
#include "OgrePrerequisites.h"
#include "OgreCommon.h"
#include "OgreHeaderPrefix.h"
#include "OgreHeaderSuffix.h"

Classes

class  Ogre::PixelFormatToShaderType
 
class  Ogre::PixelUtil
 Some utility functions for packing and unpacking pixel data. More...
 

Namespaces

namespace  Ogre
 

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 = 1 , Ogre::PF_BYTE_L = PF_L8 , Ogre::PF_L16 = 2 ,
  Ogre::PF_SHORT_L = PF_L16 , Ogre::PF_A8 = 3 , Ogre::PF_BYTE_A = PF_A8 , Ogre::PF_A4L4 = 4 ,
  Ogre::PF_BYTE_LA = 5 , Ogre::PF_R5G6B5 = 6 , Ogre::PF_B5G6R5 = 7 , Ogre::PF_R3G3B2 = 31 ,
  Ogre::PF_A4R4G4B4 = 8 , Ogre::PF_A1R5G5B5 = 9 , Ogre::PF_R8G8B8 = 10 , Ogre::PF_B8G8R8 = 11 ,
  Ogre::PF_A8R8G8B8 = 12 , Ogre::PF_A8B8G8R8 = 13 , Ogre::PF_B8G8R8A8 = 14 , Ogre::PF_R8G8B8A8 = 28 ,
  Ogre::PF_X8R8G8B8 = 26 , Ogre::PF_X8B8G8R8 = 27 , Ogre::PF_BYTE_RGB = PF_R8G8B8 , Ogre::PF_BYTE_BGR = PF_B8G8R8 ,
  Ogre::PF_BYTE_BGRA = PF_B8G8R8A8 , Ogre::PF_BYTE_RGBA = PF_R8G8B8A8 , Ogre::PF_A2R10G10B10 = 15 , Ogre::PF_A2B10G10R10 = 16 ,
  Ogre::PF_DXT1 = 17 , Ogre::PF_DXT2 = 18 , Ogre::PF_DXT3 = 19 , Ogre::PF_DXT4 = 20 ,
  Ogre::PF_DXT5 = 21 , Ogre::PF_FLOAT16_R = 32 , Ogre::PF_FLOAT16_RGB = 22 , Ogre::PF_FLOAT16_RGBA = 23 ,
  Ogre::PF_FLOAT32_R = 33 , Ogre::PF_FLOAT32_RGB = 24 , Ogre::PF_FLOAT32_RGBA = 25 , Ogre::PF_FLOAT16_GR = 35 ,
  Ogre::PF_FLOAT32_GR = 36 , Ogre::PF_DEPTH_DEPRECATED = 29 , Ogre::PF_SHORT_RGBA = 30 , Ogre::PF_SHORT_GR = 34 ,
  Ogre::PF_SHORT_RGB = 37 , Ogre::PF_PVRTC_RGB2 = 38 , Ogre::PF_PVRTC_RGBA2 = 39 , Ogre::PF_PVRTC_RGB4 = 40 ,
  Ogre::PF_PVRTC_RGBA4 = 41 , Ogre::PF_PVRTC2_2BPP = 42 , Ogre::PF_PVRTC2_4BPP = 43 , Ogre::PF_R11G11B10_FLOAT = 44 ,
  Ogre::PF_R8_UINT = 45 , Ogre::PF_R8G8_UINT = 46 , Ogre::PF_R8G8B8_UINT = 47 , Ogre::PF_R8G8B8A8_UINT = 48 ,
  Ogre::PF_R16_UINT = 49 , Ogre::PF_R16G16_UINT = 50 , Ogre::PF_R16G16B16_UINT = 51 , Ogre::PF_R16G16B16A16_UINT = 52 ,
  Ogre::PF_R32_UINT = 53 , Ogre::PF_R32G32_UINT = 54 , Ogre::PF_R32G32B32_UINT = 55 , Ogre::PF_R32G32B32A32_UINT = 56 ,
  Ogre::PF_R8_SINT = 57 , Ogre::PF_R8G8_SINT = 58 , Ogre::PF_R8G8B8_SINT = 59 , Ogre::PF_R8G8B8A8_SINT = 60 ,
  Ogre::PF_R16_SINT = 61 , Ogre::PF_R16G16_SINT = 62 , Ogre::PF_R16G16B16_SINT = 63 , Ogre::PF_R16G16B16A16_SINT = 64 ,
  Ogre::PF_R32_SINT = 65 , Ogre::PF_R32G32_SINT = 66 , Ogre::PF_R32G32B32_SINT = 67 , Ogre::PF_R32G32B32A32_SINT = 68 ,
  Ogre::PF_R9G9B9E5_SHAREDEXP = 69 , Ogre::PF_BC4_UNORM = 70 , Ogre::PF_BC4_SNORM = 71 , Ogre::PF_BC5_UNORM = 72 ,
  Ogre::PF_BC5_SNORM = 73 , Ogre::PF_BC6H_UF16 = 74 , Ogre::PF_BC6H_SF16 = 75 , Ogre::PF_BC7_UNORM = 76 ,
  Ogre::PF_BC7_UNORM_SRGB = 77 , Ogre::PF_R8 = 78 , Ogre::PF_RG8 = 79 , Ogre::PF_R8_SNORM = 80 ,
  Ogre::PF_R8G8_SNORM = 81 , Ogre::PF_R8G8B8_SNORM = 82 , Ogre::PF_R8G8B8A8_SNORM = 83 , Ogre::PF_R16_SNORM = 84 ,
  Ogre::PF_R16G16_SNORM = 85 , Ogre::PF_R16G16B16_SNORM = 86 , Ogre::PF_R16G16B16A16_SNORM = 87 , Ogre::PF_ETC1_RGB8 = 88 ,
  Ogre::PF_ETC2_RGB8 = 89 , Ogre::PF_ETC2_RGBA8 = 90 , Ogre::PF_ETC2_RGB8A1 = 91 , Ogre::PF_ATC_RGB = 92 ,
  Ogre::PF_ATC_RGBA_EXPLICIT_ALPHA = 93 , Ogre::PF_ATC_RGBA_INTERPOLATED_ALPHA = 94 , Ogre::PF_ASTC_RGBA_4X4_LDR = 95 , Ogre::PF_ASTC_RGBA_5X4_LDR = 96 ,
  Ogre::PF_ASTC_RGBA_5X5_LDR = 97 , Ogre::PF_ASTC_RGBA_6X5_LDR = 98 , Ogre::PF_ASTC_RGBA_6X6_LDR = 99 , Ogre::PF_ASTC_RGBA_8X5_LDR = 100 ,
  Ogre::PF_ASTC_RGBA_8X6_LDR = 101 , Ogre::PF_ASTC_RGBA_8X8_LDR = 102 , Ogre::PF_ASTC_RGBA_10X5_LDR = 103 , Ogre::PF_ASTC_RGBA_10X6_LDR = 104 ,
  Ogre::PF_ASTC_RGBA_10X8_LDR = 105 , Ogre::PF_ASTC_RGBA_10X10_LDR = 106 , Ogre::PF_ASTC_RGBA_12X10_LDR = 107 , Ogre::PF_ASTC_RGBA_12X12_LDR = 108 ,
  Ogre::PF_ASTC_SRGB8A8_4X4_LDR = 109 , Ogre::PF_ASTC_SRGB8A8_5X4_LDR = 110 , Ogre::PF_ASTC_SRGB8A8_5X5_LDR = 111 , Ogre::PF_ASTC_SRGB8A8_6X5_LDR = 112 ,
  Ogre::PF_ASTC_SRGB8A8_6X6_LDR = 113 , Ogre::PF_ASTC_SRGB8A8_8X5_LDR = 114 , Ogre::PF_ASTC_SRGB8A8_8X6_LDR = 115 , Ogre::PF_ASTC_SRGB8A8_8X8_LDR = 116 ,
  Ogre::PF_ASTC_SRGB8A8_10X5_LDR = 117 , Ogre::PF_ASTC_SRGB8A8_10X6_LDR = 118 , Ogre::PF_ASTC_SRGB8A8_10X8_LDR = 119 , Ogre::PF_ASTC_SRGB8A8_10X10_LDR = 120 ,
  Ogre::PF_ASTC_SRGB8A8_12X10_LDR = 121 , Ogre::PF_ASTC_SRGB8A8_12X12_LDR = 122 , Ogre::PF_D24_UNORM_S8_UINT = 123 , Ogre::PF_D24_UNORM_X8 = 124 ,
  Ogre::PF_X24_S8_UINT = 125 , Ogre::PF_D24_UNORM = 126 , Ogre::PF_D16_UNORM = 127 , Ogre::PF_D32_FLOAT = 128 ,
  Ogre::PF_D32_FLOAT_X24_S8_UINT = 129 , Ogre::PF_D32_FLOAT_X24_X8 = 130 , Ogre::PF_X32_X24_S8_UINT = 131 , Ogre::PF_NULL = 132 ,
  Ogre::PF_COUNT = 133
}
 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 , Ogre::PFF_SIGNED = 0x00000080
}
 Flags defining some on/off properties of pixel formats. More...