Package softhills.VIZWing
Class SHARCoreGLRenderer
java.lang.Object
softhills.VIZWing.SHARCoreGLRenderer
- All Implemented Interfaces:
android.opengl.GLSurfaceView.Renderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfloat[]intint[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidARCallback(SHARCoreGLRenderer.ARRenderCallback arCallback) voidonDrawFrame(javax.microedition.khronos.opengles.GL10 gl) voidonSurfaceChanged(javax.microedition.khronos.opengles.GL10 unused, int width, int height) voidonSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl, javax.microedition.khronos.egl.EGLConfig config) voidRelease()voidvoidSetParent(SHARCoreGLSurfaceView parent) voidSetTextureCoords(float[] textureCoords)
-
Field Details
-
m_parents
-
mRenderTextures
public int mRenderTextures -
mDrawTextureCoord
public float[] mDrawTextureCoord -
mScreenSize
public int[] mScreenSize
-
-
Constructor Details
-
SHARCoreGLRenderer
public SHARCoreGLRenderer()
-
-
Method Details
-
Release
public void Release() -
ARCallback
-
SetParent
-
onSurfaceCreated
public void onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl, javax.microedition.khronos.egl.EGLConfig config) - Specified by:
onSurfaceCreatedin interfaceandroid.opengl.GLSurfaceView.Renderer
-
SetCreateCameraTexture
public void SetCreateCameraTexture() -
SetTextureCoords
public void SetTextureCoords(float[] textureCoords) -
onDrawFrame
public void onDrawFrame(javax.microedition.khronos.opengles.GL10 gl) - Specified by:
onDrawFramein interfaceandroid.opengl.GLSurfaceView.Renderer
-
onSurfaceChanged
public void onSurfaceChanged(javax.microedition.khronos.opengles.GL10 unused, int width, int height) - Specified by:
onSurfaceChangedin interfaceandroid.opengl.GLSurfaceView.Renderer
-