Class OESEGLImageExternal
This extension provides a mechanism for creating EGLImage texture targets from EGLImages. This extension defines a new texture target, TEXTURE_EXTERNAL_OES. This texture target can only be specified using an EGLImage. There is no support for most of the functions that manipulate other texture targets (e.g. you cannot use gl*Tex*Image*() functions with TEXTURE_EXTERNAL_OES). Also, TEXTURE_EXTERNAL_OES targets never have more than a single LOD level. Because of these restrictions, it is possible to bind EGLImages which have internal formats not otherwise supported by OpenGL ES. For example some implementations may allow EGLImages with planar or interleaved YUV data to be GLES texture target siblings. It is up to the implementation exactly what formats are accepted.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted asvaluein GetTexParameter*() queries.static final intReturned in thetypeparameter of GetActiveUniform.static final intAccepted as thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetFixedv.static final intAccepted as a target in thetargetparameter of BindTexture and EGLImageTargetTexture2DOES. -
Method Summary
-
Field Details
-
GL_TEXTURE_EXTERNAL_OES
public static final int GL_TEXTURE_EXTERNAL_OESAccepted as a target in thetargetparameter of BindTexture and EGLImageTargetTexture2DOES.- See Also:
-
GL_SAMPLER_EXTERNAL_OES
public static final int GL_SAMPLER_EXTERNAL_OESReturned in thetypeparameter of GetActiveUniform.- See Also:
-
GL_TEXTURE_BINDING_EXTERNAL_OES
public static final int GL_TEXTURE_BINDING_EXTERNAL_OESAccepted as thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetFixedv.- See Also:
-
GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES
public static final int GL_REQUIRED_TEXTURE_IMAGE_UNITS_OESAccepted asvaluein GetTexParameter*() queries.- See Also:
-