GL_OES_depth24

Supported Hardware

Series5, Series5XT, Series6, Series6XE, Series6XT

Valid APIs

OpenGL ES 1.x, 2.0

Description

This extension adds the sized internal format GL_DEPTH_COMPONENT24 to the list of internal formats accepted by the function “glRenderBufferStorage”. This format is a single channel data format with 24-bits per channel, used to represent the depth values stored in a z-buffer.

Note

This functionality is core to OpenGL ES 3.0.

Example

// Create a 24-bit depth renderbuffer
glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT24_OES, 1024, 1024);