GL_EXT_texture_sRGB_RG8

Supported Hardware

Series6, Series6XE, Series6XT

Valid APIs

OpenGL ES 2.0, 3.0, 3.1

Description

This extension introduces SRG8_EXT as an acceptable internal format. This allows efficient sRGB sampling for source images stored with 2 channels.

Registry Link

https://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_sRGB_RG8.txt

Example

glTexImage2D(GL_TEXTURE_2D, 0, GL_SRG8_EXT, 1024, 1024, 0, GL_SRG8_EXT, GL_UNSIGNED_BYTE, pixelData);