当前位置: 首页>>代码示例>>Java>>正文


Java GL10Ext类代码示例

本文整理汇总了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;
}
 
开发者ID:archos-sa,项目名称:aos-MediaLib,代码行数:18,代码来源:MatrixTrackingGL.java

示例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;
}
 
开发者ID:tgmarinho,项目名称:apps-for-android,代码行数:18,代码来源:MatrixTrackingGL.java

示例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;
}
 
开发者ID:codedavid,项目名称:PanoramaGL,代码行数:19,代码来源:MatrixTrackingGL.java

示例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;
}
 
开发者ID:codedavid,项目名称:PanoramaGL,代码行数:24,代码来源:GLWrapper.java

示例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);
}
 
开发者ID:isnuryusuf,项目名称:ingress-indonesia-dev,代码行数:13,代码来源:GLWrapperBase.java

示例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;
}
 
开发者ID:gogas,项目名称:replicaisland,代码行数:6,代码来源:GLErrorLogger.java

示例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;

    }
 
开发者ID:x6uderek,项目名称:rubik,代码行数:26,代码来源:MatrixTrackingGL.java

示例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;
}
 
开发者ID:JoesCat,项目名称:ReplicaIsland,代码行数:6,代码来源:GLErrorLogger.java


注:本文中的javax.microedition.khronos.opengles.GL10Ext类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。