GL_OES_texture_env_crossbar#

Supported Hardware#

Series5, Series5XT, Series6, Series6XE, Series6XT

Valid APIs#

OpenGL ES 1.x

Description#

This extension extends the combining functionality in OpenGL ES 1 to allow application developers to choose textures from specific active texture units as the source, rather than just the current texture.

Note#

This extension is part of the OpenGL ES 1.x Extension Pack Specification and is core functionality in OpenGL ES 2.0 and 3.0.

Example#

// Set the first source alpha texture environment variable
// to sample from the third texture unit
glTexEnvi(GL_TEXTURE_2D, GL_SOURCE0_ALPHA, GL_TEXTURE2);