Class GL20Interceptor
- java.lang.Object
-
- com.badlogic.gdx.graphics.profiling.GLInterceptor
-
- com.badlogic.gdx.graphics.profiling.GL20Interceptor
-
- All Implemented Interfaces:
GL20
public class GL20Interceptor extends GLInterceptor implements GL20
-
-
Field Summary
Fields Modifier and Type Field Description protected GL20gl20-
Fields inherited from class com.badlogic.gdx.graphics.profiling.GLInterceptor
calls, drawCalls, glProfiler, shaderSwitches, textureBindings, vertexCount
-
Fields inherited from interface com.badlogic.gdx.graphics.GL20
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_TEXTURE, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA, GL_ALPHA_BITS, GL_ALWAYS, GL_ARRAY_BUFFER, GL_ARRAY_BUFFER_BINDING, GL_ATTACHED_SHADERS, GL_BACK, GL_BLEND, GL_BLEND_COLOR, GL_BLEND_DST_ALPHA, GL_BLEND_DST_RGB, GL_BLEND_EQUATION, GL_BLEND_EQUATION_ALPHA, GL_BLEND_EQUATION_RGB, GL_BLEND_SRC_ALPHA, GL_BLEND_SRC_RGB, GL_BLUE_BITS, GL_BOOL, GL_BOOL_VEC2, GL_BOOL_VEC3, GL_BOOL_VEC4, GL_BUFFER_SIZE, GL_BUFFER_USAGE, GL_BYTE, GL_CCW, GL_CLAMP_TO_EDGE, GL_COLOR_ATTACHMENT0, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_WRITEMASK, GL_COMPILE_STATUS, GL_COMPRESSED_TEXTURE_FORMATS, GL_CONSTANT_ALPHA, GL_CONSTANT_COLOR, GL_COVERAGE_BUFFER_BIT_NV, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_PROGRAM, GL_CURRENT_VERTEX_ATTRIB, GL_CW, GL_DECR, GL_DECR_WRAP, GL_DELETE_STATUS, GL_DEPTH_ATTACHMENT, GL_DEPTH_BITS, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DITHER, GL_DONT_CARE, GL_DST_ALPHA, GL_DST_COLOR, GL_DYNAMIC_DRAW, GL_ELEMENT_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER_BINDING, GL_EQUAL, GL_ES_VERSION_2_0, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FIXED, GL_FLOAT, GL_FLOAT_MAT2, GL_FLOAT_MAT3, GL_FLOAT_MAT4, GL_FLOAT_VEC2, GL_FLOAT_VEC3, GL_FLOAT_VEC4, GL_FRAGMENT_SHADER, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, GL_FRAMEBUFFER_BINDING, GL_FRAMEBUFFER_COMPLETE, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, GL_FRAMEBUFFER_UNSUPPORTED, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FUNC_ADD, GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_SUBTRACT, GL_GENERATE_MIPMAP, GL_GENERATE_MIPMAP_HINT, GL_GEQUAL, GL_GREATER, GL_GREEN_BITS, GL_HIGH_FLOAT, GL_HIGH_INT, GL_IMPLEMENTATION_COLOR_READ_FORMAT, GL_IMPLEMENTATION_COLOR_READ_TYPE, GL_INCR, GL_INCR_WRAP, GL_INFO_LOG_LENGTH, GL_INT, GL_INT_VEC2, GL_INT_VEC3, GL_INT_VEC4, GL_INVALID_ENUM, GL_INVALID_FRAMEBUFFER_OPERATION, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEQUAL, GL_LESS, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINE_WIDTH, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LINK_STATUS, GL_LOW_FLOAT, GL_LOW_INT, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MAX_FRAGMENT_UNIFORM_VECTORS, GL_MAX_RENDERBUFFER_SIZE, GL_MAX_TEXTURE_IMAGE_UNITS, GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_UNITS, GL_MAX_VARYING_VECTORS, GL_MAX_VERTEX_ATTRIBS, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, GL_MAX_VERTEX_UNIFORM_VECTORS, GL_MAX_VIEWPORT_DIMS, GL_MEDIUM_FLOAT, GL_MEDIUM_INT, GL_MIRRORED_REPEAT, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOTEQUAL, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_NUM_SHADER_BINARY_FORMATS, GL_ONE, GL_ONE_MINUS_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_COLOR, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_POINTS, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_UNITS, GL_RED_BITS, GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, GL_RENDERBUFFER_BINDING, GL_RENDERBUFFER_BLUE_SIZE, GL_RENDERBUFFER_DEPTH_SIZE, GL_RENDERBUFFER_GREEN_SIZE, GL_RENDERBUFFER_HEIGHT, GL_RENDERBUFFER_INTERNAL_FORMAT, GL_RENDERBUFFER_RED_SIZE, GL_RENDERBUFFER_STENCIL_SIZE, GL_RENDERBUFFER_WIDTH, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB5_A1, GL_RGB565, GL_RGBA, GL_RGBA4, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_BUFFERS, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_INVERT, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLER_2D, GL_SAMPLER_CUBE, GL_SAMPLES, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SHADER_BINARY_FORMATS, GL_SHADER_COMPILER, GL_SHADER_SOURCE_LENGTH, GL_SHADER_TYPE, GL_SHADING_LANGUAGE_VERSION, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STATIC_DRAW, GL_STENCIL_ATTACHMENT, GL_STENCIL_BACK_FAIL, GL_STENCIL_BACK_FUNC, GL_STENCIL_BACK_PASS_DEPTH_FAIL, GL_STENCIL_BACK_PASS_DEPTH_PASS, GL_STENCIL_BACK_REF, GL_STENCIL_BACK_VALUE_MASK, GL_STENCIL_BACK_WRITEMASK, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_INDEX8, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STREAM_DRAW, GL_SUBPIXEL_BITS, GL_TEXTURE, GL_TEXTURE_2D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_CUBE_MAP, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_ANISOTROPY_EXT, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_VALIDATE_STATUS, GL_VENDOR, GL_VERSION, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_POINTER, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_PROGRAM_POINT_SIZE, GL_VERTEX_SHADER, GL_VIEWPORT, GL_ZERO
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGL20Interceptor(GLProfiler glProfiler, GL20 gl20)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidglActiveTexture(int texture)voidglAttachShader(int program, int shader)voidglBindAttribLocation(int program, int index, java.lang.String name)voidglBindBuffer(int target, int buffer)voidglBindFramebuffer(int target, int framebuffer)voidglBindRenderbuffer(int target, int renderbuffer)voidglBindTexture(int target, int texture)voidglBlendColor(float red, float green, float blue, float alpha)voidglBlendEquation(int mode)voidglBlendEquationSeparate(int modeRGB, int modeAlpha)voidglBlendFunc(int sfactor, int dfactor)voidglBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)voidglBufferData(int target, int size, java.nio.Buffer data, int usage)voidglBufferSubData(int target, int offset, int size, java.nio.Buffer data)intglCheckFramebufferStatus(int target)voidglClear(int mask)voidglClearColor(float red, float green, float blue, float alpha)voidglClearDepthf(float depth)voidglClearStencil(int s)voidglColorMask(boolean red, boolean green, boolean blue, boolean alpha)voidglCompileShader(int shader)voidglCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data)voidglCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data)voidglCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)voidglCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)intglCreateProgram()intglCreateShader(int type)voidglCullFace(int mode)voidglDeleteBuffer(int buffer)voidglDeleteBuffers(int n, java.nio.IntBuffer buffers)voidglDeleteFramebuffer(int framebuffer)voidglDeleteFramebuffers(int n, java.nio.IntBuffer framebuffers)voidglDeleteProgram(int program)voidglDeleteRenderbuffer(int renderbuffer)voidglDeleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)voidglDeleteShader(int shader)voidglDeleteTexture(int texture)voidglDeleteTextures(int n, java.nio.IntBuffer textures)voidglDepthFunc(int func)voidglDepthMask(boolean flag)voidglDepthRangef(float zNear, float zFar)voidglDetachShader(int program, int shader)voidglDisable(int cap)voidglDisableVertexAttribArray(int index)voidglDrawArrays(int mode, int first, int count)voidglDrawElements(int mode, int count, int type, int indices)voidglDrawElements(int mode, int count, int type, java.nio.Buffer indices)Not fully supported with GWT backend: indices content is ignored, only buffer position is used.voidglEnable(int cap)voidglEnableVertexAttribArray(int index)voidglFinish()voidglFlush()voidglFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)voidglFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)voidglFrontFace(int mode)intglGenBuffer()voidglGenBuffers(int n, java.nio.IntBuffer buffers)voidglGenerateMipmap(int target)intglGenFramebuffer()voidglGenFramebuffers(int n, java.nio.IntBuffer framebuffers)intglGenRenderbuffer()voidglGenRenderbuffers(int n, java.nio.IntBuffer renderbuffers)intglGenTexture()voidglGenTextures(int n, java.nio.IntBuffer textures)java.lang.StringglGetActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)java.lang.StringglGetActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)voidglGetAttachedShaders(int program, int maxcount, java.nio.Buffer count, java.nio.IntBuffer shaders)intglGetAttribLocation(int program, java.lang.String name)voidglGetBooleanv(int pname, java.nio.Buffer params)voidglGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)intglGetError()voidglGetFloatv(int pname, java.nio.FloatBuffer params)voidglGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)voidglGetIntegerv(int pname, java.nio.IntBuffer params)java.lang.StringglGetProgramInfoLog(int program)voidglGetProgramiv(int program, int pname, java.nio.IntBuffer params)voidglGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)java.lang.StringglGetShaderInfoLog(int shader)voidglGetShaderiv(int shader, int pname, java.nio.IntBuffer params)voidglGetShaderPrecisionFormat(int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision)java.lang.StringglGetString(int name)voidglGetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)voidglGetTexParameteriv(int target, int pname, java.nio.IntBuffer params)voidglGetUniformfv(int program, int location, java.nio.FloatBuffer params)voidglGetUniformiv(int program, int location, java.nio.IntBuffer params)intglGetUniformLocation(int program, java.lang.String name)voidglGetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)voidglGetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)voidglGetVertexAttribPointerv(int index, int pname, java.nio.Buffer pointer)voidglHint(int target, int mode)booleanglIsBuffer(int buffer)booleanglIsEnabled(int cap)booleanglIsFramebuffer(int framebuffer)booleanglIsProgram(int program)booleanglIsRenderbuffer(int renderbuffer)booleanglIsShader(int shader)booleanglIsTexture(int texture)voidglLineWidth(float width)voidglLinkProgram(int program)voidglPixelStorei(int pname, int param)voidglPolygonOffset(float factor, float units)voidglReadPixels(int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels)voidglReleaseShaderCompiler()voidglRenderbufferStorage(int target, int internalformat, int width, int height)voidglSampleCoverage(float value, boolean invert)voidglScissor(int x, int y, int width, int height)voidglShaderBinary(int n, java.nio.IntBuffer shaders, int binaryformat, java.nio.Buffer binary, int length)voidglShaderSource(int shader, java.lang.String string)voidglStencilFunc(int func, int ref, int mask)voidglStencilFuncSeparate(int face, int func, int ref, int mask)voidglStencilMask(int mask)voidglStencilMaskSeparate(int face, int mask)voidglStencilOp(int fail, int zfail, int zpass)voidglStencilOpSeparate(int face, int fail, int zfail, int zpass)voidglTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)voidglTexParameterf(int target, int pname, float param)voidglTexParameterfv(int target, int pname, java.nio.FloatBuffer params)voidglTexParameteri(int target, int pname, int param)voidglTexParameteriv(int target, int pname, java.nio.IntBuffer params)voidglTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels)voidglUniform1f(int location, float x)voidglUniform1fv(int location, int count, float[] v, int offset)voidglUniform1fv(int location, int count, java.nio.FloatBuffer v)voidglUniform1i(int location, int x)voidglUniform1iv(int location, int count, int[] v, int offset)voidglUniform1iv(int location, int count, java.nio.IntBuffer v)voidglUniform2f(int location, float x, float y)voidglUniform2fv(int location, int count, float[] v, int offset)voidglUniform2fv(int location, int count, java.nio.FloatBuffer v)voidglUniform2i(int location, int x, int y)voidglUniform2iv(int location, int count, int[] v, int offset)voidglUniform2iv(int location, int count, java.nio.IntBuffer v)voidglUniform3f(int location, float x, float y, float z)voidglUniform3fv(int location, int count, float[] v, int offset)voidglUniform3fv(int location, int count, java.nio.FloatBuffer v)voidglUniform3i(int location, int x, int y, int z)voidglUniform3iv(int location, int count, int[] v, int offset)voidglUniform3iv(int location, int count, java.nio.IntBuffer v)voidglUniform4f(int location, float x, float y, float z, float w)voidglUniform4fv(int location, int count, float[] v, int offset)voidglUniform4fv(int location, int count, java.nio.FloatBuffer v)voidglUniform4i(int location, int x, int y, int z, int w)voidglUniform4iv(int location, int count, int[] v, int offset)voidglUniform4iv(int location, int count, java.nio.IntBuffer v)voidglUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)voidglUniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)voidglUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)voidglUniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)voidglUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)voidglUniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)voidglUseProgram(int program)voidglValidateProgram(int program)voidglVertexAttrib1f(int indx, float x)voidglVertexAttrib1fv(int indx, java.nio.FloatBuffer values)voidglVertexAttrib2f(int indx, float x, float y)voidglVertexAttrib2fv(int indx, java.nio.FloatBuffer values)voidglVertexAttrib3f(int indx, float x, float y, float z)voidglVertexAttrib3fv(int indx, java.nio.FloatBuffer values)voidglVertexAttrib4f(int indx, float x, float y, float z, float w)voidglVertexAttrib4fv(int indx, java.nio.FloatBuffer values)voidglVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr)voidglVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr)In OpenGl core profiles (3.1+), passing a pointer to client memory is not valid.voidglViewport(int x, int y, int width, int height)-
Methods inherited from class com.badlogic.gdx.graphics.profiling.GLInterceptor
getCalls, getDrawCalls, getShaderSwitches, getTextureBindings, getVertexCount, reset, resolveErrorNumber
-
-
-
-
Field Detail
-
gl20
protected final GL20 gl20
-
-
Constructor Detail
-
GL20Interceptor
protected GL20Interceptor(GLProfiler glProfiler, GL20 gl20)
-
-
Method Detail
-
glActiveTexture
public void glActiveTexture(int texture)
- Specified by:
glActiveTexturein interfaceGL20
-
glBindTexture
public void glBindTexture(int target, int texture)- Specified by:
glBindTexturein interfaceGL20
-
glBlendFunc
public void glBlendFunc(int sfactor, int dfactor)- Specified by:
glBlendFuncin interfaceGL20
-
glClearColor
public void glClearColor(float red, float green, float blue, float alpha)- Specified by:
glClearColorin interfaceGL20
-
glClearDepthf
public void glClearDepthf(float depth)
- Specified by:
glClearDepthfin interfaceGL20
-
glClearStencil
public void glClearStencil(int s)
- Specified by:
glClearStencilin interfaceGL20
-
glColorMask
public void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)- Specified by:
glColorMaskin interfaceGL20
-
glCompressedTexImage2D
public void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data)- Specified by:
glCompressedTexImage2Din interfaceGL20
-
glCompressedTexSubImage2D
public void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data)- Specified by:
glCompressedTexSubImage2Din interfaceGL20
-
glCopyTexImage2D
public void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)- Specified by:
glCopyTexImage2Din interfaceGL20
-
glCopyTexSubImage2D
public void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)- Specified by:
glCopyTexSubImage2Din interfaceGL20
-
glCullFace
public void glCullFace(int mode)
- Specified by:
glCullFacein interfaceGL20
-
glDeleteTextures
public void glDeleteTextures(int n, java.nio.IntBuffer textures)- Specified by:
glDeleteTexturesin interfaceGL20
-
glDeleteTexture
public void glDeleteTexture(int texture)
- Specified by:
glDeleteTexturein interfaceGL20
-
glDepthFunc
public void glDepthFunc(int func)
- Specified by:
glDepthFuncin interfaceGL20
-
glDepthMask
public void glDepthMask(boolean flag)
- Specified by:
glDepthMaskin interfaceGL20
-
glDepthRangef
public void glDepthRangef(float zNear, float zFar)- Specified by:
glDepthRangefin interfaceGL20
-
glDrawArrays
public void glDrawArrays(int mode, int first, int count)- Specified by:
glDrawArraysin interfaceGL20
-
glDrawElements
public void glDrawElements(int mode, int count, int type, java.nio.Buffer indices)Description copied from interface:GL20Not fully supported with GWT backend: indices content is ignored, only buffer position is used.- Specified by:
glDrawElementsin interfaceGL20
-
glFrontFace
public void glFrontFace(int mode)
- Specified by:
glFrontFacein interfaceGL20
-
glGenTextures
public void glGenTextures(int n, java.nio.IntBuffer textures)- Specified by:
glGenTexturesin interfaceGL20
-
glGenTexture
public int glGenTexture()
- Specified by:
glGenTexturein interfaceGL20
-
glGetError
public int glGetError()
- Specified by:
glGetErrorin interfaceGL20
-
glGetIntegerv
public void glGetIntegerv(int pname, java.nio.IntBuffer params)- Specified by:
glGetIntegervin interfaceGL20
-
glGetString
public java.lang.String glGetString(int name)
- Specified by:
glGetStringin interfaceGL20
-
glLineWidth
public void glLineWidth(float width)
- Specified by:
glLineWidthin interfaceGL20
-
glPixelStorei
public void glPixelStorei(int pname, int param)- Specified by:
glPixelStoreiin interfaceGL20
-
glPolygonOffset
public void glPolygonOffset(float factor, float units)- Specified by:
glPolygonOffsetin interfaceGL20
-
glReadPixels
public void glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels)- Specified by:
glReadPixelsin interfaceGL20
-
glScissor
public void glScissor(int x, int y, int width, int height)
-
glStencilFunc
public void glStencilFunc(int func, int ref, int mask)- Specified by:
glStencilFuncin interfaceGL20
-
glStencilMask
public void glStencilMask(int mask)
- Specified by:
glStencilMaskin interfaceGL20
-
glStencilOp
public void glStencilOp(int fail, int zfail, int zpass)- Specified by:
glStencilOpin interfaceGL20
-
glTexImage2D
public void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)- Specified by:
glTexImage2Din interfaceGL20
-
glTexParameterf
public void glTexParameterf(int target, int pname, float param)- Specified by:
glTexParameterfin interfaceGL20
-
glTexSubImage2D
public void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels)- Specified by:
glTexSubImage2Din interfaceGL20
-
glViewport
public void glViewport(int x, int y, int width, int height)- Specified by:
glViewportin interfaceGL20
-
glAttachShader
public void glAttachShader(int program, int shader)- Specified by:
glAttachShaderin interfaceGL20
-
glBindAttribLocation
public void glBindAttribLocation(int program, int index, java.lang.String name)- Specified by:
glBindAttribLocationin interfaceGL20
-
glBindBuffer
public void glBindBuffer(int target, int buffer)- Specified by:
glBindBufferin interfaceGL20
-
glBindFramebuffer
public void glBindFramebuffer(int target, int framebuffer)- Specified by:
glBindFramebufferin interfaceGL20
-
glBindRenderbuffer
public void glBindRenderbuffer(int target, int renderbuffer)- Specified by:
glBindRenderbufferin interfaceGL20
-
glBlendColor
public void glBlendColor(float red, float green, float blue, float alpha)- Specified by:
glBlendColorin interfaceGL20
-
glBlendEquation
public void glBlendEquation(int mode)
- Specified by:
glBlendEquationin interfaceGL20
-
glBlendEquationSeparate
public void glBlendEquationSeparate(int modeRGB, int modeAlpha)- Specified by:
glBlendEquationSeparatein interfaceGL20
-
glBlendFuncSeparate
public void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)- Specified by:
glBlendFuncSeparatein interfaceGL20
-
glBufferData
public void glBufferData(int target, int size, java.nio.Buffer data, int usage)- Specified by:
glBufferDatain interfaceGL20
-
glBufferSubData
public void glBufferSubData(int target, int offset, int size, java.nio.Buffer data)- Specified by:
glBufferSubDatain interfaceGL20
-
glCheckFramebufferStatus
public int glCheckFramebufferStatus(int target)
- Specified by:
glCheckFramebufferStatusin interfaceGL20
-
glCompileShader
public void glCompileShader(int shader)
- Specified by:
glCompileShaderin interfaceGL20
-
glCreateProgram
public int glCreateProgram()
- Specified by:
glCreateProgramin interfaceGL20
-
glCreateShader
public int glCreateShader(int type)
- Specified by:
glCreateShaderin interfaceGL20
-
glDeleteBuffer
public void glDeleteBuffer(int buffer)
- Specified by:
glDeleteBufferin interfaceGL20
-
glDeleteBuffers
public void glDeleteBuffers(int n, java.nio.IntBuffer buffers)- Specified by:
glDeleteBuffersin interfaceGL20
-
glDeleteFramebuffer
public void glDeleteFramebuffer(int framebuffer)
- Specified by:
glDeleteFramebufferin interfaceGL20
-
glDeleteFramebuffers
public void glDeleteFramebuffers(int n, java.nio.IntBuffer framebuffers)- Specified by:
glDeleteFramebuffersin interfaceGL20
-
glDeleteProgram
public void glDeleteProgram(int program)
- Specified by:
glDeleteProgramin interfaceGL20
-
glDeleteRenderbuffer
public void glDeleteRenderbuffer(int renderbuffer)
- Specified by:
glDeleteRenderbufferin interfaceGL20
-
glDeleteRenderbuffers
public void glDeleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)- Specified by:
glDeleteRenderbuffersin interfaceGL20
-
glDeleteShader
public void glDeleteShader(int shader)
- Specified by:
glDeleteShaderin interfaceGL20
-
glDetachShader
public void glDetachShader(int program, int shader)- Specified by:
glDetachShaderin interfaceGL20
-
glDisableVertexAttribArray
public void glDisableVertexAttribArray(int index)
- Specified by:
glDisableVertexAttribArrayin interfaceGL20
-
glDrawElements
public void glDrawElements(int mode, int count, int type, int indices)- Specified by:
glDrawElementsin interfaceGL20
-
glEnableVertexAttribArray
public void glEnableVertexAttribArray(int index)
- Specified by:
glEnableVertexAttribArrayin interfaceGL20
-
glFramebufferRenderbuffer
public void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)- Specified by:
glFramebufferRenderbufferin interfaceGL20
-
glFramebufferTexture2D
public void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)- Specified by:
glFramebufferTexture2Din interfaceGL20
-
glGenBuffer
public int glGenBuffer()
- Specified by:
glGenBufferin interfaceGL20
-
glGenBuffers
public void glGenBuffers(int n, java.nio.IntBuffer buffers)- Specified by:
glGenBuffersin interfaceGL20
-
glGenerateMipmap
public void glGenerateMipmap(int target)
- Specified by:
glGenerateMipmapin interfaceGL20
-
glGenFramebuffer
public int glGenFramebuffer()
- Specified by:
glGenFramebufferin interfaceGL20
-
glGenFramebuffers
public void glGenFramebuffers(int n, java.nio.IntBuffer framebuffers)- Specified by:
glGenFramebuffersin interfaceGL20
-
glGenRenderbuffer
public int glGenRenderbuffer()
- Specified by:
glGenRenderbufferin interfaceGL20
-
glGenRenderbuffers
public void glGenRenderbuffers(int n, java.nio.IntBuffer renderbuffers)- Specified by:
glGenRenderbuffersin interfaceGL20
-
glGetActiveAttrib
public java.lang.String glGetActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)- Specified by:
glGetActiveAttribin interfaceGL20
-
glGetActiveUniform
public java.lang.String glGetActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)- Specified by:
glGetActiveUniformin interfaceGL20
-
glGetAttachedShaders
public void glGetAttachedShaders(int program, int maxcount, java.nio.Buffer count, java.nio.IntBuffer shaders)- Specified by:
glGetAttachedShadersin interfaceGL20
-
glGetAttribLocation
public int glGetAttribLocation(int program, java.lang.String name)- Specified by:
glGetAttribLocationin interfaceGL20
-
glGetBooleanv
public void glGetBooleanv(int pname, java.nio.Buffer params)- Specified by:
glGetBooleanvin interfaceGL20
-
glGetBufferParameteriv
public void glGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)- Specified by:
glGetBufferParameterivin interfaceGL20
-
glGetFloatv
public void glGetFloatv(int pname, java.nio.FloatBuffer params)- Specified by:
glGetFloatvin interfaceGL20
-
glGetFramebufferAttachmentParameteriv
public void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)- Specified by:
glGetFramebufferAttachmentParameterivin interfaceGL20
-
glGetProgramiv
public void glGetProgramiv(int program, int pname, java.nio.IntBuffer params)- Specified by:
glGetProgramivin interfaceGL20
-
glGetProgramInfoLog
public java.lang.String glGetProgramInfoLog(int program)
- Specified by:
glGetProgramInfoLogin interfaceGL20
-
glGetRenderbufferParameteriv
public void glGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)- Specified by:
glGetRenderbufferParameterivin interfaceGL20
-
glGetShaderiv
public void glGetShaderiv(int shader, int pname, java.nio.IntBuffer params)- Specified by:
glGetShaderivin interfaceGL20
-
glGetShaderInfoLog
public java.lang.String glGetShaderInfoLog(int shader)
- Specified by:
glGetShaderInfoLogin interfaceGL20
-
glGetShaderPrecisionFormat
public void glGetShaderPrecisionFormat(int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision)- Specified by:
glGetShaderPrecisionFormatin interfaceGL20
-
glGetTexParameterfv
public void glGetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)- Specified by:
glGetTexParameterfvin interfaceGL20
-
glGetTexParameteriv
public void glGetTexParameteriv(int target, int pname, java.nio.IntBuffer params)- Specified by:
glGetTexParameterivin interfaceGL20
-
glGetUniformfv
public void glGetUniformfv(int program, int location, java.nio.FloatBuffer params)- Specified by:
glGetUniformfvin interfaceGL20
-
glGetUniformiv
public void glGetUniformiv(int program, int location, java.nio.IntBuffer params)- Specified by:
glGetUniformivin interfaceGL20
-
glGetUniformLocation
public int glGetUniformLocation(int program, java.lang.String name)- Specified by:
glGetUniformLocationin interfaceGL20
-
glGetVertexAttribfv
public void glGetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)- Specified by:
glGetVertexAttribfvin interfaceGL20
-
glGetVertexAttribiv
public void glGetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)- Specified by:
glGetVertexAttribivin interfaceGL20
-
glGetVertexAttribPointerv
public void glGetVertexAttribPointerv(int index, int pname, java.nio.Buffer pointer)- Specified by:
glGetVertexAttribPointervin interfaceGL20
-
glIsBuffer
public boolean glIsBuffer(int buffer)
- Specified by:
glIsBufferin interfaceGL20
-
glIsEnabled
public boolean glIsEnabled(int cap)
- Specified by:
glIsEnabledin interfaceGL20
-
glIsFramebuffer
public boolean glIsFramebuffer(int framebuffer)
- Specified by:
glIsFramebufferin interfaceGL20
-
glIsProgram
public boolean glIsProgram(int program)
- Specified by:
glIsProgramin interfaceGL20
-
glIsRenderbuffer
public boolean glIsRenderbuffer(int renderbuffer)
- Specified by:
glIsRenderbufferin interfaceGL20
-
glIsShader
public boolean glIsShader(int shader)
- Specified by:
glIsShaderin interfaceGL20
-
glIsTexture
public boolean glIsTexture(int texture)
- Specified by:
glIsTexturein interfaceGL20
-
glLinkProgram
public void glLinkProgram(int program)
- Specified by:
glLinkProgramin interfaceGL20
-
glReleaseShaderCompiler
public void glReleaseShaderCompiler()
- Specified by:
glReleaseShaderCompilerin interfaceGL20
-
glRenderbufferStorage
public void glRenderbufferStorage(int target, int internalformat, int width, int height)- Specified by:
glRenderbufferStoragein interfaceGL20
-
glSampleCoverage
public void glSampleCoverage(float value, boolean invert)- Specified by:
glSampleCoveragein interfaceGL20
-
glShaderBinary
public void glShaderBinary(int n, java.nio.IntBuffer shaders, int binaryformat, java.nio.Buffer binary, int length)- Specified by:
glShaderBinaryin interfaceGL20
-
glShaderSource
public void glShaderSource(int shader, java.lang.String string)- Specified by:
glShaderSourcein interfaceGL20
-
glStencilFuncSeparate
public void glStencilFuncSeparate(int face, int func, int ref, int mask)- Specified by:
glStencilFuncSeparatein interfaceGL20
-
glStencilMaskSeparate
public void glStencilMaskSeparate(int face, int mask)- Specified by:
glStencilMaskSeparatein interfaceGL20
-
glStencilOpSeparate
public void glStencilOpSeparate(int face, int fail, int zfail, int zpass)- Specified by:
glStencilOpSeparatein interfaceGL20
-
glTexParameterfv
public void glTexParameterfv(int target, int pname, java.nio.FloatBuffer params)- Specified by:
glTexParameterfvin interfaceGL20
-
glTexParameteri
public void glTexParameteri(int target, int pname, int param)- Specified by:
glTexParameteriin interfaceGL20
-
glTexParameteriv
public void glTexParameteriv(int target, int pname, java.nio.IntBuffer params)- Specified by:
glTexParameterivin interfaceGL20
-
glUniform1f
public void glUniform1f(int location, float x)- Specified by:
glUniform1fin interfaceGL20
-
glUniform1fv
public void glUniform1fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
glUniform1fvin interfaceGL20
-
glUniform1fv
public void glUniform1fv(int location, int count, float[] v, int offset)- Specified by:
glUniform1fvin interfaceGL20
-
glUniform1i
public void glUniform1i(int location, int x)- Specified by:
glUniform1iin interfaceGL20
-
glUniform1iv
public void glUniform1iv(int location, int count, java.nio.IntBuffer v)- Specified by:
glUniform1ivin interfaceGL20
-
glUniform1iv
public void glUniform1iv(int location, int count, int[] v, int offset)- Specified by:
glUniform1ivin interfaceGL20
-
glUniform2f
public void glUniform2f(int location, float x, float y)- Specified by:
glUniform2fin interfaceGL20
-
glUniform2fv
public void glUniform2fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
glUniform2fvin interfaceGL20
-
glUniform2fv
public void glUniform2fv(int location, int count, float[] v, int offset)- Specified by:
glUniform2fvin interfaceGL20
-
glUniform2i
public void glUniform2i(int location, int x, int y)- Specified by:
glUniform2iin interfaceGL20
-
glUniform2iv
public void glUniform2iv(int location, int count, java.nio.IntBuffer v)- Specified by:
glUniform2ivin interfaceGL20
-
glUniform2iv
public void glUniform2iv(int location, int count, int[] v, int offset)- Specified by:
glUniform2ivin interfaceGL20
-
glUniform3f
public void glUniform3f(int location, float x, float y, float z)- Specified by:
glUniform3fin interfaceGL20
-
glUniform3fv
public void glUniform3fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
glUniform3fvin interfaceGL20
-
glUniform3fv
public void glUniform3fv(int location, int count, float[] v, int offset)- Specified by:
glUniform3fvin interfaceGL20
-
glUniform3i
public void glUniform3i(int location, int x, int y, int z)- Specified by:
glUniform3iin interfaceGL20
-
glUniform3iv
public void glUniform3iv(int location, int count, java.nio.IntBuffer v)- Specified by:
glUniform3ivin interfaceGL20
-
glUniform3iv
public void glUniform3iv(int location, int count, int[] v, int offset)- Specified by:
glUniform3ivin interfaceGL20
-
glUniform4f
public void glUniform4f(int location, float x, float y, float z, float w)- Specified by:
glUniform4fin interfaceGL20
-
glUniform4fv
public void glUniform4fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
glUniform4fvin interfaceGL20
-
glUniform4fv
public void glUniform4fv(int location, int count, float[] v, int offset)- Specified by:
glUniform4fvin interfaceGL20
-
glUniform4i
public void glUniform4i(int location, int x, int y, int z, int w)- Specified by:
glUniform4iin interfaceGL20
-
glUniform4iv
public void glUniform4iv(int location, int count, java.nio.IntBuffer v)- Specified by:
glUniform4ivin interfaceGL20
-
glUniform4iv
public void glUniform4iv(int location, int count, int[] v, int offset)- Specified by:
glUniform4ivin interfaceGL20
-
glUniformMatrix2fv
public void glUniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)- Specified by:
glUniformMatrix2fvin interfaceGL20
-
glUniformMatrix2fv
public void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)- Specified by:
glUniformMatrix2fvin interfaceGL20
-
glUniformMatrix3fv
public void glUniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)- Specified by:
glUniformMatrix3fvin interfaceGL20
-
glUniformMatrix3fv
public void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)- Specified by:
glUniformMatrix3fvin interfaceGL20
-
glUniformMatrix4fv
public void glUniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)- Specified by:
glUniformMatrix4fvin interfaceGL20
-
glUniformMatrix4fv
public void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)- Specified by:
glUniformMatrix4fvin interfaceGL20
-
glUseProgram
public void glUseProgram(int program)
- Specified by:
glUseProgramin interfaceGL20
-
glValidateProgram
public void glValidateProgram(int program)
- Specified by:
glValidateProgramin interfaceGL20
-
glVertexAttrib1f
public void glVertexAttrib1f(int indx, float x)- Specified by:
glVertexAttrib1fin interfaceGL20
-
glVertexAttrib1fv
public void glVertexAttrib1fv(int indx, java.nio.FloatBuffer values)- Specified by:
glVertexAttrib1fvin interfaceGL20
-
glVertexAttrib2f
public void glVertexAttrib2f(int indx, float x, float y)- Specified by:
glVertexAttrib2fin interfaceGL20
-
glVertexAttrib2fv
public void glVertexAttrib2fv(int indx, java.nio.FloatBuffer values)- Specified by:
glVertexAttrib2fvin interfaceGL20
-
glVertexAttrib3f
public void glVertexAttrib3f(int indx, float x, float y, float z)- Specified by:
glVertexAttrib3fin interfaceGL20
-
glVertexAttrib3fv
public void glVertexAttrib3fv(int indx, java.nio.FloatBuffer values)- Specified by:
glVertexAttrib3fvin interfaceGL20
-
glVertexAttrib4f
public void glVertexAttrib4f(int indx, float x, float y, float z, float w)- Specified by:
glVertexAttrib4fin interfaceGL20
-
glVertexAttrib4fv
public void glVertexAttrib4fv(int indx, java.nio.FloatBuffer values)- Specified by:
glVertexAttrib4fvin interfaceGL20
-
glVertexAttribPointer
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr)Description copied from interface:GL20In OpenGl core profiles (3.1+), passing a pointer to client memory is not valid. In 3.0 and later, use the other version of this function instead, pass a zero-based offset which references the buffer currently bound to GL_ARRAY_BUFFER.- Specified by:
glVertexAttribPointerin interfaceGL20
-
glVertexAttribPointer
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr)- Specified by:
glVertexAttribPointerin interfaceGL20
-
-