Supported Hardware

Series5, Series5XT, Series6, Series6XE, Series6XT (ES2/3 Only)

Valid APIs

OpenGL ES 1.x, 2.0


This extension adds the ability to use 16-bit floating point (GL_HALF_FLOAT) representations of vertex data when uploading it to GL. The half-float data format consists of 1 sign bit, 5 exponent bits and 10 mantissa bits, and allows greater range than an integer representation would whilst reducing the memory footprint to that of a short data type.


This functionality is core to OpenGL ES 3.0.

Registry Link


// Set a vertex attribute to sample vertices as half float values. 
glVertexAttribPointer(0, 4, GL_HALF_FLOAT_OES, GL_TRUE, 0, dataPointer);