FileDocCategorySizeDatePackage
GLWrapperBase.javaAPI DocAndroid 5.1 API1776Thu Mar 12 22:22:40 GMT 2015android.opengl

GLWrapperBase

public abstract class GLWrapperBase extends Object implements javax.microedition.khronos.opengles.GL11, javax.microedition.khronos.opengles.GL, javax.microedition.khronos.opengles.GL10, javax.microedition.khronos.opengles.GL11Ext, javax.microedition.khronos.opengles.GL10Ext, javax.microedition.khronos.opengles.GL11ExtensionPack
The abstract base class for a GL wrapper. Provides some convenient instance variables and default implementations.

Fields Summary
protected javax.microedition.khronos.opengles.GL10
mgl
protected javax.microedition.khronos.opengles.GL10Ext
mgl10Ext
protected javax.microedition.khronos.opengles.GL11
mgl11
protected javax.microedition.khronos.opengles.GL11Ext
mgl11Ext
protected javax.microedition.khronos.opengles.GL11ExtensionPack
mgl11ExtensionPack
Constructors Summary
public GLWrapperBase(javax.microedition.khronos.opengles.GL gl)

        mgl = (GL10) gl;
        if (gl instanceof GL10Ext) {
            mgl10Ext = (GL10Ext) gl;
        }
        if (gl instanceof GL11) {
            mgl11 = (GL11) gl;
        }
        if (gl instanceof GL11Ext) {
            mgl11Ext = (GL11Ext) gl;
        }
        if (gl instanceof GL11ExtensionPack) {
            mgl11ExtensionPack = (GL11ExtensionPack) gl;
        }
    
Methods Summary