Namespace: Rx – Header: Rx.Core/EPixelType.h

EPixelType Enumeration

C++
#include "Rx.Core/EPixelType.h"
enum class EPixelType

Specifies possible pixel types of an image.

A pixel type describes the layout and the number of components of a pixel.

Values

None

This pixel type is used for an invalid or uninitialized state.

RGB

3 components per pixel (Red, Green, Blue). The value is equal to GL_RGB from OpenGL.

RGBA

4 components per pixel (Red, Green, Blue, Alpha). The value is equal to GL_RGBA from OpenGL.

BGR

3 components per pixel (Blue, Green, Red). The value is equal to GL_BGR from OpenGL.

BGRA

4 components per pixel (Blue, Green, Red, Alpha). The value is equal to GL_BGRA from OpenGL.

Lum

1 component per pixel (Luminance). The value is equal to GL_LUMINANCE from OpenGL.

LumA

2 components per pixel (Luminance, Alpha). The value is equal to GL_LUMINANCE_ALPHA from OpenGL.

BayerBG

1 component per pixel (Bayer pattern RGGB).

BayerGB

1 component per pixel (Bayer pattern BGGR).

BayerGR

1 component per pixel (Bayer pattern GRBG).

BayerRG

1 component per pixel (Bayer pattern GBRG).

YUV420P

Planar YUV with 4:2:0 chroma sub sampling. The value is equal to GL_YCBCR_MESA from OpenGL.