Package playn.core
Class GL20
java.lang.Object
playn.core.GL20
Interface and values for OpenGL ES 2.0, based on the official JOGL GL2ES2 interface.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A helper class for bridging between Java arrays and buffers when implementingGL20
. -
Field Summary
Modifier and TypeFieldDescriptionfinal GL20.Buffers
final boolean
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkError
(String op) Checks for any GL error codes and logs them (ifcheckErrors
is true).abstract String
abstract int
abstract void
glActiveTexture
(int texture) abstract void
glAttachShader
(int program, int shader) abstract void
glBindAttribLocation
(int program, int index, String name) abstract void
glBindBuffer
(int target, int buffer) abstract void
glBindFramebuffer
(int target, int framebuffer) abstract void
glBindRenderbuffer
(int target, int renderbuffer) abstract void
glBindTexture
(int target, int texture) abstract void
glBlendColor
(float red, float green, float blue, float alpha) abstract void
glBlendEquation
(int mode) abstract void
glBlendEquationSeparate
(int modeRGB, int modeAlpha) abstract void
glBlendFunc
(int sfactor, int dfactor) abstract void
glBlendFuncSeparate
(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) abstract void
glBufferData
(int target, int size, Buffer data, int usage) abstract void
glBufferSubData
(int target, int offset, int size, Buffer data) abstract int
glCheckFramebufferStatus
(int target) abstract void
glClear
(int mask) abstract void
glClearColor
(float red, float green, float blue, float alpha) abstract void
glClearDepth
(double depth) abstract void
glClearDepthf
(float depth) abstract void
glClearStencil
(int s) abstract void
glColorMask
(boolean red, boolean green, boolean blue, boolean alpha) abstract void
glCompileShader
(int shader) abstract void
glCompressedTexImage2D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) abstract void
glCompressedTexImage2D
(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) abstract void
glCompressedTexImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) abstract void
glCompressedTexImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, Buffer arg8) abstract void
glCompressedTexSubImage2D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) abstract void
glCompressedTexSubImage2D
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) abstract void
glCompressedTexSubImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) abstract void
glCompressedTexSubImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, Buffer arg10) abstract void
glCopyTexImage2D
(int target, int level, int internalformat, int x, int y, int width, int height, int border) abstract void
glCopyTexSubImage2D
(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) abstract void
glCopyTexSubImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) abstract int
abstract int
glCreateShader
(int type) abstract void
glCullFace
(int mode) void
glDeleteBuffer
(int id) void
glDeleteBuffers
(int n, int[] buffers, int offset) abstract void
glDeleteBuffers
(int n, IntBuffer buffers) void
glDeleteFramebuffer
(int id) void
glDeleteFramebuffers
(int n, int[] framebuffers, int offset) abstract void
glDeleteFramebuffers
(int n, IntBuffer framebuffers) abstract void
glDeleteProgram
(int program) void
glDeleteRenderbuffer
(int id) void
glDeleteRenderbuffers
(int n, int[] renderbuffers, int offset) abstract void
glDeleteRenderbuffers
(int n, IntBuffer renderbuffers) abstract void
glDeleteShader
(int shader) void
glDeleteTexture
(int id) void
glDeleteTextures
(int n, int[] textures, int offset) abstract void
glDeleteTextures
(int n, IntBuffer textures) abstract void
glDepthFunc
(int func) abstract void
glDepthMask
(boolean flag) abstract void
glDepthRange
(double zNear, double zFar) abstract void
glDepthRangef
(float zNear, float zFar) abstract void
glDetachShader
(int program, int shader) abstract void
glDisable
(int cap) abstract void
glDisableVertexAttribArray
(int index) abstract void
glDrawArrays
(int mode, int first, int count) abstract void
glDrawElements
(int mode, int count, int type, int offset) abstract void
glDrawElements
(int mode, int count, int type, Buffer indices) abstract void
glEnable
(int cap) abstract void
glEnableVertexAttribArray
(int index) abstract void
glFinish()
abstract void
glFlush()
abstract void
glFramebufferRenderbuffer
(int target, int attachment, int renderbuffertarget, int renderbuffer) abstract void
glFramebufferTexture2D
(int target, int attachment, int textarget, int texture, int level) abstract void
glFramebufferTexture3D
(int target, int attachment, int textarget, int texture, int level, int zoffset) abstract void
glFrontFace
(int mode) int
void
glGenBuffers
(int n, int[] buffers, int offset) abstract void
glGenBuffers
(int n, IntBuffer buffers) abstract void
glGenerateMipmap
(int target) int
void
glGenFramebuffers
(int n, int[] framebuffers, int offset) abstract void
glGenFramebuffers
(int n, IntBuffer framebuffers) int
void
glGenRenderbuffers
(int n, int[] renderbuffers, int offset) abstract void
glGenRenderbuffers
(int n, IntBuffer renderbuffers) int
void
glGenTextures
(int n, int[] textures, int offset) abstract void
glGenTextures
(int n, IntBuffer textures) abstract String
glGetActiveAttrib
(int program, int index, IntBuffer size, IntBuffer type) abstract String
glGetActiveUniform
(int program, int index, IntBuffer size, IntBuffer type) void
glGetAttachedShaders
(int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset) abstract void
glGetAttachedShaders
(int program, int maxcount, IntBuffer count, IntBuffer shaders) abstract int
glGetAttribLocation
(int program, String name) abstract boolean
glGetBoolean
(int pname) void
glGetBooleanv
(int pname, byte[] params, int offset) abstract void
glGetBooleanv
(int pname, ByteBuffer params) abstract int
glGetBoundBuffer
(int arg0) void
glGetBufferParameteriv
(int target, int pname, int[] params, int offset) abstract void
glGetBufferParameteriv
(int target, int pname, IntBuffer params) abstract int
abstract float
glGetFloat
(int pname) void
glGetFloatv
(int pname, float[] params, int offset) abstract void
glGetFloatv
(int pname, FloatBuffer params) void
glGetFramebufferAttachmentParameteriv
(int target, int attachment, int pname, int[] params, int offset) abstract void
glGetFramebufferAttachmentParameteriv
(int target, int attachment, int pname, IntBuffer params) abstract int
glGetInteger
(int pname) void
glGetIntegerv
(int pname, int[] params, int offset) abstract void
glGetIntegerv
(int pname, IntBuffer params) void
glGetProgramBinary
(int program, int bufsize, int[] length, int lengthOffset, int[] binaryformat, int binaryformatOffset, Buffer binary) abstract void
glGetProgramBinary
(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3, Buffer arg4) abstract String
glGetProgramInfoLog
(int program) void
glGetProgramInfoLog
(int program, int bufsize, int[] length, int lengthOffset, byte[] infolog, int infologOffset) abstract void
glGetProgramInfoLog
(int program, int bufsize, IntBuffer length, ByteBuffer infolog) void
glGetProgramiv
(int program, int pname, int[] params, int offset) abstract void
glGetProgramiv
(int program, int pname, IntBuffer params) void
glGetRenderbufferParameteriv
(int target, int pname, int[] params, int offset) abstract void
glGetRenderbufferParameteriv
(int target, int pname, IntBuffer params) abstract String
glGetShaderInfoLog
(int shader) void
glGetShaderInfoLog
(int shader, int bufsize, int[] length, int lengthOffset, byte[] infolog, int infologOffset) abstract void
glGetShaderInfoLog
(int shader, int bufsize, IntBuffer length, ByteBuffer infolog) void
glGetShaderiv
(int shader, int pname, int[] params, int offset) abstract void
glGetShaderiv
(int shader, int pname, IntBuffer params) abstract void
glGetShaderPrecisionFormat
(int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset) abstract void
glGetShaderPrecisionFormat
(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision) abstract void
glGetShaderSource
(int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset) abstract void
glGetShaderSource
(int shader, int bufsize, IntBuffer length, ByteBuffer source) abstract String
glGetString
(int name) void
glGetTexParameterfv
(int target, int pname, float[] params, int offset) abstract void
glGetTexParameterfv
(int target, int pname, FloatBuffer params) void
glGetTexParameteriv
(int target, int pname, int[] params, int offset) abstract void
glGetTexParameteriv
(int target, int pname, IntBuffer params) void
glGetUniformfv
(int program, int location, float[] params, int offset) abstract void
glGetUniformfv
(int program, int location, FloatBuffer params) void
glGetUniformiv
(int program, int location, int[] params, int offset) abstract void
glGetUniformiv
(int program, int location, IntBuffer params) abstract int
glGetUniformLocation
(int program, String name) void
glGetVertexAttribfv
(int index, int pname, float[] params, int offset) abstract void
glGetVertexAttribfv
(int index, int pname, FloatBuffer params) void
glGetVertexAttribiv
(int index, int pname, int[] params, int offset) abstract void
glGetVertexAttribiv
(int index, int pname, IntBuffer params) abstract void
glHint
(int target, int mode) abstract boolean
glIsBuffer
(int buffer) abstract boolean
glIsEnabled
(int cap) abstract boolean
glIsFramebuffer
(int framebuffer) abstract boolean
glIsProgram
(int program) abstract boolean
glIsRenderbuffer
(int renderbuffer) abstract boolean
glIsShader
(int shader) abstract boolean
glIsTexture
(int texture) abstract boolean
abstract boolean
abstract void
glLineWidth
(float width) abstract void
glLinkProgram
(int program) abstract ByteBuffer
glMapBuffer
(int arg0, int arg1) abstract void
glPixelStorei
(int pname, int param) abstract void
glPolygonOffset
(float factor, float units) abstract void
glProgramBinary
(int arg0, int arg1, Buffer arg2, int arg3) abstract void
glReadPixels
(int x, int y, int width, int height, int format, int type, int pixelsBufferOffset) abstract void
glReadPixels
(int x, int y, int width, int height, int format, int type, Buffer pixels) abstract void
abstract void
glRenderbufferStorage
(int target, int internalformat, int width, int height) abstract void
glSampleCoverage
(float value, boolean invert) abstract void
glScissor
(int x, int y, int width, int height) abstract void
glShaderBinary
(int n, int[] shaders, int offset, int binaryformat, Buffer binary, int length) abstract void
glShaderBinary
(int n, IntBuffer shaders, int binaryformat, Buffer binary, int length) abstract void
glShaderSource
(int shader, int count, String[] strings, int[] length, int lengthOffset) abstract void
glShaderSource
(int shader, int count, String[] strings, IntBuffer length) abstract void
glShaderSource
(int shader, String string) abstract void
glStencilFunc
(int func, int ref, int mask) abstract void
glStencilFuncSeparate
(int face, int func, int ref, int mask) abstract void
glStencilMask
(int mask) abstract void
glStencilMaskSeparate
(int face, int mask) abstract void
glStencilOp
(int fail, int zfail, int zpass) abstract void
glStencilOpSeparate
(int face, int fail, int zfail, int zpass) abstract void
glTexImage2D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) abstract void
glTexImage2D
(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) abstract void
glTexImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) abstract void
glTexImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, Buffer arg9) abstract void
glTexParameterf
(int target, int pname, float param) void
glTexParameterfv
(int target, int pname, float[] params, int offset) abstract void
glTexParameterfv
(int target, int pname, FloatBuffer params) abstract void
glTexParameteri
(int target, int pname, int param) void
glTexParameteriv
(int target, int pname, int[] params, int offset) abstract void
glTexParameteriv
(int target, int pname, IntBuffer params) abstract void
glTexSubImage2D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) abstract void
glTexSubImage2D
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) abstract void
glTexSubImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) abstract void
glTexSubImage3D
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, Buffer arg10) abstract void
glUniform1f
(int location, float x) void
glUniform1fv
(int location, int count, float[] v, int offset) abstract void
glUniform1fv
(int location, int count, FloatBuffer v) abstract void
glUniform1i
(int location, int x) void
glUniform1iv
(int location, int count, int[] v, int offset) abstract void
glUniform1iv
(int location, int count, IntBuffer v) abstract void
glUniform2f
(int location, float x, float y) void
glUniform2fv
(int location, int count, float[] v, int offset) abstract void
glUniform2fv
(int location, int count, FloatBuffer v) abstract void
glUniform2i
(int location, int x, int y) void
glUniform2iv
(int location, int count, int[] v, int offset) abstract void
glUniform2iv
(int location, int count, IntBuffer v) abstract void
glUniform3f
(int location, float x, float y, float z) void
glUniform3fv
(int location, int count, float[] v, int offset) abstract void
glUniform3fv
(int location, int count, FloatBuffer v) abstract void
glUniform3i
(int location, int x, int y, int z) void
glUniform3iv
(int location, int count, int[] v, int offset) abstract void
glUniform3iv
(int location, int count, IntBuffer v) abstract void
glUniform4f
(int location, float x, float y, float z, float w) void
glUniform4fv
(int location, int count, float[] v, int offset) abstract void
glUniform4fv
(int location, int count, FloatBuffer v) abstract void
glUniform4i
(int location, int x, int y, int z, int w) void
glUniform4iv
(int location, int count, int[] v, int offset) abstract void
glUniform4iv
(int location, int count, IntBuffer v) void
glUniformMatrix2fv
(int location, int count, boolean transpose, float[] value, int offset) abstract void
glUniformMatrix2fv
(int location, int count, boolean transpose, FloatBuffer value) void
glUniformMatrix3fv
(int location, int count, boolean transpose, float[] value, int offset) abstract void
glUniformMatrix3fv
(int location, int count, boolean transpose, FloatBuffer value) void
glUniformMatrix4fv
(int location, int count, boolean transpose, float[] value, int offset) abstract void
glUniformMatrix4fv
(int location, int count, boolean transpose, FloatBuffer value) abstract boolean
glUnmapBuffer
(int arg0) abstract void
glUseProgram
(int program) abstract void
glValidateProgram
(int program) abstract void
glVertexAttrib1f
(int indx, float x) void
glVertexAttrib1fv
(int indx, float[] values, int offset) abstract void
glVertexAttrib1fv
(int indx, FloatBuffer values) abstract void
glVertexAttrib2f
(int indx, float x, float y) void
glVertexAttrib2fv
(int indx, float[] values, int offset) abstract void
glVertexAttrib2fv
(int indx, FloatBuffer values) abstract void
glVertexAttrib3f
(int indx, float x, float y, float z) void
glVertexAttrib3fv
(int indx, float[] values, int offset) abstract void
glVertexAttrib3fv
(int indx, FloatBuffer values) abstract void
glVertexAttrib4f
(int indx, float x, float y, float z, float w) void
glVertexAttrib4fv
(int indx, float[] values, int offset) abstract void
glVertexAttrib4fv
(int indx, FloatBuffer values) abstract void
glVertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, int ptr) abstract void
glVertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) abstract void
glViewport
(int x, int y, int width, int height) abstract boolean
hasGLSL()
abstract boolean
isExtensionAvailable
(String extension) abstract boolean
isFunctionAvailable
(String function)
-
Field Details
-
GL_ACTIVE_TEXTURE
public static final int GL_ACTIVE_TEXTURE- See Also:
-
GL_DEPTH_BUFFER_BIT
public static final int GL_DEPTH_BUFFER_BIT- See Also:
-
GL_STENCIL_BUFFER_BIT
public static final int GL_STENCIL_BUFFER_BIT- See Also:
-
GL_COLOR_BUFFER_BIT
public static final int GL_COLOR_BUFFER_BIT- See Also:
-
GL_FALSE
public static final int GL_FALSE- See Also:
-
GL_TRUE
public static final int GL_TRUE- See Also:
-
GL_POINTS
public static final int GL_POINTS- See Also:
-
GL_LINES
public static final int GL_LINES- See Also:
-
GL_LINE_LOOP
public static final int GL_LINE_LOOP- See Also:
-
GL_LINE_STRIP
public static final int GL_LINE_STRIP- See Also:
-
GL_TRIANGLES
public static final int GL_TRIANGLES- See Also:
-
GL_TRIANGLE_STRIP
public static final int GL_TRIANGLE_STRIP- See Also:
-
GL_TRIANGLE_FAN
public static final int GL_TRIANGLE_FAN- See Also:
-
GL_ZERO
public static final int GL_ZERO- See Also:
-
GL_ONE
public static final int GL_ONE- See Also:
-
GL_SRC_COLOR
public static final int GL_SRC_COLOR- See Also:
-
GL_ONE_MINUS_SRC_COLOR
public static final int GL_ONE_MINUS_SRC_COLOR- See Also:
-
GL_SRC_ALPHA
public static final int GL_SRC_ALPHA- See Also:
-
GL_ONE_MINUS_SRC_ALPHA
public static final int GL_ONE_MINUS_SRC_ALPHA- See Also:
-
GL_DST_ALPHA
public static final int GL_DST_ALPHA- See Also:
-
GL_ONE_MINUS_DST_ALPHA
public static final int GL_ONE_MINUS_DST_ALPHA- See Also:
-
GL_DST_COLOR
public static final int GL_DST_COLOR- See Also:
-
GL_ONE_MINUS_DST_COLOR
public static final int GL_ONE_MINUS_DST_COLOR- See Also:
-
GL_SRC_ALPHA_SATURATE
public static final int GL_SRC_ALPHA_SATURATE- See Also:
-
GL_FUNC_ADD
public static final int GL_FUNC_ADD- See Also:
-
GL_BLEND_EQUATION
public static final int GL_BLEND_EQUATION- See Also:
-
GL_BLEND_EQUATION_RGB
public static final int GL_BLEND_EQUATION_RGB- See Also:
-
GL_BLEND_EQUATION_ALPHA
public static final int GL_BLEND_EQUATION_ALPHA- See Also:
-
GL_FUNC_SUBTRACT
public static final int GL_FUNC_SUBTRACT- See Also:
-
GL_FUNC_REVERSE_SUBTRACT
public static final int GL_FUNC_REVERSE_SUBTRACT- See Also:
-
GL_BLEND_DST_RGB
public static final int GL_BLEND_DST_RGB- See Also:
-
GL_BLEND_SRC_RGB
public static final int GL_BLEND_SRC_RGB- See Also:
-
GL_BLEND_DST_ALPHA
public static final int GL_BLEND_DST_ALPHA- See Also:
-
GL_BLEND_SRC_ALPHA
public static final int GL_BLEND_SRC_ALPHA- See Also:
-
GL_CONSTANT_COLOR
public static final int GL_CONSTANT_COLOR- See Also:
-
GL_ONE_MINUS_CONSTANT_COLOR
public static final int GL_ONE_MINUS_CONSTANT_COLOR- See Also:
-
GL_CONSTANT_ALPHA
public static final int GL_CONSTANT_ALPHA- See Also:
-
GL_ONE_MINUS_CONSTANT_ALPHA
public static final int GL_ONE_MINUS_CONSTANT_ALPHA- See Also:
-
GL_BLEND_COLOR
public static final int GL_BLEND_COLOR- See Also:
-
GL_ARRAY_BUFFER
public static final int GL_ARRAY_BUFFER- See Also:
-
GL_ELEMENT_ARRAY_BUFFER
public static final int GL_ELEMENT_ARRAY_BUFFER- See Also:
-
GL_ARRAY_BUFFER_BINDING
public static final int GL_ARRAY_BUFFER_BINDING- See Also:
-
GL_ELEMENT_ARRAY_BUFFER_BINDING
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING- See Also:
-
GL_STREAM_DRAW
public static final int GL_STREAM_DRAW- See Also:
-
GL_STATIC_DRAW
public static final int GL_STATIC_DRAW- See Also:
-
GL_DYNAMIC_DRAW
public static final int GL_DYNAMIC_DRAW- See Also:
-
GL_BUFFER_SIZE
public static final int GL_BUFFER_SIZE- See Also:
-
GL_BUFFER_USAGE
public static final int GL_BUFFER_USAGE- See Also:
-
GL_CURRENT_VERTEX_ATTRIB
public static final int GL_CURRENT_VERTEX_ATTRIB- See Also:
-
GL_FRONT
public static final int GL_FRONT- See Also:
-
GL_BACK
public static final int GL_BACK- See Also:
-
GL_FRONT_AND_BACK
public static final int GL_FRONT_AND_BACK- See Also:
-
GL_TEXTURE_2D
public static final int GL_TEXTURE_2D- See Also:
-
GL_CULL_FACE
public static final int GL_CULL_FACE- See Also:
-
GL_BLEND
public static final int GL_BLEND- See Also:
-
GL_DITHER
public static final int GL_DITHER- See Also:
-
GL_STENCIL_TEST
public static final int GL_STENCIL_TEST- See Also:
-
GL_DEPTH_TEST
public static final int GL_DEPTH_TEST- See Also:
-
GL_SCISSOR_TEST
public static final int GL_SCISSOR_TEST- See Also:
-
GL_POLYGON_OFFSET_FILL
public static final int GL_POLYGON_OFFSET_FILL- See Also:
-
GL_SAMPLE_ALPHA_TO_COVERAGE
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE- See Also:
-
GL_SAMPLE_COVERAGE
public static final int GL_SAMPLE_COVERAGE- See Also:
-
GL_NO_ERROR
public static final int GL_NO_ERROR- See Also:
-
GL_INVALID_ENUM
public static final int GL_INVALID_ENUM- See Also:
-
GL_INVALID_VALUE
public static final int GL_INVALID_VALUE- See Also:
-
GL_INVALID_OPERATION
public static final int GL_INVALID_OPERATION- See Also:
-
GL_OUT_OF_MEMORY
public static final int GL_OUT_OF_MEMORY- See Also:
-
GL_CW
public static final int GL_CW- See Also:
-
GL_CCW
public static final int GL_CCW- See Also:
-
GL_LINE_WIDTH
public static final int GL_LINE_WIDTH- See Also:
-
GL_ALIASED_POINT_SIZE_RANGE
public static final int GL_ALIASED_POINT_SIZE_RANGE- See Also:
-
GL_ALIASED_LINE_WIDTH_RANGE
public static final int GL_ALIASED_LINE_WIDTH_RANGE- See Also:
-
GL_CULL_FACE_MODE
public static final int GL_CULL_FACE_MODE- See Also:
-
GL_FRONT_FACE
public static final int GL_FRONT_FACE- See Also:
-
GL_DEPTH_RANGE
public static final int GL_DEPTH_RANGE- See Also:
-
GL_DEPTH_WRITEMASK
public static final int GL_DEPTH_WRITEMASK- See Also:
-
GL_DEPTH_CLEAR_VALUE
public static final int GL_DEPTH_CLEAR_VALUE- See Also:
-
GL_DEPTH_FUNC
public static final int GL_DEPTH_FUNC- See Also:
-
GL_STENCIL_CLEAR_VALUE
public static final int GL_STENCIL_CLEAR_VALUE- See Also:
-
GL_STENCIL_FUNC
public static final int GL_STENCIL_FUNC- See Also:
-
GL_STENCIL_FAIL
public static final int GL_STENCIL_FAIL- See Also:
-
GL_STENCIL_PASS_DEPTH_FAIL
public static final int GL_STENCIL_PASS_DEPTH_FAIL- See Also:
-
GL_STENCIL_PASS_DEPTH_PASS
public static final int GL_STENCIL_PASS_DEPTH_PASS- See Also:
-
GL_STENCIL_REF
public static final int GL_STENCIL_REF- See Also:
-
GL_STENCIL_VALUE_MASK
public static final int GL_STENCIL_VALUE_MASK- See Also:
-
GL_STENCIL_WRITEMASK
public static final int GL_STENCIL_WRITEMASK- See Also:
-
GL_STENCIL_BACK_FUNC
public static final int GL_STENCIL_BACK_FUNC- See Also:
-
GL_STENCIL_BACK_FAIL
public static final int GL_STENCIL_BACK_FAIL- See Also:
-
GL_STENCIL_BACK_PASS_DEPTH_FAIL
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL- See Also:
-
GL_STENCIL_BACK_PASS_DEPTH_PASS
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS- See Also:
-
GL_STENCIL_BACK_REF
public static final int GL_STENCIL_BACK_REF- See Also:
-
GL_STENCIL_BACK_VALUE_MASK
public static final int GL_STENCIL_BACK_VALUE_MASK- See Also:
-
GL_STENCIL_BACK_WRITEMASK
public static final int GL_STENCIL_BACK_WRITEMASK- See Also:
-
GL_VIEWPORT
public static final int GL_VIEWPORT- See Also:
-
GL_SCISSOR_BOX
public static final int GL_SCISSOR_BOX- See Also:
-
GL_COLOR_CLEAR_VALUE
public static final int GL_COLOR_CLEAR_VALUE- See Also:
-
GL_COLOR_WRITEMASK
public static final int GL_COLOR_WRITEMASK- See Also:
-
GL_UNPACK_ALIGNMENT
public static final int GL_UNPACK_ALIGNMENT- See Also:
-
GL_PACK_ALIGNMENT
public static final int GL_PACK_ALIGNMENT- See Also:
-
GL_MAX_TEXTURE_SIZE
public static final int GL_MAX_TEXTURE_SIZE- See Also:
-
GL_MAX_VIEWPORT_DIMS
public static final int GL_MAX_VIEWPORT_DIMS- See Also:
-
GL_SUBPIXEL_BITS
public static final int GL_SUBPIXEL_BITS- See Also:
-
GL_RED_BITS
public static final int GL_RED_BITS- See Also:
-
GL_GREEN_BITS
public static final int GL_GREEN_BITS- See Also:
-
GL_BLUE_BITS
public static final int GL_BLUE_BITS- See Also:
-
GL_ALPHA_BITS
public static final int GL_ALPHA_BITS- See Also:
-
GL_DEPTH_BITS
public static final int GL_DEPTH_BITS- See Also:
-
GL_STENCIL_BITS
public static final int GL_STENCIL_BITS- See Also:
-
GL_POLYGON_OFFSET_UNITS
public static final int GL_POLYGON_OFFSET_UNITS- See Also:
-
GL_POLYGON_OFFSET_FACTOR
public static final int GL_POLYGON_OFFSET_FACTOR- See Also:
-
GL_TEXTURE_BINDING_2D
public static final int GL_TEXTURE_BINDING_2D- See Also:
-
GL_SAMPLE_BUFFERS
public static final int GL_SAMPLE_BUFFERS- See Also:
-
GL_SAMPLES
public static final int GL_SAMPLES- See Also:
-
GL_SAMPLE_COVERAGE_VALUE
public static final int GL_SAMPLE_COVERAGE_VALUE- See Also:
-
GL_SAMPLE_COVERAGE_INVERT
public static final int GL_SAMPLE_COVERAGE_INVERT- See Also:
-
GL_NUM_COMPRESSED_TEXTURE_FORMATS
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS- See Also:
-
GL_COMPRESSED_TEXTURE_FORMATS
public static final int GL_COMPRESSED_TEXTURE_FORMATS- See Also:
-
GL_DONT_CARE
public static final int GL_DONT_CARE- See Also:
-
GL_FASTEST
public static final int GL_FASTEST- See Also:
-
GL_NICEST
public static final int GL_NICEST- See Also:
-
GL_GENERATE_MIPMAP_HINT
public static final int GL_GENERATE_MIPMAP_HINT- See Also:
-
GL_BYTE
public static final int GL_BYTE- See Also:
-
GL_UNSIGNED_BYTE
public static final int GL_UNSIGNED_BYTE- See Also:
-
GL_SHORT
public static final int GL_SHORT- See Also:
-
GL_UNSIGNED_SHORT
public static final int GL_UNSIGNED_SHORT- See Also:
-
GL_INT
public static final int GL_INT- See Also:
-
GL_UNSIGNED_INT
public static final int GL_UNSIGNED_INT- See Also:
-
GL_FLOAT
public static final int GL_FLOAT- See Also:
-
GL_FIXED
public static final int GL_FIXED- See Also:
-
GL_DEPTH_COMPONENT
public static final int GL_DEPTH_COMPONENT- See Also:
-
GL_ALPHA
public static final int GL_ALPHA- See Also:
-
GL_RGB
public static final int GL_RGB- See Also:
-
GL_RGBA
public static final int GL_RGBA- See Also:
-
GL_BGRA
public static final int GL_BGRA- See Also:
-
GL_LUMINANCE
public static final int GL_LUMINANCE- See Also:
-
GL_LUMINANCE_ALPHA
public static final int GL_LUMINANCE_ALPHA- See Also:
-
GL_UNSIGNED_SHORT_4_4_4_4
public static final int GL_UNSIGNED_SHORT_4_4_4_4- See Also:
-
GL_UNSIGNED_SHORT_5_5_5_1
public static final int GL_UNSIGNED_SHORT_5_5_5_1- See Also:
-
GL_UNSIGNED_SHORT_5_6_5
public static final int GL_UNSIGNED_SHORT_5_6_5- See Also:
-
GL_UNSIGNED_INT_8_8_8_8
public static final int GL_UNSIGNED_INT_8_8_8_8- See Also:
-
GL_UNSIGNED_INT_8_8_8_8_REV
public static final int GL_UNSIGNED_INT_8_8_8_8_REV- See Also:
-
GL_FRAGMENT_SHADER
public static final int GL_FRAGMENT_SHADER- See Also:
-
GL_VERTEX_SHADER
public static final int GL_VERTEX_SHADER- See Also:
-
GL_MAX_VERTEX_ATTRIBS
public static final int GL_MAX_VERTEX_ATTRIBS- See Also:
-
GL_MAX_VERTEX_UNIFORM_VECTORS
public static final int GL_MAX_VERTEX_UNIFORM_VECTORS- See Also:
-
GL_MAX_VARYING_VECTORS
public static final int GL_MAX_VARYING_VECTORS- See Also:
-
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS- See Also:
-
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS- See Also:
-
GL_MAX_TEXTURE_IMAGE_UNITS
public static final int GL_MAX_TEXTURE_IMAGE_UNITS- See Also:
-
GL_MAX_FRAGMENT_UNIFORM_VECTORS
public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS- See Also:
-
GL_SHADER_TYPE
public static final int GL_SHADER_TYPE- See Also:
-
GL_DELETE_STATUS
public static final int GL_DELETE_STATUS- See Also:
-
GL_LINK_STATUS
public static final int GL_LINK_STATUS- See Also:
-
GL_VALIDATE_STATUS
public static final int GL_VALIDATE_STATUS- See Also:
-
GL_ATTACHED_SHADERS
public static final int GL_ATTACHED_SHADERS- See Also:
-
GL_ACTIVE_UNIFORMS
public static final int GL_ACTIVE_UNIFORMS- See Also:
-
GL_ACTIVE_UNIFORM_MAX_LENGTH
public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH- See Also:
-
GL_ACTIVE_ATTRIBUTES
public static final int GL_ACTIVE_ATTRIBUTES- See Also:
-
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH- See Also:
-
GL_SHADING_LANGUAGE_VERSION
public static final int GL_SHADING_LANGUAGE_VERSION- See Also:
-
GL_CURRENT_PROGRAM
public static final int GL_CURRENT_PROGRAM- See Also:
-
GL_NEVER
public static final int GL_NEVER- See Also:
-
GL_LESS
public static final int GL_LESS- See Also:
-
GL_EQUAL
public static final int GL_EQUAL- See Also:
-
GL_LEQUAL
public static final int GL_LEQUAL- See Also:
-
GL_GREATER
public static final int GL_GREATER- See Also:
-
GL_NOTEQUAL
public static final int GL_NOTEQUAL- See Also:
-
GL_GEQUAL
public static final int GL_GEQUAL- See Also:
-
GL_ALWAYS
public static final int GL_ALWAYS- See Also:
-
GL_KEEP
public static final int GL_KEEP- See Also:
-
GL_REPLACE
public static final int GL_REPLACE- See Also:
-
GL_INCR
public static final int GL_INCR- See Also:
-
GL_DECR
public static final int GL_DECR- See Also:
-
GL_INVERT
public static final int GL_INVERT- See Also:
-
GL_INCR_WRAP
public static final int GL_INCR_WRAP- See Also:
-
GL_DECR_WRAP
public static final int GL_DECR_WRAP- See Also:
-
GL_VENDOR
public static final int GL_VENDOR- See Also:
-
GL_RENDERER
public static final int GL_RENDERER- See Also:
-
GL_VERSION
public static final int GL_VERSION- See Also:
-
GL_EXTENSIONS
public static final int GL_EXTENSIONS- See Also:
-
GL_NEAREST
public static final int GL_NEAREST- See Also:
-
GL_LINEAR
public static final int GL_LINEAR- See Also:
-
GL_NEAREST_MIPMAP_NEAREST
public static final int GL_NEAREST_MIPMAP_NEAREST- See Also:
-
GL_LINEAR_MIPMAP_NEAREST
public static final int GL_LINEAR_MIPMAP_NEAREST- See Also:
-
GL_NEAREST_MIPMAP_LINEAR
public static final int GL_NEAREST_MIPMAP_LINEAR- See Also:
-
GL_LINEAR_MIPMAP_LINEAR
public static final int GL_LINEAR_MIPMAP_LINEAR- See Also:
-
GL_TEXTURE_MAG_FILTER
public static final int GL_TEXTURE_MAG_FILTER- See Also:
-
GL_TEXTURE_MIN_FILTER
public static final int GL_TEXTURE_MIN_FILTER- See Also:
-
GL_TEXTURE_WRAP_S
public static final int GL_TEXTURE_WRAP_S- See Also:
-
GL_TEXTURE_WRAP_T
public static final int GL_TEXTURE_WRAP_T- See Also:
-
GL_TEXTURE
public static final int GL_TEXTURE- See Also:
-
GL_TEXTURE_CUBE_MAP
public static final int GL_TEXTURE_CUBE_MAP- See Also:
-
GL_TEXTURE_BINDING_CUBE_MAP
public static final int GL_TEXTURE_BINDING_CUBE_MAP- See Also:
-
GL_TEXTURE_CUBE_MAP_POSITIVE_X
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X- See Also:
-
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X- See Also:
-
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y- See Also:
-
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y- See Also:
-
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z- See Also:
-
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z- See Also:
-
GL_MAX_CUBE_MAP_TEXTURE_SIZE
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE- See Also:
-
GL_TEXTURE0
public static final int GL_TEXTURE0- See Also:
-
GL_TEXTURE1
public static final int GL_TEXTURE1- See Also:
-
GL_TEXTURE2
public static final int GL_TEXTURE2- See Also:
-
GL_TEXTURE3
public static final int GL_TEXTURE3- See Also:
-
GL_TEXTURE4
public static final int GL_TEXTURE4- See Also:
-
GL_TEXTURE5
public static final int GL_TEXTURE5- See Also:
-
GL_TEXTURE6
public static final int GL_TEXTURE6- See Also:
-
GL_TEXTURE7
public static final int GL_TEXTURE7- See Also:
-
GL_TEXTURE8
public static final int GL_TEXTURE8- See Also:
-
GL_TEXTURE9
public static final int GL_TEXTURE9- See Also:
-
GL_TEXTURE10
public static final int GL_TEXTURE10- See Also:
-
GL_TEXTURE11
public static final int GL_TEXTURE11- See Also:
-
GL_TEXTURE12
public static final int GL_TEXTURE12- See Also:
-
GL_TEXTURE13
public static final int GL_TEXTURE13- See Also:
-
GL_TEXTURE14
public static final int GL_TEXTURE14- See Also:
-
GL_TEXTURE15
public static final int GL_TEXTURE15- See Also:
-
GL_TEXTURE16
public static final int GL_TEXTURE16- See Also:
-
GL_TEXTURE17
public static final int GL_TEXTURE17- See Also:
-
GL_TEXTURE18
public static final int GL_TEXTURE18- See Also:
-
GL_TEXTURE19
public static final int GL_TEXTURE19- See Also:
-
GL_TEXTURE20
public static final int GL_TEXTURE20- See Also:
-
GL_TEXTURE21
public static final int GL_TEXTURE21- See Also:
-
GL_TEXTURE22
public static final int GL_TEXTURE22- See Also:
-
GL_TEXTURE23
public static final int GL_TEXTURE23- See Also:
-
GL_TEXTURE24
public static final int GL_TEXTURE24- See Also:
-
GL_TEXTURE25
public static final int GL_TEXTURE25- See Also:
-
GL_TEXTURE26
public static final int GL_TEXTURE26- See Also:
-
GL_TEXTURE27
public static final int GL_TEXTURE27- See Also:
-
GL_TEXTURE28
public static final int GL_TEXTURE28- See Also:
-
GL_TEXTURE29
public static final int GL_TEXTURE29- See Also:
-
GL_TEXTURE30
public static final int GL_TEXTURE30- See Also:
-
GL_TEXTURE31
public static final int GL_TEXTURE31- See Also:
-
GL_REPEAT
public static final int GL_REPEAT- See Also:
-
GL_CLAMP_TO_EDGE
public static final int GL_CLAMP_TO_EDGE- See Also:
-
GL_MIRRORED_REPEAT
public static final int GL_MIRRORED_REPEAT- See Also:
-
GL_FLOAT_VEC2
public static final int GL_FLOAT_VEC2- See Also:
-
GL_FLOAT_VEC3
public static final int GL_FLOAT_VEC3- See Also:
-
GL_FLOAT_VEC4
public static final int GL_FLOAT_VEC4- See Also:
-
GL_INT_VEC2
public static final int GL_INT_VEC2- See Also:
-
GL_INT_VEC3
public static final int GL_INT_VEC3- See Also:
-
GL_INT_VEC4
public static final int GL_INT_VEC4- See Also:
-
GL_BOOL
public static final int GL_BOOL- See Also:
-
GL_BOOL_VEC2
public static final int GL_BOOL_VEC2- See Also:
-
GL_BOOL_VEC3
public static final int GL_BOOL_VEC3- See Also:
-
GL_BOOL_VEC4
public static final int GL_BOOL_VEC4- See Also:
-
GL_FLOAT_MAT2
public static final int GL_FLOAT_MAT2- See Also:
-
GL_FLOAT_MAT3
public static final int GL_FLOAT_MAT3- See Also:
-
GL_FLOAT_MAT4
public static final int GL_FLOAT_MAT4- See Also:
-
GL_SAMPLER_2D
public static final int GL_SAMPLER_2D- See Also:
-
GL_SAMPLER_CUBE
public static final int GL_SAMPLER_CUBE- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_ENABLED
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_SIZE
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_STRIDE
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_TYPE
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_POINTER
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING- See Also:
-
GL_IMPLEMENTATION_COLOR_READ_TYPE
public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE- See Also:
-
GL_IMPLEMENTATION_COLOR_READ_FORMAT
public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT- See Also:
-
GL_COMPILE_STATUS
public static final int GL_COMPILE_STATUS- See Also:
-
GL_INFO_LOG_LENGTH
public static final int GL_INFO_LOG_LENGTH- See Also:
-
GL_SHADER_SOURCE_LENGTH
public static final int GL_SHADER_SOURCE_LENGTH- See Also:
-
GL_SHADER_COMPILER
public static final int GL_SHADER_COMPILER- See Also:
-
GL_SHADER_BINARY_FORMATS
public static final int GL_SHADER_BINARY_FORMATS- See Also:
-
GL_NUM_SHADER_BINARY_FORMATS
public static final int GL_NUM_SHADER_BINARY_FORMATS- See Also:
-
GL_LOW_FLOAT
public static final int GL_LOW_FLOAT- See Also:
-
GL_MEDIUM_FLOAT
public static final int GL_MEDIUM_FLOAT- See Also:
-
GL_HIGH_FLOAT
public static final int GL_HIGH_FLOAT- See Also:
-
GL_LOW_INT
public static final int GL_LOW_INT- See Also:
-
GL_MEDIUM_INT
public static final int GL_MEDIUM_INT- See Also:
-
GL_HIGH_INT
public static final int GL_HIGH_INT- See Also:
-
GL_FRAMEBUFFER
public static final int GL_FRAMEBUFFER- See Also:
-
GL_RENDERBUFFER
public static final int GL_RENDERBUFFER- See Also:
-
GL_RGBA4
public static final int GL_RGBA4- See Also:
-
GL_RGB5_A1
public static final int GL_RGB5_A1- See Also:
-
GL_RGB565
public static final int GL_RGB565- See Also:
-
GL_DEPTH_COMPONENT16
public static final int GL_DEPTH_COMPONENT16- See Also:
-
GL_STENCIL_INDEX
public static final int GL_STENCIL_INDEX- See Also:
-
GL_STENCIL_INDEX8
public static final int GL_STENCIL_INDEX8- See Also:
-
GL_RENDERBUFFER_WIDTH
public static final int GL_RENDERBUFFER_WIDTH- See Also:
-
GL_RENDERBUFFER_HEIGHT
public static final int GL_RENDERBUFFER_HEIGHT- See Also:
-
GL_RENDERBUFFER_INTERNAL_FORMAT
public static final int GL_RENDERBUFFER_INTERNAL_FORMAT- See Also:
-
GL_RENDERBUFFER_RED_SIZE
public static final int GL_RENDERBUFFER_RED_SIZE- See Also:
-
GL_RENDERBUFFER_GREEN_SIZE
public static final int GL_RENDERBUFFER_GREEN_SIZE- See Also:
-
GL_RENDERBUFFER_BLUE_SIZE
public static final int GL_RENDERBUFFER_BLUE_SIZE- See Also:
-
GL_RENDERBUFFER_ALPHA_SIZE
public static final int GL_RENDERBUFFER_ALPHA_SIZE- See Also:
-
GL_RENDERBUFFER_DEPTH_SIZE
public static final int GL_RENDERBUFFER_DEPTH_SIZE- See Also:
-
GL_RENDERBUFFER_STENCIL_SIZE
public static final int GL_RENDERBUFFER_STENCIL_SIZE- See Also:
-
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE- See Also:
-
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME- See Also:
-
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL- See Also:
-
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE- See Also:
-
GL_COLOR_ATTACHMENT0
public static final int GL_COLOR_ATTACHMENT0- See Also:
-
GL_DEPTH_ATTACHMENT
public static final int GL_DEPTH_ATTACHMENT- See Also:
-
GL_STENCIL_ATTACHMENT
public static final int GL_STENCIL_ATTACHMENT- See Also:
-
GL_NONE
public static final int GL_NONE- See Also:
-
GL_FRAMEBUFFER_COMPLETE
public static final int GL_FRAMEBUFFER_COMPLETE- See Also:
-
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT- See Also:
-
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT- See Also:
-
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS- See Also:
-
GL_FRAMEBUFFER_UNSUPPORTED
public static final int GL_FRAMEBUFFER_UNSUPPORTED- See Also:
-
GL_FRAMEBUFFER_BINDING
public static final int GL_FRAMEBUFFER_BINDING- See Also:
-
GL_RENDERBUFFER_BINDING
public static final int GL_RENDERBUFFER_BINDING- See Also:
-
GL_MAX_RENDERBUFFER_SIZE
public static final int GL_MAX_RENDERBUFFER_SIZE- See Also:
-
GL_INVALID_FRAMEBUFFER_OPERATION
public static final int GL_INVALID_FRAMEBUFFER_OPERATION- See Also:
-
bufs
-
checkErrors
public final boolean checkErrors
-
-
Method Details
-
checkError
Checks for any GL error codes and logs them (ifcheckErrors
is true).- Returns:
- true if any errors were reported.
-
glDeleteBuffer
public void glDeleteBuffer(int id) -
glDeleteBuffers
public void glDeleteBuffers(int n, int[] buffers, int offset) -
glDeleteFramebuffer
public void glDeleteFramebuffer(int id) -
glDeleteFramebuffers
public void glDeleteFramebuffers(int n, int[] framebuffers, int offset) -
glDeleteRenderbuffer
public void glDeleteRenderbuffer(int id) -
glDeleteRenderbuffers
public void glDeleteRenderbuffers(int n, int[] renderbuffers, int offset) -
glDeleteTexture
public void glDeleteTexture(int id) -
glDeleteTextures
public void glDeleteTextures(int n, int[] textures, int offset) -
glGenBuffer
public int glGenBuffer() -
glGenBuffers
public void glGenBuffers(int n, int[] buffers, int offset) -
glGenFramebuffer
public int glGenFramebuffer() -
glGenFramebuffers
public void glGenFramebuffers(int n, int[] framebuffers, int offset) -
glGenRenderbuffer
public int glGenRenderbuffer() -
glGenRenderbuffers
public void glGenRenderbuffers(int n, int[] renderbuffers, int offset) -
glGenTexture
public int glGenTexture() -
glGenTextures
public void glGenTextures(int n, int[] textures, int offset) -
glGetAttachedShaders
public void glGetAttachedShaders(int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset) -
glGetBooleanv
public void glGetBooleanv(int pname, byte[] params, int offset) -
glGetBufferParameteriv
public void glGetBufferParameteriv(int target, int pname, int[] params, int offset) -
glGetFloatv
public void glGetFloatv(int pname, float[] params, int offset) -
glGetFramebufferAttachmentParameteriv
public void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params, int offset) -
glGetIntegerv
public void glGetIntegerv(int pname, int[] params, int offset) -
glGetProgramBinary
public void glGetProgramBinary(int program, int bufsize, int[] length, int lengthOffset, int[] binaryformat, int binaryformatOffset, Buffer binary) -
glGetProgramInfoLog
public void glGetProgramInfoLog(int program, int bufsize, int[] length, int lengthOffset, byte[] infolog, int infologOffset) -
glGetProgramiv
public void glGetProgramiv(int program, int pname, int[] params, int offset) -
glGetRenderbufferParameteriv
public void glGetRenderbufferParameteriv(int target, int pname, int[] params, int offset) -
glGetShaderInfoLog
public void glGetShaderInfoLog(int shader, int bufsize, int[] length, int lengthOffset, byte[] infolog, int infologOffset) -
glGetShaderiv
public void glGetShaderiv(int shader, int pname, int[] params, int offset) -
glGetTexParameterfv
public void glGetTexParameterfv(int target, int pname, float[] params, int offset) -
glGetTexParameteriv
public void glGetTexParameteriv(int target, int pname, int[] params, int offset) -
glGetUniformfv
public void glGetUniformfv(int program, int location, float[] params, int offset) -
glGetUniformiv
public void glGetUniformiv(int program, int location, int[] params, int offset) -
glGetVertexAttribfv
public void glGetVertexAttribfv(int index, int pname, float[] params, int offset) -
glGetVertexAttribiv
public void glGetVertexAttribiv(int index, int pname, int[] params, int offset) -
glTexParameterfv
public void glTexParameterfv(int target, int pname, float[] params, int offset) -
glTexParameteriv
public void glTexParameteriv(int target, int pname, int[] params, int offset) -
glUniform1fv
public void glUniform1fv(int location, int count, float[] v, int offset) -
glUniform1iv
public void glUniform1iv(int location, int count, int[] v, int offset) -
glUniform2fv
public void glUniform2fv(int location, int count, float[] v, int offset) -
glUniform2iv
public void glUniform2iv(int location, int count, int[] v, int offset) -
glUniform3fv
public void glUniform3fv(int location, int count, float[] v, int offset) -
glUniform3iv
public void glUniform3iv(int location, int count, int[] v, int offset) -
glUniform4fv
public void glUniform4fv(int location, int count, float[] v, int offset) -
glUniform4iv
public void glUniform4iv(int location, int count, int[] v, int offset) -
glUniformMatrix2fv
public void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset) -
glUniformMatrix3fv
public void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset) -
glUniformMatrix4fv
public void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset) -
glVertexAttrib1fv
public void glVertexAttrib1fv(int indx, float[] values, int offset) -
glVertexAttrib2fv
public void glVertexAttrib2fv(int indx, float[] values, int offset) -
glVertexAttrib3fv
public void glVertexAttrib3fv(int indx, float[] values, int offset) -
glVertexAttrib4fv
public void glVertexAttrib4fv(int indx, float[] values, int offset) -
getPlatformGLExtensions
-
getSwapInterval
public abstract int getSwapInterval() -
glActiveTexture
public abstract void glActiveTexture(int texture) -
glAttachShader
public abstract void glAttachShader(int program, int shader) -
glBindAttribLocation
-
glBindBuffer
public abstract void glBindBuffer(int target, int buffer) -
glBindFramebuffer
public abstract void glBindFramebuffer(int target, int framebuffer) -
glBindRenderbuffer
public abstract void glBindRenderbuffer(int target, int renderbuffer) -
glBindTexture
public abstract void glBindTexture(int target, int texture) -
glBlendColor
public abstract void glBlendColor(float red, float green, float blue, float alpha) -
glBlendEquation
public abstract void glBlendEquation(int mode) -
glBlendEquationSeparate
public abstract void glBlendEquationSeparate(int modeRGB, int modeAlpha) -
glBlendFunc
public abstract void glBlendFunc(int sfactor, int dfactor) -
glBlendFuncSeparate
public abstract void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) -
glBufferData
-
glBufferSubData
-
glCheckFramebufferStatus
public abstract int glCheckFramebufferStatus(int target) -
glClear
public abstract void glClear(int mask) -
glClearColor
public abstract void glClearColor(float red, float green, float blue, float alpha) -
glClearDepth
public abstract void glClearDepth(double depth) -
glClearDepthf
public abstract void glClearDepthf(float depth) -
glClearStencil
public abstract void glClearStencil(int s) -
glColorMask
public abstract void glColorMask(boolean red, boolean green, boolean blue, boolean alpha) -
glCompileShader
public abstract void glCompileShader(int shader) -
glCompressedTexImage2D
public abstract void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) -
glCompressedTexImage2D
public abstract void glCompressedTexImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) -
glCompressedTexImage3D
public abstract void glCompressedTexImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, Buffer arg8) -
glCompressedTexImage3D
public abstract void glCompressedTexImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) -
glCompressedTexSubImage2D
public abstract void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) -
glCompressedTexSubImage2D
public abstract void glCompressedTexSubImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) -
glCompressedTexSubImage3D
public abstract void glCompressedTexSubImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, Buffer arg10) -
glCompressedTexSubImage3D
public abstract void glCompressedTexSubImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) -
glCopyTexImage2D
public abstract void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) -
glCopyTexSubImage2D
public abstract void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) -
glCopyTexSubImage3D
public abstract void glCopyTexSubImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) -
glCreateProgram
public abstract int glCreateProgram() -
glCreateShader
public abstract int glCreateShader(int type) -
glCullFace
public abstract void glCullFace(int mode) -
glDeleteBuffers
-
glDeleteFramebuffers
-
glDeleteProgram
public abstract void glDeleteProgram(int program) -
glDeleteRenderbuffers
-
glDeleteShader
public abstract void glDeleteShader(int shader) -
glDeleteTextures
-
glDepthFunc
public abstract void glDepthFunc(int func) -
glDepthMask
public abstract void glDepthMask(boolean flag) -
glDepthRange
public abstract void glDepthRange(double zNear, double zFar) -
glDepthRangef
public abstract void glDepthRangef(float zNear, float zFar) -
glDetachShader
public abstract void glDetachShader(int program, int shader) -
glDisable
public abstract void glDisable(int cap) -
glDisableVertexAttribArray
public abstract void glDisableVertexAttribArray(int index) -
glDrawArrays
public abstract void glDrawArrays(int mode, int first, int count) -
glDrawElements
-
glDrawElements
public abstract void glDrawElements(int mode, int count, int type, int offset) -
glEnable
public abstract void glEnable(int cap) -
glEnableVertexAttribArray
public abstract void glEnableVertexAttribArray(int index) -
glFinish
public abstract void glFinish() -
glFlush
public abstract void glFlush() -
glFramebufferRenderbuffer
public abstract void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer) -
glFramebufferTexture2D
public abstract void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level) -
glFramebufferTexture3D
public abstract void glFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level, int zoffset) -
glFrontFace
public abstract void glFrontFace(int mode) -
glGenBuffers
-
glGenerateMipmap
public abstract void glGenerateMipmap(int target) -
glGenFramebuffers
-
glGenRenderbuffers
-
glGenTextures
-
glGetActiveAttrib
-
glGetActiveUniform
-
glGetAttachedShaders
-
glGetAttribLocation
-
glGetBoolean
public abstract boolean glGetBoolean(int pname) -
glGetBooleanv
-
glGetBoundBuffer
public abstract int glGetBoundBuffer(int arg0) -
glGetBufferParameteriv
-
glGetError
public abstract int glGetError() -
glGetFloat
public abstract float glGetFloat(int pname) -
glGetFloatv
-
glGetFramebufferAttachmentParameteriv
public abstract void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params) -
glGetInteger
public abstract int glGetInteger(int pname) -
glGetIntegerv
-
glGetProgramBinary
-
glGetProgramInfoLog
public abstract void glGetProgramInfoLog(int program, int bufsize, IntBuffer length, ByteBuffer infolog) -
glGetProgramInfoLog
-
glGetProgramiv
-
glGetRenderbufferParameteriv
-
glGetShaderInfoLog
public abstract void glGetShaderInfoLog(int shader, int bufsize, IntBuffer length, ByteBuffer infolog) -
glGetShaderInfoLog
-
glGetShaderiv
-
glGetShaderPrecisionFormat
public abstract void glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset) -
glGetShaderPrecisionFormat
-
glGetShaderSource
public abstract void glGetShaderSource(int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset) -
glGetShaderSource
public abstract void glGetShaderSource(int shader, int bufsize, IntBuffer length, ByteBuffer source) -
glGetString
-
glGetTexParameterfv
-
glGetTexParameteriv
-
glGetUniformfv
-
glGetUniformiv
-
glGetUniformLocation
-
glGetVertexAttribfv
-
glGetVertexAttribiv
-
glHint
public abstract void glHint(int target, int mode) -
glIsBuffer
public abstract boolean glIsBuffer(int buffer) -
glIsEnabled
public abstract boolean glIsEnabled(int cap) -
glIsFramebuffer
public abstract boolean glIsFramebuffer(int framebuffer) -
glIsProgram
public abstract boolean glIsProgram(int program) -
glIsRenderbuffer
public abstract boolean glIsRenderbuffer(int renderbuffer) -
glIsShader
public abstract boolean glIsShader(int shader) -
glIsTexture
public abstract boolean glIsTexture(int texture) -
glIsVBOArrayEnabled
public abstract boolean glIsVBOArrayEnabled() -
glIsVBOElementEnabled
public abstract boolean glIsVBOElementEnabled() -
glLineWidth
public abstract void glLineWidth(float width) -
glLinkProgram
public abstract void glLinkProgram(int program) -
glMapBuffer
-
glPixelStorei
public abstract void glPixelStorei(int pname, int param) -
glPolygonOffset
public abstract void glPolygonOffset(float factor, float units) -
glProgramBinary
-
glReadPixels
public abstract void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) -
glReadPixels
public abstract void glReadPixels(int x, int y, int width, int height, int format, int type, int pixelsBufferOffset) -
glReleaseShaderCompiler
public abstract void glReleaseShaderCompiler() -
glRenderbufferStorage
public abstract void glRenderbufferStorage(int target, int internalformat, int width, int height) -
glSampleCoverage
public abstract void glSampleCoverage(float value, boolean invert) -
glScissor
public abstract void glScissor(int x, int y, int width, int height) -
glShaderBinary
public abstract void glShaderBinary(int n, int[] shaders, int offset, int binaryformat, Buffer binary, int length) -
glShaderBinary
-
glShaderSource
public abstract void glShaderSource(int shader, int count, String[] strings, int[] length, int lengthOffset) -
glShaderSource
-
glShaderSource
-
glStencilFunc
public abstract void glStencilFunc(int func, int ref, int mask) -
glStencilFuncSeparate
public abstract void glStencilFuncSeparate(int face, int func, int ref, int mask) -
glStencilMask
public abstract void glStencilMask(int mask) -
glStencilMaskSeparate
public abstract void glStencilMaskSeparate(int face, int mask) -
glStencilOp
public abstract void glStencilOp(int fail, int zfail, int zpass) -
glStencilOpSeparate
public abstract void glStencilOpSeparate(int face, int fail, int zfail, int zpass) -
glTexImage2D
public abstract void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) -
glTexImage2D
public abstract void glTexImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) -
glTexImage3D
public abstract void glTexImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, Buffer arg9) -
glTexImage3D
public abstract void glTexImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) -
glTexParameterf
public abstract void glTexParameterf(int target, int pname, float param) -
glTexParameterfv
-
glTexParameteri
public abstract void glTexParameteri(int target, int pname, int param) -
glTexParameteriv
-
glTexSubImage2D
public abstract void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) -
glTexSubImage2D
public abstract void glTexSubImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) -
glTexSubImage3D
public abstract void glTexSubImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, Buffer arg10) -
glTexSubImage3D
public abstract void glTexSubImage3D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) -
glUniform1f
public abstract void glUniform1f(int location, float x) -
glUniform1fv
-
glUniform1i
public abstract void glUniform1i(int location, int x) -
glUniform1iv
-
glUniform2f
public abstract void glUniform2f(int location, float x, float y) -
glUniform2fv
-
glUniform2i
public abstract void glUniform2i(int location, int x, int y) -
glUniform2iv
-
glUniform3f
public abstract void glUniform3f(int location, float x, float y, float z) -
glUniform3fv
-
glUniform3i
public abstract void glUniform3i(int location, int x, int y, int z) -
glUniform3iv
-
glUniform4f
public abstract void glUniform4f(int location, float x, float y, float z, float w) -
glUniform4fv
-
glUniform4i
public abstract void glUniform4i(int location, int x, int y, int z, int w) -
glUniform4iv
-
glUniformMatrix2fv
public abstract void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value) -
glUniformMatrix3fv
public abstract void glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value) -
glUniformMatrix4fv
public abstract void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value) -
glUnmapBuffer
public abstract boolean glUnmapBuffer(int arg0) -
glUseProgram
public abstract void glUseProgram(int program) -
glValidateProgram
public abstract void glValidateProgram(int program) -
glVertexAttrib1f
public abstract void glVertexAttrib1f(int indx, float x) -
glVertexAttrib1fv
-
glVertexAttrib2f
public abstract void glVertexAttrib2f(int indx, float x, float y) -
glVertexAttrib2fv
-
glVertexAttrib3f
public abstract void glVertexAttrib3f(int indx, float x, float y, float z) -
glVertexAttrib3fv
-
glVertexAttrib4f
public abstract void glVertexAttrib4f(int indx, float x, float y, float z, float w) -
glVertexAttrib4fv
-
glVertexAttribPointer
public abstract void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) -
glVertexAttribPointer
public abstract void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr) -
glViewport
public abstract void glViewport(int x, int y, int width, int height) -
hasGLSL
public abstract boolean hasGLSL() -
isExtensionAvailable
-
isFunctionAvailable
-