Class GL20C

Direct Known Subclasses:
GL21C

public sealed class GL20C extends GL15C permits GL21C
GL20C relies on preview features of the Java platform:
Programs can only use GL20C when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The OpenGL 2.0 forward compatible functions.

These extensions are promoted in this version:

Since:
0.1.0
Author:
squid233
  • Field Details

  • Constructor Details

    • GL20C

      public GL20C()
  • Method Details

    • attachShader

      public static void attachShader(int program, int shader)
    • bindAttribLocation

      public static void bindAttribLocation(int program, int index, MemorySegmentPREVIEW name)
    • bindAttribLocation

      public static void bindAttribLocation(int program, int index, String name)
    • blendEquationSeparate

      public static void blendEquationSeparate(int modeRGB, int modeAlpha)
    • compileShader

      public static void compileShader(int shader)
    • createProgram

      public static int createProgram()
    • createShader

      public static int createShader(int type)
    • deleteProgram

      public static void deleteProgram(int program)
    • deleteShader

      public static void deleteShader(int shader)
    • detachShader

      public static void detachShader(int program, int shader)
    • disableVertexAttribArray

      public static void disableVertexAttribArray(int index)
    • drawBuffers

      public static void drawBuffers(int n, MemorySegmentPREVIEW bufs)
    • drawBuffers

      public static void drawBuffers(SegmentAllocatorPREVIEW allocator, int[] bufs)
    • enableVertexAttribArray

      public static void enableVertexAttribArray(int index)
    • getActiveAttrib

      public static void getActiveAttrib(int program, int index, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW size, MemorySegmentPREVIEW type, MemorySegmentPREVIEW name)
    • getActiveAttrib

      public static void getActiveAttrib(SegmentAllocatorPREVIEW allocator, int program, int index, int bufSize, int @Nullable [] length, int[] size, int[] type, String[] name)
    • getActiveUniform

      public static void getActiveUniform(int program, int index, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW size, MemorySegmentPREVIEW type, MemorySegmentPREVIEW name)
    • getActiveUniform

      public static void getActiveUniform(SegmentAllocatorPREVIEW allocator, int program, int index, int bufSize, int @Nullable [] length, int[] size, int[] type, String[] name)
    • getAttachedShaders

      public static void getAttachedShaders(int program, int maxCount, MemorySegmentPREVIEW count, MemorySegmentPREVIEW shaders)
    • getAttachedShaders

      public static void getAttachedShaders(SegmentAllocatorPREVIEW allocator, int program, int @Nullable [] count, int[] shaders)
    • getAttribLocation

      public static int getAttribLocation(int program, MemorySegmentPREVIEW name)
    • getAttribLocation

      public static int getAttribLocation(int program, String name)
    • getProgramInfoLog

      public static void getProgramInfoLog(int program, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW infoLog)
    • getProgramInfoLog

      public static String getProgramInfoLog(SegmentAllocatorPREVIEW allocator, int program, int bufSize, int @Nullable [] length)
    • getProgramInfoLog

      public static String getProgramInfoLog(SegmentAllocatorPREVIEW allocator, int program)
    • getProgramiv

      public static void getProgramiv(int program, int pname, MemorySegmentPREVIEW params)
    • getProgramiv

      public static void getProgramiv(SegmentAllocatorPREVIEW allocator, int program, int pname, int[] params)
    • getProgrami

      public static int getProgrami(int program, int pname)
    • getShaderInfoLog

      public static void getShaderInfoLog(int shader, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW infoLog)
    • getShaderInfoLog

      public static String getShaderInfoLog(SegmentAllocatorPREVIEW allocator, int shader, int bufSize, int @Nullable [] length)
    • getShaderInfoLog

      public static String getShaderInfoLog(SegmentAllocatorPREVIEW allocator, int shader)
    • getShaderSource

      public static void getShaderSource(int shader, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW source)
    • getShaderSource

      public static String getShaderSource(SegmentAllocatorPREVIEW allocator, int shader, int bufSize, int @Nullable [] length)
    • getShaderSource

      public static String getShaderSource(SegmentAllocatorPREVIEW allocator, int shader)
    • getShaderiv

      public static void getShaderiv(int shader, int pname, MemorySegmentPREVIEW params)
    • getShaderiv

      public static void getShaderiv(SegmentAllocatorPREVIEW allocator, int shader, int pname, int[] params)
    • getShaderi

      public static int getShaderi(int shader, int pname)
    • getUniformLocation

      public static int getUniformLocation(int program, MemorySegmentPREVIEW name)
    • getUniformLocation

      public static int getUniformLocation(int program, String name)
    • getUniformfv

      public static void getUniformfv(int program, int location, MemorySegmentPREVIEW params)
    • getUniformfv

      public static void getUniformfv(SegmentAllocatorPREVIEW allocator, int program, int location, float[] params)
    • getUniformf

      public static float getUniformf(int program, int location)
    • getUniformiv

      public static void getUniformiv(int program, int location, MemorySegmentPREVIEW params)
    • getUniformiv

      public static void getUniformiv(SegmentAllocatorPREVIEW allocator, int program, int location, int[] params)
    • getUniformi

      public static int getUniformi(int program, int location)
    • getVertexAttribPointerv

      public static void getVertexAttribPointerv(int index, int pname, MemorySegmentPREVIEW pointer)
    • getVertexAttribPointerv

      public static void getVertexAttribPointerv(SegmentAllocatorPREVIEW allocator, int index, int pname, byte[] pointer)
    • getVertexAttribPointerv

      public static void getVertexAttribPointerv(SegmentAllocatorPREVIEW allocator, int index, int pname, short[] pointer)
    • getVertexAttribPointerv

      public static void getVertexAttribPointerv(SegmentAllocatorPREVIEW allocator, int index, int pname, int[] pointer)
    • getVertexAttribPointerv

      public static void getVertexAttribPointerv(SegmentAllocatorPREVIEW allocator, int index, int pname, float[] pointer)
    • getVertexAttribPointerv

      public static void getVertexAttribPointerv(SegmentAllocatorPREVIEW allocator, int index, int pname, double[] pointer)
    • getVertexAttribdv

      public static void getVertexAttribdv(int index, int pname, MemorySegmentPREVIEW params)
    • getVertexAttribdv

      public static void getVertexAttribdv(SegmentAllocatorPREVIEW allocator, int index, int pname, double[] params)
    • getVertexAttribd

      public static double getVertexAttribd(int index, int pname)
    • getVertexAttribfv

      public static void getVertexAttribfv(int index, int pname, MemorySegmentPREVIEW params)
    • getVertexAttribfv

      public static void getVertexAttribfv(SegmentAllocatorPREVIEW allocator, int index, int pname, float[] params)
    • getVertexAttribf

      public static float getVertexAttribf(int index, int pname)
    • getVertexAttribiv

      public static void getVertexAttribiv(int index, int pname, MemorySegmentPREVIEW params)
    • getVertexAttribiv

      public static void getVertexAttribiv(SegmentAllocatorPREVIEW allocator, int index, int pname, int[] params)
    • getVertexAttribi

      public static int getVertexAttribi(int index, int pname)
    • isProgram

      public static boolean isProgram(int program)
    • isShader

      public static boolean isShader(int shader)
    • linkProgram

      public static void linkProgram(int program)
    • shaderSource

      public static void shaderSource(int shader, int count, MemorySegmentPREVIEW string, MemorySegmentPREVIEW length)
    • shaderSource

      public static void shaderSource(SegmentAllocatorPREVIEW allocator, int shader, String[] string)
    • shaderSource

      public static void shaderSource(int shader, String string)
    • stencilFuncSeparate

      public static void stencilFuncSeparate(int face, int func, int ref, int mask)
    • stencilMaskSeparate

      public static void stencilMaskSeparate(int face, int mask)
    • stencilOpSeparate

      public static void stencilOpSeparate(int face, int sfail, int dpfail, int dppass)
    • uniform1f

      public static void uniform1f(int location, float v0)
    • uniform1fv

      public static void uniform1fv(int location, int count, MemorySegmentPREVIEW value)
    • uniform1fv

      public static void uniform1fv(SegmentAllocatorPREVIEW allocator, int location, float[] value)
    • uniform1i

      public static void uniform1i(int location, int v0)
    • uniform1iv

      public static void uniform1iv(int location, int count, MemorySegmentPREVIEW value)
    • uniform1iv

      public static void uniform1iv(SegmentAllocatorPREVIEW allocator, int location, int[] value)
    • uniform2f

      public static void uniform2f(int location, float v0, float v1)
    • uniform2fv

      public static void uniform2fv(int location, int count, MemorySegmentPREVIEW value)
    • uniform2fv

      public static void uniform2fv(SegmentAllocatorPREVIEW allocator, int location, float[] value)
    • uniform2i

      public static void uniform2i(int location, int v0, int v1)
    • uniform2iv

      public static void uniform2iv(int location, int count, MemorySegmentPREVIEW value)
    • uniform2iv

      public static void uniform2iv(SegmentAllocatorPREVIEW allocator, int location, int[] value)
    • uniform3f

      public static void uniform3f(int location, float v0, float v1, float v2)
    • uniform3fv

      public static void uniform3fv(int location, int count, MemorySegmentPREVIEW value)
    • uniform3fv

      public static void uniform3fv(SegmentAllocatorPREVIEW allocator, int location, float[] value)
    • uniform3i

      public static void uniform3i(int location, int v0, int v1, int v2)
    • uniform3iv

      public static void uniform3iv(int location, int count, MemorySegmentPREVIEW value)
    • uniform3iv

      public static void uniform3iv(SegmentAllocatorPREVIEW allocator, int location, int[] value)
    • uniform4f

      public static void uniform4f(int location, float v0, float v1, float v2, float v3)
    • uniform4fv

      public static void uniform4fv(int location, int count, MemorySegmentPREVIEW value)
    • uniform4fv

      public static void uniform4fv(SegmentAllocatorPREVIEW allocator, int location, float[] value)
    • uniform4i

      public static void uniform4i(int location, int v0, int v1, int v2, int v3)
    • uniform4iv

      public static void uniform4iv(int location, int count, MemorySegmentPREVIEW value)
    • uniform4iv

      public static void uniform4iv(SegmentAllocatorPREVIEW allocator, int location, int[] value)
    • uniformMatrix2fv

      public static void uniformMatrix2fv(int location, int count, boolean transpose, MemorySegmentPREVIEW value)
    • uniformMatrix2fv

      public static void uniformMatrix2fv(SegmentAllocatorPREVIEW allocator, int location, int count, boolean transpose, float[] value)
    • uniformMatrix2fv

      public static void uniformMatrix2fv(SegmentAllocatorPREVIEW allocator, int location, boolean transpose, float[] value)
    • uniformMatrix3fv

      public static void uniformMatrix3fv(int location, int count, boolean transpose, MemorySegmentPREVIEW value)
    • uniformMatrix3fv

      public static void uniformMatrix3fv(SegmentAllocatorPREVIEW allocator, int location, int count, boolean transpose, float[] value)
    • uniformMatrix3fv

      public static void uniformMatrix3fv(SegmentAllocatorPREVIEW allocator, int location, boolean transpose, float[] value)
    • uniformMatrix4fv

      public static void uniformMatrix4fv(int location, int count, boolean transpose, MemorySegmentPREVIEW value)
    • uniformMatrix4fv

      public static void uniformMatrix4fv(SegmentAllocatorPREVIEW allocator, int location, int count, boolean transpose, float[] value)
    • uniformMatrix4fv

      public static void uniformMatrix4fv(SegmentAllocatorPREVIEW allocator, int location, boolean transpose, float[] value)
    • useProgram

      public static void useProgram(int program)
    • validateProgram

      public static void validateProgram(int program)
    • vertexAttrib1d

      public static void vertexAttrib1d(int index, double x)
    • vertexAttrib1dv

      public static void vertexAttrib1dv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib1dv

      public static void vertexAttrib1dv(SegmentAllocatorPREVIEW allocator, int index, double[] v)
    • vertexAttrib1f

      public static void vertexAttrib1f(int index, float x)
    • vertexAttrib1fv

      public static void vertexAttrib1fv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib1fv

      public static void vertexAttrib1fv(SegmentAllocatorPREVIEW allocator, int index, float[] v)
    • vertexAttrib1s

      public static void vertexAttrib1s(int index, short x)
    • vertexAttrib1sv

      public static void vertexAttrib1sv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib1sv

      public static void vertexAttrib1sv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttrib2d

      public static void vertexAttrib2d(int index, double x, double y)
    • vertexAttrib2dv

      public static void vertexAttrib2dv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib2dv

      public static void vertexAttrib2dv(SegmentAllocatorPREVIEW allocator, int index, double[] v)
    • vertexAttrib2f

      public static void vertexAttrib2f(int index, float x, float y)
    • vertexAttrib2fv

      public static void vertexAttrib2fv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib2fv

      public static void vertexAttrib2fv(SegmentAllocatorPREVIEW allocator, int index, float[] v)
    • vertexAttrib2s

      public static void vertexAttrib2s(int index, short x, short y)
    • vertexAttrib2sv

      public static void vertexAttrib2sv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib2sv

      public static void vertexAttrib2sv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttrib3d

      public static void vertexAttrib3d(int index, double x, double y, double z)
    • vertexAttrib3dv

      public static void vertexAttrib3dv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib3dv

      public static void vertexAttrib3dv(SegmentAllocatorPREVIEW allocator, int index, double[] v)
    • vertexAttrib3f

      public static void vertexAttrib3f(int index, float x, float y, float z)
    • vertexAttrib3fv

      public static void vertexAttrib3fv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib3fv

      public static void vertexAttrib3fv(SegmentAllocatorPREVIEW allocator, int index, float[] v)
    • vertexAttrib3s

      public static void vertexAttrib3s(int index, short x, short y, short z)
    • vertexAttrib3sv

      public static void vertexAttrib3sv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib3sv

      public static void vertexAttrib3sv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttrib4Nbv

      public static void vertexAttrib4Nbv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4Nbv

      public static void vertexAttrib4Nbv(SegmentAllocatorPREVIEW allocator, int index, byte[] v)
    • vertexAttrib4Niv

      public static void vertexAttrib4Niv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4Niv

      public static void vertexAttrib4Niv(SegmentAllocatorPREVIEW allocator, int index, int[] v)
    • vertexAttrib4Nsv

      public static void vertexAttrib4Nsv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4Nsv

      public static void vertexAttrib4Nsv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttrib4Nub

      public static void vertexAttrib4Nub(int index, byte x, byte y, byte z, byte w)
    • vertexAttrib4Nubv

      public static void vertexAttrib4Nubv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4Nubv

      public static void vertexAttrib4Nubv(SegmentAllocatorPREVIEW allocator, int index, byte[] v)
    • vertexAttrib4Nuiv

      public static void vertexAttrib4Nuiv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4Nuiv

      public static void vertexAttrib4Nuiv(SegmentAllocatorPREVIEW allocator, int index, int[] v)
    • vertexAttrib4Nusv

      public static void vertexAttrib4Nusv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4Nusv

      public static void vertexAttrib4Nusv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttrib4bv

      public static void vertexAttrib4bv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4bv

      public static void vertexAttrib4bv(SegmentAllocatorPREVIEW allocator, int index, byte[] v)
    • vertexAttrib4d

      public static void vertexAttrib4d(int index, double x, double y, double z, double w)
    • vertexAttrib4dv

      public static void vertexAttrib4dv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4dv

      public static void vertexAttrib4dv(SegmentAllocatorPREVIEW allocator, int index, double[] v)
    • vertexAttrib4f

      public static void vertexAttrib4f(int index, float x, float y, float z, float w)
    • vertexAttrib4fv

      public static void vertexAttrib4fv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4fv

      public static void vertexAttrib4fv(SegmentAllocatorPREVIEW allocator, int index, float[] v)
    • vertexAttrib4iv

      public static void vertexAttrib4iv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4iv

      public static void vertexAttrib4iv(SegmentAllocatorPREVIEW allocator, int index, int[] v)
    • vertexAttrib4s

      public static void vertexAttrib4s(int index, short x, short y, short z, short w)
    • vertexAttrib4sv

      public static void vertexAttrib4sv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4sv

      public static void vertexAttrib4sv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttrib4ubv

      public static void vertexAttrib4ubv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4ubv

      public static void vertexAttrib4ubv(SegmentAllocatorPREVIEW allocator, int index, byte[] v)
    • vertexAttrib4uiv

      public static void vertexAttrib4uiv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4uiv

      public static void vertexAttrib4uiv(SegmentAllocatorPREVIEW allocator, int index, int[] v)
    • vertexAttrib4usv

      public static void vertexAttrib4usv(int index, MemorySegmentPREVIEW v)
    • vertexAttrib4usv

      public static void vertexAttrib4usv(SegmentAllocatorPREVIEW allocator, int index, short[] v)
    • vertexAttribPointer

      public static void vertexAttribPointer(int index, int size, int type, boolean normalized, int stride, MemorySegmentPREVIEW pointer)
    • vertexAttribPointer

      public static void vertexAttribPointer(SegmentAllocatorPREVIEW allocator, int index, int size, int type, boolean normalized, int stride, byte[] pointer)
    • vertexAttribPointer

      public static void vertexAttribPointer(SegmentAllocatorPREVIEW allocator, int index, int size, int type, boolean normalized, int stride, short[] pointer)
    • vertexAttribPointer

      public static void vertexAttribPointer(SegmentAllocatorPREVIEW allocator, int index, int size, int type, boolean normalized, int stride, int[] pointer)
    • vertexAttribPointer

      public static void vertexAttribPointer(SegmentAllocatorPREVIEW allocator, int index, int size, int type, boolean normalized, int stride, float[] pointer)
    • vertexAttribPointer

      public static void vertexAttribPointer(SegmentAllocatorPREVIEW allocator, int index, int size, int type, boolean normalized, int stride, double[] pointer)