Class SDLGL

java.lang.Object
arc.backend.sdl.jni.SDLGL

public class SDLGL extends Object
  • Constructor Details

    • SDLGL

      public SDLGL()
  • Method Details

    • init

      @Nullable public static String init()
    • glActiveTexture

      public static void glActiveTexture(int texture)
    • glBindTexture

      public static void glBindTexture(int target, int texture)
    • glBlendFunc

      public static void glBlendFunc(int sfactor, int dfactor)
    • glClear

      public static void glClear(int mask)
    • glClearColor

      public static void glClearColor(float red, float green, float blue, float alpha)
    • glClearDepthf

      public static void glClearDepthf(float depth)
    • glClearStencil

      public static void glClearStencil(int s)
    • glColorMask

      public static void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
    • glCompressedTexImage2D

      public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
    • glCompressedTexSubImage2D

      public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
    • glCopyTexImage2D

      public static void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
    • glCopyTexSubImage2D

      public static void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
    • glCullFace

      public static void glCullFace(int mode)
    • glDeleteTexture

      public static void glDeleteTexture(int texture)
    • glDepthFunc

      public static void glDepthFunc(int func)
    • glDepthMask

      public static void glDepthMask(boolean flag)
    • glDepthRangef

      public static void glDepthRangef(float zNear, float zFar)
    • glDisable

      public static void glDisable(int cap)
    • glDrawArrays

      public static void glDrawArrays(int mode, int first, int count)
    • glDrawElements

      public static void glDrawElements(int mode, int count, int type, Buffer indices)
    • glEnable

      public static void glEnable(int cap)
    • glFinish

      public static void glFinish()
    • glFlush

      public static void glFlush()
    • glFrontFace

      public static void glFrontFace(int mode)
    • glGenTexture

      public static int glGenTexture()
    • glGetError

      public static int glGetError()
    • glGetIntegerv

      public static void glGetIntegerv(int pname, IntBuffer params)
    • glGetString

      public static String glGetString(int name)
    • glHint

      public static void glHint(int target, int mode)
    • glLineWidth

      public static void glLineWidth(float width)
    • glPixelStorei

      public static void glPixelStorei(int pname, int param)
    • glPolygonOffset

      public static void glPolygonOffset(float factor, float units)
    • glReadPixels

      public static void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
    • glScissor

      public static void glScissor(int x, int y, int width, int height)
    • glStencilFunc

      public static void glStencilFunc(int func, int ref, int mask)
    • glStencilMask

      public static void glStencilMask(int mask)
    • glStencilOp

      public static void glStencilOp(int fail, int zfail, int zpass)
    • glTexImage2D

      public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
    • glTexParameterf

      public static void glTexParameterf(int target, int pname, float param)
    • glTexSubImage2D

      public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
    • glViewport

      public static void glViewport(int x, int y, int width, int height)
    • glAttachShader

      public static void glAttachShader(int program, int shader)
    • glBindAttribLocation

      public static void glBindAttribLocation(int program, int index, String name)
    • glBindBuffer

      public static void glBindBuffer(int target, int buffer)
    • glBindFramebuffer

      public static void glBindFramebuffer(int target, int framebuffer)
    • glBindRenderbuffer

      public static void glBindRenderbuffer(int target, int renderbuffer)
    • glBlendColor

      public static void glBlendColor(float red, float green, float blue, float alpha)
    • glBlendEquation

      public static void glBlendEquation(int mode)
    • glBlendEquationSeparate

      public static void glBlendEquationSeparate(int modeRGB, int modeAlpha)
    • glBlendFuncSeparate

      public static void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
    • glBufferData

      public static void glBufferData(int target, int size, Buffer data, int usage)
    • glBufferSubData

      public static void glBufferSubData(int target, int offset, int size, Buffer data)
    • glCheckFramebufferStatus

      public static int glCheckFramebufferStatus(int target)
    • glCompileShader

      public static void glCompileShader(int shader)
    • glCreateProgram

      public static int glCreateProgram()
    • glCreateShader

      public static int glCreateShader(int type)
    • glDeleteBuffer

      public static void glDeleteBuffer(int buffer)
    • glDeleteFramebuffer

      public static void glDeleteFramebuffer(int framebuffer)
    • glDeleteProgram

      public static void glDeleteProgram(int program)
    • glDeleteRenderbuffer

      public static void glDeleteRenderbuffer(int renderbuffer)
    • glDeleteShader

      public static void glDeleteShader(int shader)
    • glDetachShader

      public static void glDetachShader(int program, int shader)
    • glDisableVertexAttribArray

      public static void glDisableVertexAttribArray(int index)
    • glDrawElements

      public static void glDrawElements(int mode, int count, int type, int indices)
    • glEnableVertexAttribArray

      public static void glEnableVertexAttribArray(int index)
    • glFramebufferRenderbuffer

      public static void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
    • glFramebufferTexture2D

      public static void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
    • glGenBuffer

      public static int glGenBuffer()
    • glGenerateMipmap

      public static void glGenerateMipmap(int target)
    • glGenFramebuffer

      public static int glGenFramebuffer()
    • glGenRenderbuffer

      public static int glGenRenderbuffer()
    • glGetActiveAttrib

      public static String glGetActiveAttrib(int program, int index, Object size, Object type)
    • glGetActiveUniform

      public static String glGetActiveUniform(int program, int index, Object size, Object type)
    • glGetAttribLocation

      public static int glGetAttribLocation(int program, String name)
    • glGetBooleanv

      public static void glGetBooleanv(int pname, Buffer params)
    • glGetBufferParameteriv

      public static void glGetBufferParameteriv(int target, int pname, IntBuffer params)
    • glGetFloatv

      public static void glGetFloatv(int pname, FloatBuffer params)
    • glGetFramebufferAttachmentParameteriv

      public static void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params)
    • glGetProgramiv

      public static void glGetProgramiv(int program, int pname, IntBuffer params)
    • glGetProgramInfoLog

      public static String glGetProgramInfoLog(int program)
    • glGetRenderbufferParameteriv

      public static void glGetRenderbufferParameteriv(int target, int pname, IntBuffer params)
    • glGetShaderiv

      public static void glGetShaderiv(int shader, int pname, IntBuffer params)
    • glGetShaderInfoLog

      public static String glGetShaderInfoLog(int shader)
    • glGetShaderPrecisionFormat

      public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
    • glGetTexParameterfv

      public static void glGetTexParameterfv(int target, int pname, FloatBuffer params)
    • glGetTexParameteriv

      public static void glGetTexParameteriv(int target, int pname, IntBuffer params)
    • glGetUniformfv

      public static void glGetUniformfv(int program, int location, FloatBuffer params)
    • glGetUniformiv

      public static void glGetUniformiv(int program, int location, IntBuffer params)
    • glGetUniformLocation

      public static int glGetUniformLocation(int program, String name)
    • glGetVertexAttribfv

      public static void glGetVertexAttribfv(int index, int pname, FloatBuffer params)
    • glGetVertexAttribiv

      public static void glGetVertexAttribiv(int index, int pname, IntBuffer params)
    • glIsBuffer

      public static boolean glIsBuffer(int buffer)
    • glIsEnabled

      public static boolean glIsEnabled(int cap)
    • glIsFramebuffer

      public static boolean glIsFramebuffer(int framebuffer)
    • glIsProgram

      public static boolean glIsProgram(int program)
    • glIsRenderbuffer

      public static boolean glIsRenderbuffer(int renderbuffer)
    • glIsShader

      public static boolean glIsShader(int shader)
    • glIsTexture

      public static boolean glIsTexture(int texture)
    • glLinkProgram

      public static void glLinkProgram(int program)
    • glReleaseShaderCompiler

      public static void glReleaseShaderCompiler()
    • glRenderbufferStorage

      public static void glRenderbufferStorage(int target, int internalformat, int width, int height)
    • glSampleCoverage

      public static void glSampleCoverage(float value, boolean invert)
    • glShaderSource

      public static void glShaderSource(int shader, String string)
    • glStencilFuncSeparate

      public static void glStencilFuncSeparate(int face, int func, int ref, int mask)
    • glStencilMaskSeparate

      public static void glStencilMaskSeparate(int face, int mask)
    • glStencilOpSeparate

      public static void glStencilOpSeparate(int face, int fail, int zfail, int zpass)
    • glTexParameterfv

      public static void glTexParameterfv(int target, int pname, FloatBuffer params)
    • glTexParameteri

      public static void glTexParameteri(int target, int pname, int param)
    • glTexParameteriv

      public static void glTexParameteriv(int target, int pname, IntBuffer params)
    • glUniform1f

      public static void glUniform1f(int location, float x)
    • glUniform1fv

      public static void glUniform1fv(int location, int count, FloatBuffer v)
    • glUniform1fv

      public static void glUniform1fv(int location, int count, float[] v, int offset)
    • glUniform1i

      public static void glUniform1i(int location, int x)
    • glUniform1iv

      public static void glUniform1iv(int location, int count, IntBuffer v)
    • glUniform1iv

      public static void glUniform1iv(int location, int count, int[] v, int offset)
    • glUniform2f

      public static void glUniform2f(int location, float x, float y)
    • glUniform2fv

      public static void glUniform2fv(int location, int count, FloatBuffer v)
    • glUniform2fv

      public static void glUniform2fv(int location, int count, float[] v, int offset)
    • glUniform2i

      public static void glUniform2i(int location, int x, int y)
    • glUniform2iv

      public static void glUniform2iv(int location, int count, IntBuffer v)
    • glUniform2iv

      public static void glUniform2iv(int location, int count, int[] v, int offset)
    • glUniform3f

      public static void glUniform3f(int location, float x, float y, float z)
    • glUniform3fv

      public static void glUniform3fv(int location, int count, FloatBuffer v)
    • glUniform3fv

      public static void glUniform3fv(int location, int count, float[] v, int offset)
    • glUniform3i

      public static void glUniform3i(int location, int x, int y, int z)
    • glUniform3iv

      public static void glUniform3iv(int location, int count, IntBuffer v)
    • glUniform3iv

      public static void glUniform3iv(int location, int count, int[] v, int offset)
    • glUniform4f

      public static void glUniform4f(int location, float x, float y, float z, float w)
    • glUniform4fv

      public static void glUniform4fv(int location, int count, FloatBuffer v)
    • glUniform4fv

      public static void glUniform4fv(int location, int count, float[] v, int offset)
    • glUniform4i

      public static void glUniform4i(int location, int x, int y, int z, int w)
    • glUniform4iv

      public static void glUniform4iv(int location, int count, IntBuffer v)
    • glUniform4iv

      public static void glUniform4iv(int location, int count, int[] v, int offset)
    • glUniformMatrix2fv

      public static void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix2fv

      public static void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)
    • glUniformMatrix3fv

      public static void glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix3fv

      public static void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)
    • glUniformMatrix4fv

      public static void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix4fv

      public static void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)
    • glUseProgram

      public static void glUseProgram(int program)
    • glValidateProgram

      public static void glValidateProgram(int program)
    • glVertexAttrib1f

      public static void glVertexAttrib1f(int indx, float x)
    • glVertexAttrib1fv

      public static void glVertexAttrib1fv(int indx, FloatBuffer values)
    • glVertexAttrib2f

      public static void glVertexAttrib2f(int indx, float x, float y)
    • glVertexAttrib2fv

      public static void glVertexAttrib2fv(int indx, FloatBuffer values)
    • glVertexAttrib3f

      public static void glVertexAttrib3f(int indx, float x, float y, float z)
    • glVertexAttrib3fv

      public static void glVertexAttrib3fv(int indx, FloatBuffer values)
    • glVertexAttrib4f

      public static void glVertexAttrib4f(int indx, float x, float y, float z, float w)
    • glVertexAttrib4fv

      public static void glVertexAttrib4fv(int indx, FloatBuffer values)
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Object ptr)
    • glVertexAttribPointer

      public static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr)
    • glReadBuffer

      public static void glReadBuffer(int mode)
    • glDrawRangeElements

      public static void glDrawRangeElements(int mode, int start, int end, int count, int type, int offset)
    • glDrawRangeElements

      public static void glDrawRangeElements(int mode, int start, int end, int count, int type, Buffer indices)
    • glTexImage3D

      public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int offset)
    • glTexImage3D

      public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, Buffer pixels)
    • glTexSubImage3D

      public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int offset)
    • glTexSubImage3D

      public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, Buffer pixels)
    • glCopyTexSubImage3D

      public static void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
    • glGenQueries

      public static void glGenQueries(int n, IntBuffer ids)
    • glDeleteQueries

      public static void glDeleteQueries(int n, IntBuffer ids)
    • glIsQuery

      public static boolean glIsQuery(int id)
    • glBeginQuery

      public static void glBeginQuery(int target, int id)
    • glEndQuery

      public static void glEndQuery(int target)
    • glGetQueryiv

      public static void glGetQueryiv(int target, int pname, IntBuffer params)
    • glGetQueryObjectuiv

      public static void glGetQueryObjectuiv(int id, int pname, IntBuffer params)
    • glUnmapBuffer

      public static boolean glUnmapBuffer(int target)
    • glGetBufferPointerv

      public static Buffer glGetBufferPointerv(int target, int pname)
    • glDrawBuffers

      public static void glDrawBuffers(int n, IntBuffer bufs)
    • glUniformMatrix2x3fv

      public static void glUniformMatrix2x3fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix3x2fv

      public static void glUniformMatrix3x2fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix2x4fv

      public static void glUniformMatrix2x4fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix4x2fv

      public static void glUniformMatrix4x2fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix3x4fv

      public static void glUniformMatrix3x4fv(int location, int count, boolean transpose, FloatBuffer value)
    • glUniformMatrix4x3fv

      public static void glUniformMatrix4x3fv(int location, int count, boolean transpose, FloatBuffer value)
    • glBlitFramebuffer

      public static void glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
    • glRenderbufferStorageMultisample

      public static void glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height)
    • glFramebufferTextureLayer

      public static void glFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer)
    • glFlushMappedBufferRange

      public static void glFlushMappedBufferRange(int target, int offset, int length)
    • glBindVertexArray

      public static void glBindVertexArray(int array)
    • glDeleteVertexArrays

      public static void glDeleteVertexArrays(int n, IntBuffer arrays)
    • glGenVertexArrays

      public static void glGenVertexArrays(int n, IntBuffer arrays)
    • glIsVertexArray

      public static boolean glIsVertexArray(int array)
    • glBeginTransformFeedback

      public static void glBeginTransformFeedback(int primitiveMode)
    • glEndTransformFeedback

      public static void glEndTransformFeedback()
    • glBindBufferRange

      public static void glBindBufferRange(int target, int index, int buffer, int offset, int size)
    • glBindBufferBase

      public static void glBindBufferBase(int target, int index, int buffer)
    • glTransformFeedbackVaryings

      public static void glTransformFeedbackVaryings(int program, String[] varyings, int bufferMode)
    • glVertexAttribIPointer

      public static void glVertexAttribIPointer(int index, int size, int type, int stride, int offset)
    • glGetVertexAttribIiv

      public static void glGetVertexAttribIiv(int index, int pname, IntBuffer params)
    • glGetVertexAttribIuiv

      public static void glGetVertexAttribIuiv(int index, int pname, IntBuffer params)
    • glVertexAttribI4i

      public static void glVertexAttribI4i(int index, int x, int y, int z, int w)
    • glVertexAttribI4ui

      public static void glVertexAttribI4ui(int index, int x, int y, int z, int w)
    • glGetUniformuiv

      public static void glGetUniformuiv(int program, int location, IntBuffer params)
    • glGetFragDataLocation

      public static int glGetFragDataLocation(int program, String name)
    • glUniform1uiv

      public static void glUniform1uiv(int location, int count, IntBuffer value)
    • glUniform3uiv

      public static void glUniform3uiv(int location, int count, IntBuffer value)
    • glUniform4uiv

      public static void glUniform4uiv(int location, int count, IntBuffer value)
    • glClearBufferiv

      public static void glClearBufferiv(int buffer, int drawbuffer, IntBuffer value)
    • glClearBufferuiv

      public static void glClearBufferuiv(int buffer, int drawbuffer, IntBuffer value)
    • glClearBufferfv

      public static void glClearBufferfv(int buffer, int drawbuffer, FloatBuffer value)
    • glClearBufferfi

      public static void glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil)
    • glGetStringi

      public static String glGetStringi(int name, int index)
    • glCopyBufferSubData

      public static void glCopyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size)
    • glGetUniformIndices

      public static void glGetUniformIndices(int program, String[] uniformNames, IntBuffer uniformIndices)
    • glGetActiveUniformsiv

      public static void glGetActiveUniformsiv(int program, int uniformCount, IntBuffer uniformIndices, int pname, IntBuffer params)
    • glGetUniformBlockIndex

      public static int glGetUniformBlockIndex(int program, String uniformBlockName)
    • glGetActiveUniformBlockiv

      public static void glGetActiveUniformBlockiv(int program, int uniformBlockIndex, int pname, IntBuffer params)
    • glGetActiveUniformBlockName

      public static void glGetActiveUniformBlockName(int program, int uniformBlockIndex, Buffer length, Buffer uniformBlockName)
    • glUniformBlockBinding

      public static void glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)
    • glDrawArraysInstanced

      public static void glDrawArraysInstanced(int mode, int first, int count, int instanceCount)
    • glDrawElementsInstanced

      public static void glDrawElementsInstanced(int mode, int count, int type, int indicesOffset, int instanceCount)
    • glGetInteger64v

      public static void glGetInteger64v(int pname, LongBuffer params)
    • glGetBufferParameteri64v

      public static void glGetBufferParameteri64v(int target, int pname, LongBuffer params)
    • glGenSamplers

      public static void glGenSamplers(int count, IntBuffer samplers)
    • glDeleteSamplers

      public static void glDeleteSamplers(int count, IntBuffer samplers)
    • glIsSampler

      public static boolean glIsSampler(int sampler)
    • glBindSampler

      public static void glBindSampler(int unit, int sampler)
    • glSamplerParameteri

      public static void glSamplerParameteri(int sampler, int pname, int param)
    • glSamplerParameteriv

      public static void glSamplerParameteriv(int sampler, int pname, IntBuffer param)
    • glSamplerParameterf

      public static void glSamplerParameterf(int sampler, int pname, float param)
    • glSamplerParameterfv

      public static void glSamplerParameterfv(int sampler, int pname, FloatBuffer param)
    • glGetSamplerParameteriv

      public static void glGetSamplerParameteriv(int sampler, int pname, IntBuffer params)
    • glGetSamplerParameterfv

      public static void glGetSamplerParameterfv(int sampler, int pname, FloatBuffer params)
    • glVertexAttribDivisor

      public static void glVertexAttribDivisor(int index, int divisor)
    • glBindTransformFeedback

      public static void glBindTransformFeedback(int target, int id)
    • glDeleteTransformFeedbacks

      public static void glDeleteTransformFeedbacks(int n, IntBuffer ids)
    • glGenTransformFeedbacks

      public static void glGenTransformFeedbacks(int n, IntBuffer ids)
    • glIsTransformFeedback

      public static boolean glIsTransformFeedback(int id)
    • glPauseTransformFeedback

      public static void glPauseTransformFeedback()
    • glResumeTransformFeedback

      public static void glResumeTransformFeedback()
    • glProgramParameteri

      public static void glProgramParameteri(int program, int pname, int value)
    • glInvalidateFramebuffer

      public static void glInvalidateFramebuffer(int target, int numAttachments, IntBuffer attachments)
    • glInvalidateSubFramebuffer

      public static void glInvalidateSubFramebuffer(int target, int numAttachments, IntBuffer attachments, int x, int y, int width, int height)