Description

Representation of the pixel data format.

Note: if a color component (r,g,b or a) is not set, its byteOffset is set to the constant NONE.

Enumerations

   
   
enum InternalType_t {INTERNAL_TYPE_R11G11B10_FLOAT, INTERNAL_TYPE_BGRA}
Internal type identifiers for special pixel formats.

Variables

   
   
const AttributeFormat RG
   
const AttributeFormat RG_FLOAT
   
const AttributeFormat RG_INT32
   
const AttributeFormat RG_UINT32
   
const AttributeFormat RGB
   
const AttributeFormat RGB_FLOAT
   
const AttributeFormat RGB_INT32
   
const AttributeFormat RGB_UINT32
   
const AttributeFormat BGR
   
const AttributeFormat BGR_FLOAT
   
const AttributeFormat BGR_INT32
   
const AttributeFormat BGR_UINT32
   
const AttributeFormat RGBA
   
const AttributeFormat RGBA_FLOAT
   
const AttributeFormat RGBA_INT32
   
const AttributeFormat RGBA_UINT32
   
const AttributeFormat BGRA
   
const AttributeFormat BGRA_FLOAT
   
const AttributeFormat BGRA_INT32
   
const AttributeFormat BGRA_UINT32
   
const AttributeFormat MONO
   
const AttributeFormat MONO_FLOAT
   
const AttributeFormat MONO_INT32
   
const AttributeFormat MONO_UINT32
   
const AttributeFormat R11G11B10_FLOAT
   
const AttributeFormat UNKNOWN

Documentation

enum
Util::PixelFormat::InternalType_t

public
 
 
enum InternalType_t
Enumerator   Description
Enumerator   Description
INTERNAL_TYPE_R11G11B10_FLOAT = hash32(“R11G11B10_FLOAT”)  
INTERNAL_TYPE_BGRA = hash32(“BGRA”)  

Internal type identifiers for special pixel formats.

Defined in Util/Graphics/PixelFormat.h:59


variable
Util::PixelFormat::RG

public
 
 
const AttributeFormat RG

Defined in Util/Graphics/PixelFormat.h:30


variable
Util::PixelFormat::RG_FLOAT

public
 
 
const AttributeFormat RG_FLOAT

Defined in Util/Graphics/PixelFormat.h:31


variable
Util::PixelFormat::RG_INT32

public
 
 
const AttributeFormat RG_INT32

Defined in Util/Graphics/PixelFormat.h:32


variable
Util::PixelFormat::RG_UINT32

public
 
 
const AttributeFormat RG_UINT32

Defined in Util/Graphics/PixelFormat.h:33


variable
Util::PixelFormat::RGB

public
 
 
const AttributeFormat RGB

Defined in Util/Graphics/PixelFormat.h:34


variable
Util::PixelFormat::RGB_FLOAT

public
 
 
const AttributeFormat RGB_FLOAT

Defined in Util/Graphics/PixelFormat.h:35


variable
Util::PixelFormat::RGB_INT32

public
 
 
const AttributeFormat RGB_INT32

Defined in Util/Graphics/PixelFormat.h:36


variable
Util::PixelFormat::RGB_UINT32

public
 
 
const AttributeFormat RGB_UINT32

Defined in Util/Graphics/PixelFormat.h:37


variable
Util::PixelFormat::BGR

public
 
 
const AttributeFormat BGR

Defined in Util/Graphics/PixelFormat.h:38


variable
Util::PixelFormat::BGR_FLOAT

public
 
 
const AttributeFormat BGR_FLOAT

Defined in Util/Graphics/PixelFormat.h:39


variable
Util::PixelFormat::BGR_INT32

public
 
 
const AttributeFormat BGR_INT32

Defined in Util/Graphics/PixelFormat.h:40


variable
Util::PixelFormat::BGR_UINT32

public
 
 
const AttributeFormat BGR_UINT32

Defined in Util/Graphics/PixelFormat.h:41


variable
Util::PixelFormat::RGBA

public
 
 
const AttributeFormat RGBA

Defined in Util/Graphics/PixelFormat.h:42


variable
Util::PixelFormat::RGBA_FLOAT

public
 
 
const AttributeFormat RGBA_FLOAT

Defined in Util/Graphics/PixelFormat.h:43


variable
Util::PixelFormat::RGBA_INT32

public
 
 
const AttributeFormat RGBA_INT32

Defined in Util/Graphics/PixelFormat.h:44


variable
Util::PixelFormat::RGBA_UINT32

public
 
 
const AttributeFormat RGBA_UINT32

Defined in Util/Graphics/PixelFormat.h:45


variable
Util::PixelFormat::BGRA

public
 
 
const AttributeFormat BGRA

Defined in Util/Graphics/PixelFormat.h:46


variable
Util::PixelFormat::BGRA_FLOAT

public
 
 
const AttributeFormat BGRA_FLOAT

Defined in Util/Graphics/PixelFormat.h:47


variable
Util::PixelFormat::BGRA_INT32

public
 
 
const AttributeFormat BGRA_INT32

Defined in Util/Graphics/PixelFormat.h:48


variable
Util::PixelFormat::BGRA_UINT32

public
 
 
const AttributeFormat BGRA_UINT32

Defined in Util/Graphics/PixelFormat.h:49


variable
Util::PixelFormat::MONO

public
 
 
const AttributeFormat MONO

Defined in Util/Graphics/PixelFormat.h:50


variable
Util::PixelFormat::MONO_FLOAT

public
 
 
const AttributeFormat MONO_FLOAT

Defined in Util/Graphics/PixelFormat.h:51


variable
Util::PixelFormat::MONO_INT32

public
 
 
const AttributeFormat MONO_INT32

Defined in Util/Graphics/PixelFormat.h:52


variable
Util::PixelFormat::MONO_UINT32

public
 
 
const AttributeFormat MONO_UINT32

Defined in Util/Graphics/PixelFormat.h:53


variable
Util::PixelFormat::R11G11B10_FLOAT

public
 
 
const AttributeFormat R11G11B10_FLOAT

Defined in Util/Graphics/PixelFormat.h:54


variable
Util::PixelFormat::UNKNOWN

public
 
 
const AttributeFormat UNKNOWN

Defined in Util/Graphics/PixelFormat.h:55