enum cv::ogl::Texture2D::Format

Overview

An Image Format describes the way that the images in Textures store their data. Moreā€¦

#include <opengl.hpp>

enum Format
{
    NONE            = 0,
    DEPTH_COMPONENT = 0x1902,
    RGB             = 0x1907,
    RGBA            = 0x1908,
};

Detailed Documentation

An Image Format describes the way that the images in Textures store their data.

Enum Values

DEPTH_COMPONENT

Depth.

RGB

Red, Green, Blue.

RGBA

Red, Green, Blue, Alpha.