OgrePixelFormat.h File Reference
`#include "OgrePrerequisites.h"`
`#include "OgreCommon.h"`
`#include "OgreHeaderPrefix.h"`
`#include "OgreHeaderSuffix.h"`

Go to the source code of this file.

## 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 vector< PixelFormat >::type | 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 = 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_B8G8R8, Ogre::PF_BYTE_BGR = PF_R8G8B8,
Ogre::PF_BYTE_BGRA = PF_A8R8G8B8, Ogre::PF_BYTE_RGBA = PF_A8B8G8R8, 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 = 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_COUNT = 95
}

| 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...

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.