Inertia's picture

[ES 2.0] Useful Extensions

Project:The Open Toolkit library
Version:all versions
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:open
Description

I've been digging through the ES Extension Registry and found 2 candidates that deserve some discussion whether to add them to the bindings:

http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.tx...
http://www.khronos.org/registry/gles/extensions/OES/OES_vertex_half_floa...

Both extensions simply add HALF_FLOAT_OES      0x8D61 to ES.Tex(Sub)Image2D's and ES.VertexAttribPointer's type parameter. The half-precision floating-point type used is identical to our implementation of Half and because embedded devices have very limited storage capacities this should prove very useful.