Methods Summary |
---|
private static native void | _nativeClassInit()
|
public static native void | glActiveTexture(int texture)
|
public static native void | glAttachShader(int program, int shader)
|
public static native void | glBindAttribLocation(int program, int index, java.lang.String name)
|
public static native void | glBindBuffer(int target, int buffer)
|
public static native void | glBindFramebuffer(int target, int framebuffer)
|
public static native void | glBindRenderbuffer(int target, int renderbuffer)
|
public static native void | glBindTexture(int target, int texture)
|
public static native void | glBlendColor(float red, float green, float blue, float alpha)
|
public static native void | glBlendEquation(int mode)
|
public static native void | glBlendEquationSeparate(int modeRGB, int modeAlpha)
|
public static native void | glBlendFunc(int sfactor, int dfactor)
|
public static native void | glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
|
public static native void | glBufferData(int target, int size, java.nio.Buffer data, int usage)
|
public static native void | glBufferSubData(int target, int offset, int size, java.nio.Buffer data)
|
public static native int | glCheckFramebufferStatus(int target)
|
public static native void | glClear(int mask)
|
public static native void | glClearColor(float red, float green, float blue, float alpha)
|
public static native void | glClearDepthf(float depth)
|
public static native void | glClearStencil(int s)
|
public static native void | glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
|
public static native void | glCompileShader(int shader)
|
public static native void | glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data)
|
public static native void | glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data)
|
public static native void | glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
|
public static native void | glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
|
public static native int | glCreateProgram()
|
public static native int | glCreateShader(int type)
|
public static native void | glCullFace(int mode)
|
public static native void | glDeleteBuffers(int n, int[] buffers, int offset)
|
public static native void | glDeleteBuffers(int n, java.nio.IntBuffer buffers)
|
public static native void | glDeleteFramebuffers(int n, int[] framebuffers, int offset)
|
public static native void | glDeleteFramebuffers(int n, java.nio.IntBuffer framebuffers)
|
public static native void | glDeleteProgram(int program)
|
public static native void | glDeleteRenderbuffers(int n, int[] renderbuffers, int offset)
|
public static native void | glDeleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)
|
public static native void | glDeleteShader(int shader)
|
public static native void | glDeleteTextures(int n, int[] textures, int offset)
|
public static native void | glDeleteTextures(int n, java.nio.IntBuffer textures)
|
public static native void | glDepthFunc(int func)
|
public static native void | glDepthMask(boolean flag)
|
public static native void | glDepthRangef(float zNear, float zFar)
|
public static native void | glDetachShader(int program, int shader)
|
public static native void | glDisable(int cap)
|
public static native void | glDisableVertexAttribArray(int index)
|
public static native void | glDrawArrays(int mode, int first, int count)
|
public static native void | glDrawElements(int mode, int count, int type, int offset)
|
public static native void | glDrawElements(int mode, int count, int type, java.nio.Buffer indices)
|
public static native void | glEnable(int cap)
|
public static native void | glEnableVertexAttribArray(int index)
|
public static native void | glFinish()
|
public static native void | glFlush()
|
public static native void | glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
|
public static native void | glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
|
public static native void | glFrontFace(int mode)
|
public static native void | glGenBuffers(int n, int[] buffers, int offset)
|
public static native void | glGenBuffers(int n, java.nio.IntBuffer buffers)
|
public static native void | glGenFramebuffers(int n, int[] framebuffers, int offset)
|
public static native void | glGenFramebuffers(int n, java.nio.IntBuffer framebuffers)
|
public static native void | glGenRenderbuffers(int n, int[] renderbuffers, int offset)
|
public static native void | glGenRenderbuffers(int n, java.nio.IntBuffer renderbuffers)
|
public static native void | glGenTextures(int n, int[] textures, int offset)
|
public static native void | glGenTextures(int n, java.nio.IntBuffer textures)
|
public static native void | glGenerateMipmap(int target)
|
public static native void | glGetActiveAttrib(int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)
|
public static native void | glGetActiveAttrib(int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name)
|
public static native java.lang.String | glGetActiveAttrib(int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)
|
public static native java.lang.String | glGetActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)
|
public static native void | glGetActiveUniform(int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)
|
public static native void | glGetActiveUniform(int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name)
|
public static native java.lang.String | glGetActiveUniform(int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)
|
public static native java.lang.String | glGetActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)
|
public static native void | glGetAttachedShaders(int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset)
|
public static native void | glGetAttachedShaders(int program, int maxcount, java.nio.IntBuffer count, java.nio.IntBuffer shaders)
|
public static native int | glGetAttribLocation(int program, java.lang.String name)
|
public static native void | glGetBooleanv(int pname, boolean[] params, int offset)
|
public static native void | glGetBooleanv(int pname, java.nio.IntBuffer params)
|
public static native void | glGetBufferParameteriv(int target, int pname, int[] params, int offset)
|
public static native void | glGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)
|
public static native int | glGetError()
|
public static native void | glGetFloatv(int pname, float[] params, int offset)
|
public static native void | glGetFloatv(int pname, java.nio.FloatBuffer params)
|
public static native void | glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params, int offset)
|
public static native void | glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)
|
public static native void | glGetIntegerv(int pname, int[] params, int offset)
|
public static native void | glGetIntegerv(int pname, java.nio.IntBuffer params)
|
public static native java.lang.String | glGetProgramInfoLog(int program)
|
public static native void | glGetProgramiv(int program, int pname, int[] params, int offset)
|
public static native void | glGetProgramiv(int program, int pname, java.nio.IntBuffer params)
|
public static native void | glGetRenderbufferParameteriv(int target, int pname, int[] params, int offset)
|
public static native void | glGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)
|
public static native java.lang.String | glGetShaderInfoLog(int shader)
|
public static native void | glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset)
|
public static native void | glGetShaderPrecisionFormat(int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision)
|
public static native void | glGetShaderSource(int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset)
|
public static native void | glGetShaderSource(int shader, int bufsize, java.nio.IntBuffer length, byte source)
|
public static native java.lang.String | glGetShaderSource(int shader)
|
public static native void | glGetShaderiv(int shader, int pname, int[] params, int offset)
|
public static native void | glGetShaderiv(int shader, int pname, java.nio.IntBuffer params)
|
public static native java.lang.String | glGetString(int name)
|
public static native void | glGetTexParameterfv(int target, int pname, float[] params, int offset)
|
public static native void | glGetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
|
public static native void | glGetTexParameteriv(int target, int pname, int[] params, int offset)
|
public static native void | glGetTexParameteriv(int target, int pname, java.nio.IntBuffer params)
|
public static native int | glGetUniformLocation(int program, java.lang.String name)
|
public static native void | glGetUniformfv(int program, int location, float[] params, int offset)
|
public static native void | glGetUniformfv(int program, int location, java.nio.FloatBuffer params)
|
public static native void | glGetUniformiv(int program, int location, int[] params, int offset)
|
public static native void | glGetUniformiv(int program, int location, java.nio.IntBuffer params)
|
public static native void | glGetVertexAttribfv(int index, int pname, float[] params, int offset)
|
public static native void | glGetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)
|
public static native void | glGetVertexAttribiv(int index, int pname, int[] params, int offset)
|
public static native void | glGetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)
|
public static native void | glHint(int target, int mode)
|
public static native boolean | glIsBuffer(int buffer)
|
public static native boolean | glIsEnabled(int cap)
|
public static native boolean | glIsFramebuffer(int framebuffer)
|
public static native boolean | glIsProgram(int program)
|
public static native boolean | glIsRenderbuffer(int renderbuffer)
|
public static native boolean | glIsShader(int shader)
|
public static native boolean | glIsTexture(int texture)
|
public static native void | glLineWidth(float width)
|
public static native void | glLinkProgram(int program)
|
public static native void | glPixelStorei(int pname, int param)
|
public static native void | glPolygonOffset(float factor, float units)
|
public static native void | glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels)
|
public static native void | glReleaseShaderCompiler()
|
public static native void | glRenderbufferStorage(int target, int internalformat, int width, int height)
|
public static native void | glSampleCoverage(float value, boolean invert)
|
public static native void | glScissor(int x, int y, int width, int height)
|
public static native void | glShaderBinary(int n, int[] shaders, int offset, int binaryformat, java.nio.Buffer binary, int length)
|
public static native void | glShaderBinary(int n, java.nio.IntBuffer shaders, int binaryformat, java.nio.Buffer binary, int length)
|
public static native void | glShaderSource(int shader, java.lang.String string)
|
public static native void | glStencilFunc(int func, int ref, int mask)
|
public static native void | glStencilFuncSeparate(int face, int func, int ref, int mask)
|
public static native void | glStencilMask(int mask)
|
public static native void | glStencilMaskSeparate(int face, int mask)
|
public static native void | glStencilOp(int fail, int zfail, int zpass)
|
public static native void | glStencilOpSeparate(int face, int fail, int zfail, int zpass)
|
public static native void | glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)
|
public static native void | glTexParameterf(int target, int pname, float param)
|
public static native void | glTexParameterfv(int target, int pname, float[] params, int offset)
|
public static native void | glTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
|
public static native void | glTexParameteri(int target, int pname, int param)
|
public static native void | glTexParameteriv(int target, int pname, int[] params, int offset)
|
public static native void | glTexParameteriv(int target, int pname, java.nio.IntBuffer params)
|
public static native void | glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels)
|
public static native void | glUniform1f(int location, float x)
|
public static native void | glUniform1fv(int location, int count, float[] v, int offset)
|
public static native void | glUniform1fv(int location, int count, java.nio.FloatBuffer v)
|
public static native void | glUniform1i(int location, int x)
|
public static native void | glUniform1iv(int location, int count, int[] v, int offset)
|
public static native void | glUniform1iv(int location, int count, java.nio.IntBuffer v)
|
public static native void | glUniform2f(int location, float x, float y)
|
public static native void | glUniform2fv(int location, int count, float[] v, int offset)
|
public static native void | glUniform2fv(int location, int count, java.nio.FloatBuffer v)
|
public static native void | glUniform2i(int location, int x, int y)
|
public static native void | glUniform2iv(int location, int count, int[] v, int offset)
|
public static native void | glUniform2iv(int location, int count, java.nio.IntBuffer v)
|
public static native void | glUniform3f(int location, float x, float y, float z)
|
public static native void | glUniform3fv(int location, int count, float[] v, int offset)
|
public static native void | glUniform3fv(int location, int count, java.nio.FloatBuffer v)
|
public static native void | glUniform3i(int location, int x, int y, int z)
|
public static native void | glUniform3iv(int location, int count, int[] v, int offset)
|
public static native void | glUniform3iv(int location, int count, java.nio.IntBuffer v)
|
public static native void | glUniform4f(int location, float x, float y, float z, float w)
|
public static native void | glUniform4fv(int location, int count, float[] v, int offset)
|
public static native void | glUniform4fv(int location, int count, java.nio.FloatBuffer v)
|
public static native void | glUniform4i(int location, int x, int y, int z, int w)
|
public static native void | glUniform4iv(int location, int count, int[] v, int offset)
|
public static native void | glUniform4iv(int location, int count, java.nio.IntBuffer v)
|
public static native void | glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)
|
public static native void | glUniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)
|
public static native void | glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)
|
public static native void | glUniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)
|
public static native void | glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)
|
public static native void | glUniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)
|
public static native void | glUseProgram(int program)
|
public static native void | glValidateProgram(int program)
|
public static native void | glVertexAttrib1f(int indx, float x)
|
public static native void | glVertexAttrib1fv(int indx, float[] values, int offset)
|
public static native void | glVertexAttrib1fv(int indx, java.nio.FloatBuffer values)
|
public static native void | glVertexAttrib2f(int indx, float x, float y)
|
public static native void | glVertexAttrib2fv(int indx, float[] values, int offset)
|
public static native void | glVertexAttrib2fv(int indx, java.nio.FloatBuffer values)
|
public static native void | glVertexAttrib3f(int indx, float x, float y, float z)
|
public static native void | glVertexAttrib3fv(int indx, float[] values, int offset)
|
public static native void | glVertexAttrib3fv(int indx, java.nio.FloatBuffer values)
|
public static native void | glVertexAttrib4f(int indx, float x, float y, float z, float w)
|
public static native void | glVertexAttrib4fv(int indx, float[] values, int offset)
|
public static native void | glVertexAttrib4fv(int indx, java.nio.FloatBuffer values)
|
public static native void | glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int offset)
|
public static void | glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr)
_nativeClassInit();
glVertexAttribPointerBounds(
indx,
size,
type,
normalized,
stride,
ptr,
ptr.remaining()
);
|
private static native void | glVertexAttribPointerBounds(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr, int remaining)
|
public static native void | glViewport(int x, int y, int width, int height)
|