Package com.jme3.renderer.android
Class RendererUtil
java.lang.Object
com.jme3.renderer.android.RendererUtil
Utility class used by the OGLESShaderRenderer and sister
 classes.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic booleanWhen set to true, every OpenGL call will check for errors and throw an exception if there is one, if false, no error checking is performed.
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcheckEGLError(javax.microedition.khronos.egl.EGL10 egl) Checks for an EGL error and throws aRendererExceptionif there is one.static voidChecks for an OpenGL error and throws aRendererExceptionif there is one.static voidChecks for an OpenGL error and throws aRendererExceptionif there is one.
- 
Field Details- 
ENABLE_ERROR_CHECKINGpublic static boolean ENABLE_ERROR_CHECKINGWhen set to true, every OpenGL call will check for errors and throw an exception if there is one, if false, no error checking is performed.
 
- 
- 
Method Details- 
checkGLErrorForcedpublic static void checkGLErrorForced()Checks for an OpenGL error and throws aRendererExceptionif there is one. Ignores the value ofENABLE_ERROR_CHECKING.
- 
checkEGLErrorpublic static void checkEGLError(javax.microedition.khronos.egl.EGL10 egl) Checks for an EGL error and throws aRendererExceptionif there is one. Ignores the value ofENABLE_ERROR_CHECKING.- Parameters:
- egl- (not null)
 
- 
checkGLErrorpublic static void checkGLError()Checks for an OpenGL error and throws aRendererExceptionif there is one. Does nothing ifENABLE_ERROR_CHECKINGis set tofalse.
 
-