GL_OES_rgb8_rgba8

Supported Hardware

Series5, Series5XT, Series6, Series6XE, Series6XT

Valid APIs

OpenGL ES 1.x, 2.0

Description

This extension adds the sized internal formats RGB8 and RGBA8 to the list of internal formats accepted by the function “glRenderBufferStorage”. These formats represent 3 and 4 channel data formats with 8-bits per channel, used to represent colour data.

Note

This functionality is core to OpenGL ES 3.0.

Example

// Create a renderbuffer with RGBA8 so that it uses no less than 8 bits per pixel
glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8_OES, 1024, 1024);