本文整理汇总了Java中javax.microedition.khronos.opengles.GL10Ext类的典型用法代码示例。如果您正苦于以下问题:Java GL10Ext类的具体用法?Java GL10Ext怎么用?Java GL10Ext使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
GL10Ext类属于javax.microedition.khronos.opengles包,在下文中一共展示了GL10Ext类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: MatrixTrackingGL
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public MatrixTrackingGL(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;
}
mModelView = new MatrixStack();
mProjection = new MatrixStack();
mTexture = new MatrixStack();
mCurrent = mModelView;
mMatrixMode = GL10.GL_MODELVIEW;
}
示例2: MatrixTrackingGL
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public MatrixTrackingGL(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;
}
mModelView = new MatrixStack();
mProjection = new MatrixStack();
mTexture = new MatrixStack();
mCurrent = mModelView;
mMatrixMode = GL10.GL_MODELVIEW;
}
示例3: MatrixTrackingGL
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public MatrixTrackingGL(GL gl, GLSurfaceView glSurfaceView) {
mgl = (GL10) gl;
if (gl instanceof GL10Ext) {
mgl10Ext = (GL10Ext) gl;
}
if (gl instanceof GL11) {
mgl11 = (GL11) gl;
}
if (gl instanceof GL11Ext) {
mgl11Ext = (GL11Ext) gl;
}
mGLSurfaceView = glSurfaceView;
mModelView = new MatrixStack();
mProjection = new MatrixStack();
mTexture = new MatrixStack();
mCurrent = mModelView;
mMatrixMode = GL10.GL_MODELVIEW;
}
示例4: GLWrapper
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
/**init methods*/
public GLWrapper(GL gl, GLSurfaceView glSurfaceView)
{
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)
{
mGL11ExtPack = (GL11ExtensionPack)gl;
}
mGLSurfaceView = glSurfaceView;
}
示例5: GLWrapperBase
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public GLWrapperBase(GL paramGL)
{
this.mgl = ((GL10)paramGL);
if ((paramGL instanceof GL10Ext))
this.mgl10Ext = ((GL10Ext)paramGL);
if ((paramGL instanceof GL11))
this.mgl11 = ((GL11)paramGL);
if ((paramGL instanceof GL11Ext))
this.mgl11Ext = ((GL11Ext)paramGL);
if ((paramGL instanceof GL11ExtensionPack))
this.mgl11ExtensionPack = ((GL11ExtensionPack)paramGL);
}
示例6: glQueryMatrixxOES
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public int glQueryMatrixxOES(IntBuffer arg0, IntBuffer arg1) {
int result = ((GL10Ext)mGL).glQueryMatrixxOES( arg0, arg1);
checkError();
return result;
}
示例7: MatrixTrackingGL
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public MatrixTrackingGL(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;
}
mModelView = new MatrixStack();
mProjection = new MatrixStack();
mTexture = new MatrixStack();
mCurrent = mModelView;
mMatrixMode = GL10.GL_MODELVIEW;
}
示例8: glQueryMatrixxOES
import javax.microedition.khronos.opengles.GL10Ext; //导入依赖的package包/类
public int glQueryMatrixxOES(IntBuffer arg0, IntBuffer arg1) {
int result = ((GL10Ext)mGL).glQueryMatrixxOES(arg0, arg1);
checkError();
return result;
}