Java Code Examples for com.jogamp.opengl.GL2GL3#GL_TRUE
The following examples show how to use
com.jogamp.opengl.GL2GL3#GL_TRUE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Shader.java From jaamsim with Apache License 2.0 | 4 votes |
private boolean checkCompileStatus(int shaderHandle, GL2GL3 gl) { int[] res = new int[1]; gl.glGetShaderiv(shaderHandle, GL2GL3.GL_COMPILE_STATUS, res, 0); return (res[0] == GL2GL3.GL_TRUE); }
Example 2
Source File: Shader.java From jaamsim with Apache License 2.0 | 4 votes |
private boolean checkLinkStatus(GL2GL3 gl) { int[] res = new int[1]; gl.glGetProgramiv(_progHandle, GL2GL3.GL_LINK_STATUS, res, 0); return (res[0] == GL2GL3.GL_TRUE); }
Example 3
Source File: Shader.java From jaamsim with Apache License 2.0 | 4 votes |
private boolean checkValidateStatus(GL2GL3 gl) { int[] res = new int[1]; gl.glGetProgramiv(_progHandle, GL2GL3.GL_VALIDATE_STATUS, res, 0); return (res[0] == GL2GL3.GL_TRUE); }