Package arc.mock
Class MockGL20
java.lang.Object
arc.mock.MockGL20
- All Implemented Interfaces:
GL20
-
Field Summary
Fields inherited from interface arc.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
glActiveTexture
(int texture) void
glAttachShader
(int program, int shader) void
glBindAttribLocation
(int program, int index, String name) void
glBindBuffer
(int target, int buffer) void
glBindFramebuffer
(int target, int framebuffer) void
glBindRenderbuffer
(int target, int renderbuffer) void
glBindTexture
(int target, int texture) void
glBlendColor
(float red, float green, float blue, float alpha) void
glBlendEquation
(int mode) void
glBlendEquationSeparate
(int modeRGB, int modeAlpha) void
glBlendFunc
(int sfactor, int dfactor) void
glBlendFuncSeparate
(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) void
glBufferData
(int target, int size, Buffer data, int usage) void
glBufferSubData
(int target, int offset, int size, Buffer data) int
glCheckFramebufferStatus
(int target) void
glClear
(int mask) void
glClearColor
(float red, float green, float blue, float alpha) void
glClearDepthf
(float depth) void
glClearStencil
(int s) void
glColorMask
(boolean red, boolean green, boolean blue, boolean alpha) void
glCompileShader
(int shader) void
glCompressedTexImage2D
(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) void
glCompressedTexSubImage2D
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) void
glCopyTexImage2D
(int target, int level, int internalformat, int x, int y, int width, int height, int border) void
glCopyTexSubImage2D
(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) int
int
glCreateShader
(int type) void
glCullFace
(int mode) void
glDeleteBuffer
(int buffer) void
glDeleteFramebuffer
(int framebuffer) void
glDeleteProgram
(int program) void
glDeleteRenderbuffer
(int renderbuffer) void
glDeleteShader
(int shader) void
glDeleteTexture
(int texture) void
glDepthFunc
(int func) void
glDepthMask
(boolean flag) void
glDepthRangef
(float zNear, float zFar) void
glDetachShader
(int program, int shader) void
glDisable
(int cap) void
glDisableVertexAttribArray
(int index) void
glDrawArrays
(int mode, int first, int count) void
glDrawElements
(int mode, int count, int type, int indices) void
glDrawElements
(int mode, int count, int type, Buffer indices) void
glEnable
(int cap) void
glEnableVertexAttribArray
(int index) void
glFinish()
void
glFlush()
void
glFramebufferRenderbuffer
(int target, int attachment, int renderbuffertarget, int renderbuffer) void
glFramebufferTexture2D
(int target, int attachment, int textarget, int texture, int level) void
glFrontFace
(int mode) int
void
glGenerateMipmap
(int target) int
int
int
glGetActiveAttrib
(int program, int index, IntBuffer size, IntBuffer type) glGetActiveUniform
(int program, int index, IntBuffer size, IntBuffer type) int
glGetAttribLocation
(int program, String name) void
glGetBooleanv
(int pname, Buffer params) void
glGetBufferParameteriv
(int target, int pname, IntBuffer params) int
void
glGetFloatv
(int pname, FloatBuffer params) void
glGetFramebufferAttachmentParameteriv
(int target, int attachment, int pname, IntBuffer params) void
glGetIntegerv
(int pname, IntBuffer params) glGetProgramInfoLog
(int program) void
glGetProgramiv
(int program, int pname, IntBuffer params) void
glGetRenderbufferParameteriv
(int target, int pname, IntBuffer params) glGetShaderInfoLog
(int shader) void
glGetShaderiv
(int shader, int pname, IntBuffer params) void
glGetShaderPrecisionFormat
(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision) glGetString
(int name) void
glGetTexParameterfv
(int target, int pname, FloatBuffer params) void
glGetTexParameteriv
(int target, int pname, IntBuffer params) void
glGetUniformfv
(int program, int location, FloatBuffer params) void
glGetUniformiv
(int program, int location, IntBuffer params) int
glGetUniformLocation
(int program, String name) void
glGetVertexAttribfv
(int index, int pname, FloatBuffer params) void
glGetVertexAttribiv
(int index, int pname, IntBuffer params) void
glHint
(int target, int mode) boolean
glIsBuffer
(int buffer) boolean
glIsEnabled
(int cap) boolean
glIsFramebuffer
(int framebuffer) boolean
glIsProgram
(int program) boolean
glIsRenderbuffer
(int renderbuffer) boolean
glIsShader
(int shader) boolean
glIsTexture
(int texture) void
glLineWidth
(float width) void
glLinkProgram
(int program) void
glPixelStorei
(int pname, int param) void
glPolygonOffset
(float factor, float units) void
glReadPixels
(int x, int y, int width, int height, int format, int type, Buffer pixels) void
void
glRenderbufferStorage
(int target, int internalformat, int width, int height) void
glSampleCoverage
(float value, boolean invert) void
glScissor
(int x, int y, int width, int height) void
glShaderSource
(int shader, String string) void
glStencilFunc
(int func, int ref, int mask) void
glStencilFuncSeparate
(int face, int func, int ref, int mask) void
glStencilMask
(int mask) void
glStencilMaskSeparate
(int face, int mask) void
glStencilOp
(int fail, int zfail, int zpass) void
glStencilOpSeparate
(int face, int fail, int zfail, int zpass) void
glTexImage2D
(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) void
glTexParameterf
(int target, int pname, float param) void
glTexParameterfv
(int target, int pname, FloatBuffer params) void
glTexParameteri
(int target, int pname, int param) void
glTexParameteriv
(int target, int pname, IntBuffer params) void
glTexSubImage2D
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) void
glUniform1f
(int location, float x) void
glUniform1fv
(int location, int count, float[] v, int offset) void
glUniform1fv
(int location, int count, FloatBuffer v) void
glUniform1i
(int location, int x) void
glUniform1iv
(int location, int count, int[] v, int offset) void
glUniform1iv
(int location, int count, IntBuffer v) void
glUniform2f
(int location, float x, float y) void
glUniform2fv
(int location, int count, float[] v, int offset) void
glUniform2fv
(int location, int count, FloatBuffer v) void
glUniform2i
(int location, int x, int y) void
glUniform2iv
(int location, int count, int[] v, int offset) void
glUniform2iv
(int location, int count, IntBuffer v) void
glUniform3f
(int location, float x, float y, float z) void
glUniform3fv
(int location, int count, float[] v, int offset) void
glUniform3fv
(int location, int count, FloatBuffer v) void
glUniform3i
(int location, int x, int y, int z) void
glUniform3iv
(int location, int count, int[] v, int offset) void
glUniform3iv
(int location, int count, IntBuffer v) void
glUniform4f
(int location, float x, float y, float z, float w) void
glUniform4fv
(int location, int count, float[] v, int offset) void
glUniform4fv
(int location, int count, FloatBuffer v) void
glUniform4i
(int location, int x, int y, int z, int w) void
glUniform4iv
(int location, int count, int[] v, int offset) void
glUniform4iv
(int location, int count, IntBuffer v) void
glUniformMatrix2fv
(int location, int count, boolean transpose, float[] value, int offset) void
glUniformMatrix2fv
(int location, int count, boolean transpose, FloatBuffer value) void
glUniformMatrix3fv
(int location, int count, boolean transpose, float[] value, int offset) void
glUniformMatrix3fv
(int location, int count, boolean transpose, FloatBuffer value) void
glUniformMatrix4fv
(int location, int count, boolean transpose, float[] value, int offset) void
glUniformMatrix4fv
(int location, int count, boolean transpose, FloatBuffer value) void
glUseProgram
(int program) void
glValidateProgram
(int program) void
glVertexAttrib1f
(int indx, float x) void
glVertexAttrib1fv
(int indx, FloatBuffer values) void
glVertexAttrib2f
(int indx, float x, float y) void
glVertexAttrib2fv
(int indx, FloatBuffer values) void
glVertexAttrib3f
(int indx, float x, float y, float z) void
glVertexAttrib3fv
(int indx, FloatBuffer values) void
glVertexAttrib4f
(int indx, float x, float y, float z, float w) void
glVertexAttrib4fv
(int indx, FloatBuffer values) void
glVertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, int ptr) void
glVertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) In OpenGl core profiles (3.1+), passing a pointer to client memory is not valid.void
glViewport
(int x, int y, int width, int height)
-
Constructor Details
-
MockGL20
public MockGL20()
-
-
Method Details
-
glActiveTexture
public void glActiveTexture(int texture) - Specified by:
glActiveTexture
in interfaceGL20
-
glBindTexture
public void glBindTexture(int target, int texture) - Specified by:
glBindTexture
in interfaceGL20
-
glBlendFunc
public void glBlendFunc(int sfactor, int dfactor) - Specified by:
glBlendFunc
in interfaceGL20
-
glClear
public void glClear(int mask) -
glClearColor
public void glClearColor(float red, float green, float blue, float alpha) - Specified by:
glClearColor
in interfaceGL20
-
glClearDepthf
public void glClearDepthf(float depth) - Specified by:
glClearDepthf
in interfaceGL20
-
glClearStencil
public void glClearStencil(int s) - Specified by:
glClearStencil
in interfaceGL20
-
glColorMask
public void glColorMask(boolean red, boolean green, boolean blue, boolean alpha) - Specified by:
glColorMask
in interfaceGL20
-
glCompressedTexImage2D
public void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) - Specified by:
glCompressedTexImage2D
in interfaceGL20
-
glCompressedTexSubImage2D
public void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) - Specified by:
glCompressedTexSubImage2D
in interfaceGL20
-
glCopyTexImage2D
public void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) - Specified by:
glCopyTexImage2D
in interfaceGL20
-
glCopyTexSubImage2D
public void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) - Specified by:
glCopyTexSubImage2D
in interfaceGL20
-
glCullFace
public void glCullFace(int mode) - Specified by:
glCullFace
in interfaceGL20
-
glDeleteTexture
public void glDeleteTexture(int texture) - Specified by:
glDeleteTexture
in interfaceGL20
-
glDepthFunc
public void glDepthFunc(int func) - Specified by:
glDepthFunc
in interfaceGL20
-
glDepthMask
public void glDepthMask(boolean flag) - Specified by:
glDepthMask
in interfaceGL20
-
glDepthRangef
public void glDepthRangef(float zNear, float zFar) - Specified by:
glDepthRangef
in interfaceGL20
-
glDisable
public void glDisable(int cap) -
glDrawArrays
public void glDrawArrays(int mode, int first, int count) - Specified by:
glDrawArrays
in interfaceGL20
-
glDrawElements
- Specified by:
glDrawElements
in interfaceGL20
-
glEnable
public void glEnable(int cap) -
glFinish
public void glFinish() -
glFlush
public void glFlush() -
glFrontFace
public void glFrontFace(int mode) - Specified by:
glFrontFace
in interfaceGL20
-
glGenTexture
public int glGenTexture()- Specified by:
glGenTexture
in interfaceGL20
-
glGetError
public int glGetError()- Specified by:
glGetError
in interfaceGL20
-
glGetIntegerv
- Specified by:
glGetIntegerv
in interfaceGL20
-
glGetString
- Specified by:
glGetString
in interfaceGL20
-
glHint
public void glHint(int target, int mode) -
glLineWidth
public void glLineWidth(float width) - Specified by:
glLineWidth
in interfaceGL20
-
glPixelStorei
public void glPixelStorei(int pname, int param) - Specified by:
glPixelStorei
in interfaceGL20
-
glPolygonOffset
public void glPolygonOffset(float factor, float units) - Specified by:
glPolygonOffset
in interfaceGL20
-
glReadPixels
- Specified by:
glReadPixels
in 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:
glStencilFunc
in interfaceGL20
-
glStencilMask
public void glStencilMask(int mask) - Specified by:
glStencilMask
in interfaceGL20
-
glStencilOp
public void glStencilOp(int fail, int zfail, int zpass) - Specified by:
glStencilOp
in interfaceGL20
-
glTexImage2D
public void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) - Specified by:
glTexImage2D
in interfaceGL20
-
glTexParameterf
public void glTexParameterf(int target, int pname, float param) - Specified by:
glTexParameterf
in interfaceGL20
-
glTexSubImage2D
public void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) - Specified by:
glTexSubImage2D
in interfaceGL20
-
glViewport
public void glViewport(int x, int y, int width, int height) - Specified by:
glViewport
in interfaceGL20
-
glAttachShader
public void glAttachShader(int program, int shader) - Specified by:
glAttachShader
in interfaceGL20
-
glBindAttribLocation
- Specified by:
glBindAttribLocation
in interfaceGL20
-
glBindBuffer
public void glBindBuffer(int target, int buffer) - Specified by:
glBindBuffer
in interfaceGL20
-
glBindFramebuffer
public void glBindFramebuffer(int target, int framebuffer) - Specified by:
glBindFramebuffer
in interfaceGL20
-
glBindRenderbuffer
public void glBindRenderbuffer(int target, int renderbuffer) - Specified by:
glBindRenderbuffer
in interfaceGL20
-
glBlendColor
public void glBlendColor(float red, float green, float blue, float alpha) - Specified by:
glBlendColor
in interfaceGL20
-
glBlendEquation
public void glBlendEquation(int mode) - Specified by:
glBlendEquation
in interfaceGL20
-
glBlendEquationSeparate
public void glBlendEquationSeparate(int modeRGB, int modeAlpha) - Specified by:
glBlendEquationSeparate
in interfaceGL20
-
glBlendFuncSeparate
public void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) - Specified by:
glBlendFuncSeparate
in interfaceGL20
-
glBufferData
- Specified by:
glBufferData
in interfaceGL20
-
glBufferSubData
- Specified by:
glBufferSubData
in interfaceGL20
-
glCheckFramebufferStatus
public int glCheckFramebufferStatus(int target) - Specified by:
glCheckFramebufferStatus
in interfaceGL20
-
glCompileShader
public void glCompileShader(int shader) - Specified by:
glCompileShader
in interfaceGL20
-
glCreateProgram
public int glCreateProgram()- Specified by:
glCreateProgram
in interfaceGL20
-
glCreateShader
public int glCreateShader(int type) - Specified by:
glCreateShader
in interfaceGL20
-
glDeleteBuffer
public void glDeleteBuffer(int buffer) - Specified by:
glDeleteBuffer
in interfaceGL20
-
glDeleteFramebuffer
public void glDeleteFramebuffer(int framebuffer) - Specified by:
glDeleteFramebuffer
in interfaceGL20
-
glDeleteProgram
public void glDeleteProgram(int program) - Specified by:
glDeleteProgram
in interfaceGL20
-
glDeleteRenderbuffer
public void glDeleteRenderbuffer(int renderbuffer) - Specified by:
glDeleteRenderbuffer
in interfaceGL20
-
glDeleteShader
public void glDeleteShader(int shader) - Specified by:
glDeleteShader
in interfaceGL20
-
glDetachShader
public void glDetachShader(int program, int shader) - Specified by:
glDetachShader
in interfaceGL20
-
glDisableVertexAttribArray
public void glDisableVertexAttribArray(int index) - Specified by:
glDisableVertexAttribArray
in interfaceGL20
-
glDrawElements
public void glDrawElements(int mode, int count, int type, int indices) - Specified by:
glDrawElements
in interfaceGL20
-
glEnableVertexAttribArray
public void glEnableVertexAttribArray(int index) - Specified by:
glEnableVertexAttribArray
in interfaceGL20
-
glFramebufferRenderbuffer
public void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer) - Specified by:
glFramebufferRenderbuffer
in interfaceGL20
-
glFramebufferTexture2D
public void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level) - Specified by:
glFramebufferTexture2D
in interfaceGL20
-
glGenBuffer
public int glGenBuffer()- Specified by:
glGenBuffer
in interfaceGL20
-
glGenerateMipmap
public void glGenerateMipmap(int target) - Specified by:
glGenerateMipmap
in interfaceGL20
-
glGenFramebuffer
public int glGenFramebuffer()- Specified by:
glGenFramebuffer
in interfaceGL20
-
glGenRenderbuffer
public int glGenRenderbuffer()- Specified by:
glGenRenderbuffer
in interfaceGL20
-
glGetActiveAttrib
- Specified by:
glGetActiveAttrib
in interfaceGL20
-
glGetActiveUniform
- Specified by:
glGetActiveUniform
in interfaceGL20
-
glGetAttribLocation
- Specified by:
glGetAttribLocation
in interfaceGL20
-
glGetBooleanv
- Specified by:
glGetBooleanv
in interfaceGL20
-
glGetBufferParameteriv
- Specified by:
glGetBufferParameteriv
in interfaceGL20
-
glGetFloatv
- Specified by:
glGetFloatv
in interfaceGL20
-
glGetFramebufferAttachmentParameteriv
public void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params) - Specified by:
glGetFramebufferAttachmentParameteriv
in interfaceGL20
-
glGetProgramiv
- Specified by:
glGetProgramiv
in interfaceGL20
-
glGetProgramInfoLog
- Specified by:
glGetProgramInfoLog
in interfaceGL20
-
glGetRenderbufferParameteriv
- Specified by:
glGetRenderbufferParameteriv
in interfaceGL20
-
glGetShaderiv
- Specified by:
glGetShaderiv
in interfaceGL20
-
glGetShaderInfoLog
- Specified by:
glGetShaderInfoLog
in interfaceGL20
-
glGetShaderPrecisionFormat
public void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision) - Specified by:
glGetShaderPrecisionFormat
in interfaceGL20
-
glGetTexParameterfv
- Specified by:
glGetTexParameterfv
in interfaceGL20
-
glGetTexParameteriv
- Specified by:
glGetTexParameteriv
in interfaceGL20
-
glGetUniformfv
- Specified by:
glGetUniformfv
in interfaceGL20
-
glGetUniformiv
- Specified by:
glGetUniformiv
in interfaceGL20
-
glGetUniformLocation
- Specified by:
glGetUniformLocation
in interfaceGL20
-
glGetVertexAttribfv
- Specified by:
glGetVertexAttribfv
in interfaceGL20
-
glGetVertexAttribiv
- Specified by:
glGetVertexAttribiv
in interfaceGL20
-
glIsBuffer
public boolean glIsBuffer(int buffer) - Specified by:
glIsBuffer
in interfaceGL20
-
glIsEnabled
public boolean glIsEnabled(int cap) - Specified by:
glIsEnabled
in interfaceGL20
-
glIsFramebuffer
public boolean glIsFramebuffer(int framebuffer) - Specified by:
glIsFramebuffer
in interfaceGL20
-
glIsProgram
public boolean glIsProgram(int program) - Specified by:
glIsProgram
in interfaceGL20
-
glIsRenderbuffer
public boolean glIsRenderbuffer(int renderbuffer) - Specified by:
glIsRenderbuffer
in interfaceGL20
-
glIsShader
public boolean glIsShader(int shader) - Specified by:
glIsShader
in interfaceGL20
-
glIsTexture
public boolean glIsTexture(int texture) - Specified by:
glIsTexture
in interfaceGL20
-
glLinkProgram
public void glLinkProgram(int program) - Specified by:
glLinkProgram
in interfaceGL20
-
glReleaseShaderCompiler
public void glReleaseShaderCompiler()- Specified by:
glReleaseShaderCompiler
in interfaceGL20
-
glRenderbufferStorage
public void glRenderbufferStorage(int target, int internalformat, int width, int height) - Specified by:
glRenderbufferStorage
in interfaceGL20
-
glSampleCoverage
public void glSampleCoverage(float value, boolean invert) - Specified by:
glSampleCoverage
in interfaceGL20
-
glShaderSource
- Specified by:
glShaderSource
in interfaceGL20
-
glStencilFuncSeparate
public void glStencilFuncSeparate(int face, int func, int ref, int mask) - Specified by:
glStencilFuncSeparate
in interfaceGL20
-
glStencilMaskSeparate
public void glStencilMaskSeparate(int face, int mask) - Specified by:
glStencilMaskSeparate
in interfaceGL20
-
glStencilOpSeparate
public void glStencilOpSeparate(int face, int fail, int zfail, int zpass) - Specified by:
glStencilOpSeparate
in interfaceGL20
-
glTexParameterfv
- Specified by:
glTexParameterfv
in interfaceGL20
-
glTexParameteri
public void glTexParameteri(int target, int pname, int param) - Specified by:
glTexParameteri
in interfaceGL20
-
glTexParameteriv
- Specified by:
glTexParameteriv
in interfaceGL20
-
glUniform1f
public void glUniform1f(int location, float x) - Specified by:
glUniform1f
in interfaceGL20
-
glUniform1fv
- Specified by:
glUniform1fv
in interfaceGL20
-
glUniform1fv
public void glUniform1fv(int location, int count, float[] v, int offset) - Specified by:
glUniform1fv
in interfaceGL20
-
glUniform1i
public void glUniform1i(int location, int x) - Specified by:
glUniform1i
in interfaceGL20
-
glUniform1iv
- Specified by:
glUniform1iv
in interfaceGL20
-
glUniform1iv
public void glUniform1iv(int location, int count, int[] v, int offset) - Specified by:
glUniform1iv
in interfaceGL20
-
glUniform2f
public void glUniform2f(int location, float x, float y) - Specified by:
glUniform2f
in interfaceGL20
-
glUniform2fv
- Specified by:
glUniform2fv
in interfaceGL20
-
glUniform2fv
public void glUniform2fv(int location, int count, float[] v, int offset) - Specified by:
glUniform2fv
in interfaceGL20
-
glUniform2i
public void glUniform2i(int location, int x, int y) - Specified by:
glUniform2i
in interfaceGL20
-
glUniform2iv
- Specified by:
glUniform2iv
in interfaceGL20
-
glUniform2iv
public void glUniform2iv(int location, int count, int[] v, int offset) - Specified by:
glUniform2iv
in interfaceGL20
-
glUniform3f
public void glUniform3f(int location, float x, float y, float z) - Specified by:
glUniform3f
in interfaceGL20
-
glUniform3fv
- Specified by:
glUniform3fv
in interfaceGL20
-
glUniform3fv
public void glUniform3fv(int location, int count, float[] v, int offset) - Specified by:
glUniform3fv
in interfaceGL20
-
glUniform3i
public void glUniform3i(int location, int x, int y, int z) - Specified by:
glUniform3i
in interfaceGL20
-
glUniform3iv
- Specified by:
glUniform3iv
in interfaceGL20
-
glUniform3iv
public void glUniform3iv(int location, int count, int[] v, int offset) - Specified by:
glUniform3iv
in interfaceGL20
-
glUniform4f
public void glUniform4f(int location, float x, float y, float z, float w) - Specified by:
glUniform4f
in interfaceGL20
-
glUniform4fv
- Specified by:
glUniform4fv
in interfaceGL20
-
glUniform4fv
public void glUniform4fv(int location, int count, float[] v, int offset) - Specified by:
glUniform4fv
in interfaceGL20
-
glUniform4i
public void glUniform4i(int location, int x, int y, int z, int w) - Specified by:
glUniform4i
in interfaceGL20
-
glUniform4iv
- Specified by:
glUniform4iv
in interfaceGL20
-
glUniform4iv
public void glUniform4iv(int location, int count, int[] v, int offset) - Specified by:
glUniform4iv
in interfaceGL20
-
glUniformMatrix2fv
- Specified by:
glUniformMatrix2fv
in interfaceGL20
-
glUniformMatrix2fv
public void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset) - Specified by:
glUniformMatrix2fv
in interfaceGL20
-
glUniformMatrix3fv
- Specified by:
glUniformMatrix3fv
in interfaceGL20
-
glUniformMatrix3fv
public void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset) - Specified by:
glUniformMatrix3fv
in interfaceGL20
-
glUniformMatrix4fv
- Specified by:
glUniformMatrix4fv
in interfaceGL20
-
glUniformMatrix4fv
public void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset) - Specified by:
glUniformMatrix4fv
in interfaceGL20
-
glUseProgram
public void glUseProgram(int program) - Specified by:
glUseProgram
in interfaceGL20
-
glValidateProgram
public void glValidateProgram(int program) - Specified by:
glValidateProgram
in interfaceGL20
-
glVertexAttrib1f
public void glVertexAttrib1f(int indx, float x) - Specified by:
glVertexAttrib1f
in interfaceGL20
-
glVertexAttrib1fv
- Specified by:
glVertexAttrib1fv
in interfaceGL20
-
glVertexAttrib2f
public void glVertexAttrib2f(int indx, float x, float y) - Specified by:
glVertexAttrib2f
in interfaceGL20
-
glVertexAttrib2fv
- Specified by:
glVertexAttrib2fv
in interfaceGL20
-
glVertexAttrib3f
public void glVertexAttrib3f(int indx, float x, float y, float z) - Specified by:
glVertexAttrib3f
in interfaceGL20
-
glVertexAttrib3fv
- Specified by:
glVertexAttrib3fv
in interfaceGL20
-
glVertexAttrib4f
public void glVertexAttrib4f(int indx, float x, float y, float z, float w) - Specified by:
glVertexAttrib4f
in interfaceGL20
-
glVertexAttrib4fv
- Specified by:
glVertexAttrib4fv
in interfaceGL20
-
glVertexAttribPointer
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) Description copied from interface:GL20
In 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:
glVertexAttribPointer
in interfaceGL20
-
glVertexAttribPointer
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr) - Specified by:
glVertexAttribPointer
in interfaceGL20
-