public abstract class PGL
extends java.lang.Object
Constructor and Description |
---|
PGL() |
PGL(PGraphicsOpenGL pg) |
Modifier and Type | Method and Description |
---|---|
void |
activeTexture(int texture) |
abstract void |
attachShader(int program,
int shader) |
abstract void |
bindAttribLocation(int program,
int index,
java.lang.String name) |
abstract void |
bindBuffer(int target,
int buffer) |
void |
bindFramebuffer(int target,
int framebuffer) |
abstract void |
bindRenderbuffer(int target,
int renderbuffer) |
void |
bindTexture(int target,
int texture) |
abstract void |
blendColor(float red,
float green,
float blue,
float alpha) |
abstract void |
blendEquation(int mode) |
abstract void |
blendEquationSeparate(int modeRGB,
int modeAlpha) |
abstract void |
blendFunc(int src,
int dst) |
abstract void |
blendFuncSeparate(int srcRGB,
int dstRGB,
int srcAlpha,
int dstAlpha) |
abstract void |
blitFramebuffer(int srcX0,
int srcY0,
int srcX1,
int srcY1,
int dstX0,
int dstY0,
int dstX1,
int dstY1,
int mask,
int filter) |
abstract void |
bufferData(int target,
int size,
java.nio.Buffer data,
int usage) |
abstract void |
bufferSubData(int target,
int offset,
int size,
java.nio.Buffer data) |
abstract int |
checkFramebufferStatus(int target) |
abstract void |
clear(int buf) |
abstract void |
clearColor(float r,
float g,
float b,
float a) |
abstract void |
clearDepth(float d) |
abstract void |
clearStencil(int s) |
abstract int |
clientWaitSync(long sync,
int flags,
long timeout) |
abstract void |
colorMask(boolean r,
boolean g,
boolean b,
boolean a) |
abstract void |
compileShader(int shader) |
abstract void |
compressedTexImage2D(int target,
int level,
int internalFormat,
int width,
int height,
int border,
int imageSize,
java.nio.Buffer data) |
abstract void |
compressedTexSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int width,
int height,
int format,
int imageSize,
java.nio.Buffer data) |
abstract void |
copyTexImage2D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height,
int border) |
abstract void |
copyTexSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int x,
int y,
int width,
int height) |
abstract int |
createProgram() |
abstract int |
createShader(int type) |
abstract void |
cullFace(int mode) |
abstract void |
deleteBuffers(int n,
java.nio.IntBuffer buffers) |
abstract void |
deleteFramebuffers(int n,
java.nio.IntBuffer framebuffers) |
abstract void |
deleteProgram(int program) |
abstract void |
deleteRenderbuffers(int n,
java.nio.IntBuffer renderbuffers) |
abstract void |
deleteShader(int shader) |
abstract void |
deleteSync(long sync) |
abstract void |
deleteTextures(int n,
java.nio.IntBuffer textures) |
abstract void |
depthFunc(int func) |
abstract void |
depthMask(boolean mask) |
abstract void |
depthRangef(float n,
float f) |
abstract void |
detachShader(int program,
int shader) |
abstract void |
disable(int value) |
void |
disableFBOLayer() |
abstract void |
disableVertexAttribArray(int index) |
void |
dispose() |
void |
drawArrays(int mode,
int first,
int count) |
abstract void |
drawArraysImpl(int mode,
int first,
int count) |
abstract void |
drawBuffer(int buf) |
void |
drawElements(int mode,
int count,
int type,
int offset) |
abstract void |
drawElementsImpl(int mode,
int count,
int type,
int offset) |
void |
drawTexture(int target,
int id,
int width,
int height,
int X0,
int Y0,
int X1,
int Y1)
Not an approved function, this will change or be removed in the future.
|
void |
drawTexture(int target,
int id,
int texW,
int texH,
int viewX,
int viewY,
int viewW,
int viewH,
int texX0,
int texY0,
int texX1,
int texY1,
int scrX0,
int scrY0,
int scrX1,
int scrY1)
Not an approved function, this will change or be removed in the future.
|
void |
drawTexture(int target,
int id,
int texW,
int texH,
int viewX,
int viewY,
int viewW,
int viewH,
int viewF,
int texX0,
int texY0,
int texX1,
int texY1,
int scrX0,
int scrY0,
int scrX1,
int scrY1) |
abstract void |
enable(int value) |
void |
enableFBOLayer() |
abstract void |
enableVertexAttribArray(int index) |
abstract java.lang.String |
errorString(int err) |
abstract long |
fenceSync(int condition,
int flags) |
abstract void |
finish() |
abstract void |
flush() |
abstract void |
framebufferRenderbuffer(int target,
int attachment,
int rendbuferfTarget,
int renderbuffer) |
abstract void |
framebufferTexture2D(int target,
int attachment,
int texTarget,
int texture,
int level) |
abstract void |
frontFace(int dir) |
abstract void |
genBuffers(int n,
java.nio.IntBuffer buffers) |
abstract void |
generateMipmap(int target) |
abstract void |
genFramebuffers(int n,
java.nio.IntBuffer framebuffers) |
abstract void |
genRenderbuffers(int n,
java.nio.IntBuffer renderbuffers) |
abstract void |
genTextures(int n,
java.nio.IntBuffer textures) |
abstract java.lang.String |
getActiveAttrib(int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type) |
abstract java.lang.String |
getActiveUniform(int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type) |
abstract void |
getAttachedShaders(int program,
int maxCount,
java.nio.IntBuffer count,
java.nio.IntBuffer shaders) |
abstract int |
getAttribLocation(int program,
java.lang.String name) |
abstract void |
getBooleanv(int value,
java.nio.IntBuffer data) |
abstract void |
getBufferParameteriv(int target,
int value,
java.nio.IntBuffer data) |
abstract int |
getError() |
abstract void |
getFloatv(int value,
java.nio.FloatBuffer data) |
abstract void |
getFramebufferAttachmentParameteriv(int target,
int attachment,
int pname,
java.nio.IntBuffer params) |
abstract void |
getIntegerv(int value,
java.nio.IntBuffer data) |
abstract java.lang.Object |
getNative() |
abstract java.lang.String |
getProgramInfoLog(int program) |
abstract void |
getProgramiv(int program,
int pname,
java.nio.IntBuffer params) |
abstract void |
getRenderbufferParameteriv(int target,
int pname,
java.nio.IntBuffer params) |
abstract java.lang.String |
getShaderInfoLog(int shader) |
abstract void |
getShaderiv(int shader,
int pname,
java.nio.IntBuffer params) |
abstract void |
getShaderPrecisionFormat(int shaderType,
int precisionType,
java.nio.IntBuffer range,
java.nio.IntBuffer precision) |
abstract java.lang.String |
getShaderSource(int shader) |
abstract java.lang.String |
getString(int name) |
abstract void |
getTexParameterfv(int target,
int pname,
java.nio.FloatBuffer params) |
abstract void |
getTexParameteriv(int target,
int pname,
java.nio.IntBuffer params) |
abstract void |
getUniformfv(int program,
int location,
java.nio.FloatBuffer params) |
abstract void |
getUniformiv(int program,
int location,
java.nio.IntBuffer params) |
abstract int |
getUniformLocation(int program,
java.lang.String name) |
abstract void |
getVertexAttribfv(int index,
int pname,
java.nio.FloatBuffer params) |
abstract void |
getVertexAttribiv(int index,
int pname,
java.nio.IntBuffer params) |
abstract void |
getVertexAttribPointerv(int index,
int pname,
java.nio.ByteBuffer data) |
abstract void |
hint(int target,
int hint) |
void |
initPresentMode(float x,
float y,
int stopColor) |
boolean |
insideStopButton(float x,
float y) |
abstract void |
isBuffer(int buffer) |
abstract boolean |
isEnabled(int value) |
abstract boolean |
isFramebuffer(int framebuffer) |
abstract boolean |
isProgram(int program) |
abstract boolean |
isRenderbuffer(int renderbuffer) |
abstract boolean |
isShader(int shader) |
abstract boolean |
isTexture(int texture) |
abstract void |
lineWidth(float width) |
abstract void |
linkProgram(int program) |
abstract java.nio.ByteBuffer |
mapBuffer(int target,
int access) |
abstract java.nio.ByteBuffer |
mapBufferRange(int target,
int offset,
int length,
int access) |
abstract void |
pixelStorei(int pname,
int param) |
abstract void |
polygonOffset(float factor,
float units) |
boolean |
presentMode() |
float |
presentX() |
float |
presentY() |
abstract void |
readBuffer(int buf) |
void |
readPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.Buffer buffer) |
void |
readPixels(int x,
int y,
int width,
int height,
int format,
int type,
long offset) |
abstract void |
releaseShaderCompiler() |
abstract void |
renderbufferStorage(int target,
int internalFormat,
int width,
int height) |
abstract void |
renderbufferStorageMultisample(int target,
int samples,
int format,
int width,
int height) |
void |
requestFBOLayer()
Deprecated.
|
void |
resetFBOLayer() |
abstract void |
sampleCoverage(float value,
boolean invert) |
abstract void |
scissor(int x,
int y,
int w,
int h) |
void |
setPrimary(boolean primary) |
void |
setThread(java.lang.Thread thread) |
abstract void |
shaderBinary(int count,
java.nio.IntBuffer shaders,
int binaryFormat,
java.nio.Buffer binary,
int length) |
abstract void |
shaderSource(int shader,
java.lang.String source) |
static int |
smoothToSamples(int smooth) |
abstract void |
stencilFunc(int func,
int ref,
int mask) |
abstract void |
stencilFuncSeparate(int face,
int func,
int ref,
int mask) |
abstract void |
stencilMask(int mask) |
abstract void |
stencilMaskSeparate(int face,
int mask) |
abstract void |
stencilOp(int sfail,
int dpfail,
int dppass) |
abstract void |
stencilOpSeparate(int face,
int sfail,
int dpfail,
int dppass) |
abstract void |
texImage2D(int target,
int level,
int internalFormat,
int width,
int height,
int border,
int format,
int type,
java.nio.Buffer data) |
abstract void |
texParameterf(int target,
int pname,
float param) |
abstract void |
texParameterfv(int target,
int pname,
java.nio.FloatBuffer params) |
abstract void |
texParameteri(int target,
int pname,
int param) |
abstract void |
texParameteriv(int target,
int pname,
java.nio.IntBuffer params) |
abstract void |
texSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int width,
int height,
int format,
int type,
java.nio.Buffer data) |
boolean |
threadIsCurrent() |
abstract void |
uniform1f(int location,
float value) |
abstract void |
uniform1fv(int location,
int count,
java.nio.FloatBuffer v) |
abstract void |
uniform1i(int location,
int value) |
abstract void |
uniform1iv(int location,
int count,
java.nio.IntBuffer v) |
abstract void |
uniform2f(int location,
float value0,
float value1) |
abstract void |
uniform2fv(int location,
int count,
java.nio.FloatBuffer v) |
abstract void |
uniform2i(int location,
int value0,
int value1) |
abstract void |
uniform2iv(int location,
int count,
java.nio.IntBuffer v) |
abstract void |
uniform3f(int location,
float value0,
float value1,
float value2) |
abstract void |
uniform3fv(int location,
int count,
java.nio.FloatBuffer v) |
abstract void |
uniform3i(int location,
int value0,
int value1,
int value2) |
abstract void |
uniform3iv(int location,
int count,
java.nio.IntBuffer v) |
abstract void |
uniform4f(int location,
float value0,
float value1,
float value2,
float value3) |
abstract void |
uniform4fv(int location,
int count,
java.nio.FloatBuffer v) |
abstract void |
uniform4i(int location,
int value0,
int value1,
int value2,
int value3) |
abstract void |
uniform4iv(int location,
int count,
java.nio.IntBuffer v) |
abstract void |
uniformMatrix2fv(int location,
int count,
boolean transpose,
java.nio.FloatBuffer mat) |
abstract void |
uniformMatrix3fv(int location,
int count,
boolean transpose,
java.nio.FloatBuffer mat) |
abstract void |
uniformMatrix4fv(int location,
int count,
boolean transpose,
java.nio.FloatBuffer mat) |
abstract void |
unmapBuffer(int target) |
abstract void |
useProgram(int program) |
abstract void |
validateProgram(int program) |
abstract void |
vertexAttrib1f(int index,
float value) |
abstract void |
vertexAttrib1fv(int index,
java.nio.FloatBuffer values) |
abstract void |
vertexAttrib2f(int index,
float value0,
float value1) |
abstract void |
vertexAttrib2fv(int index,
java.nio.FloatBuffer values) |
abstract void |
vertexAttrib3f(int index,
float value0,
float value1,
float value2) |
abstract void |
vertexAttrib3fv(int index,
java.nio.FloatBuffer values) |
abstract void |
vertexAttrib4f(int index,
float value0,
float value1,
float value2,
float value3) |
abstract void |
vertexAttrib4fv(int index,
java.nio.FloatBuffer values) |
abstract void |
vertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
int offset) |
abstract void |
viewport(int x,
int y,
int w,
int h) |
public boolean primaryPGL
public static int REQUESTED_DEPTH_BITS
public static int REQUESTED_STENCIL_BITS
public static int REQUESTED_ALPHA_BITS
public int reqNumSamples
public static final java.lang.String WIKI
public static final java.lang.String FRAMEBUFFER_ERROR
public static final java.lang.String MISSING_FBO_ERROR
public static final java.lang.String MISSING_GLSL_ERROR
public static final java.lang.String MISSING_GLFUNC_ERROR
public static final java.lang.String UNSUPPORTED_GLPROF_ERROR
public static final java.lang.String TEXUNIT_ERROR
public static final java.lang.String NONPRIMARY_ERROR
public float presentX
public float presentY
public static int FALSE
public static int TRUE
public static int INT
public static int BYTE
public static int SHORT
public static int FLOAT
public static int BOOL
public static int UNSIGNED_INT
public static int UNSIGNED_BYTE
public static int UNSIGNED_SHORT
public static int RGB
public static int RGBA
public static int ALPHA
public static int LUMINANCE
public static int LUMINANCE_ALPHA
public static int UNSIGNED_SHORT_5_6_5
public static int UNSIGNED_SHORT_4_4_4_4
public static int UNSIGNED_SHORT_5_5_5_1
public static int RGBA4
public static int RGB5_A1
public static int RGB565
public static int RGB8
public static int RGBA8
public static int ALPHA8
public static int READ_ONLY
public static int WRITE_ONLY
public static int READ_WRITE
public static int TESS_WINDING_NONZERO
public static int TESS_WINDING_ODD
public static int TESS_EDGE_FLAG
public static int GENERATE_MIPMAP_HINT
public static int FASTEST
public static int NICEST
public static int DONT_CARE
public static int VENDOR
public static int RENDERER
public static int VERSION
public static int EXTENSIONS
public static int SHADING_LANGUAGE_VERSION
public static int MAX_SAMPLES
public static int SAMPLES
public static int ALIASED_LINE_WIDTH_RANGE
public static int ALIASED_POINT_SIZE_RANGE
public static int DEPTH_BITS
public static int STENCIL_BITS
public static int CCW
public static int CW
public static int VIEWPORT
public static int ARRAY_BUFFER
public static int ELEMENT_ARRAY_BUFFER
public static int PIXEL_PACK_BUFFER
public static int MAX_VERTEX_ATTRIBS
public static int STATIC_DRAW
public static int DYNAMIC_DRAW
public static int STREAM_DRAW
public static int STREAM_READ
public static int BUFFER_SIZE
public static int BUFFER_USAGE
public static int POINTS
public static int LINE_STRIP
public static int LINE_LOOP
public static int LINES
public static int TRIANGLE_FAN
public static int TRIANGLE_STRIP
public static int TRIANGLES
public static int CULL_FACE
public static int FRONT
public static int BACK
public static int FRONT_AND_BACK
public static int POLYGON_OFFSET_FILL
public static int UNPACK_ALIGNMENT
public static int PACK_ALIGNMENT
public static int TEXTURE_2D
public static int TEXTURE_RECTANGLE
public static int TEXTURE_BINDING_2D
public static int TEXTURE_BINDING_RECTANGLE
public static int MAX_TEXTURE_SIZE
public static int TEXTURE_MAX_ANISOTROPY
public static int MAX_TEXTURE_MAX_ANISOTROPY
public static int MAX_VERTEX_TEXTURE_IMAGE_UNITS
public static int MAX_TEXTURE_IMAGE_UNITS
public static int MAX_COMBINED_TEXTURE_IMAGE_UNITS
public static int NUM_COMPRESSED_TEXTURE_FORMATS
public static int COMPRESSED_TEXTURE_FORMATS
public static int NEAREST
public static int LINEAR
public static int LINEAR_MIPMAP_NEAREST
public static int LINEAR_MIPMAP_LINEAR
public static int CLAMP_TO_EDGE
public static int REPEAT
public static int TEXTURE0
public static int TEXTURE1
public static int TEXTURE2
public static int TEXTURE3
public static int TEXTURE_MIN_FILTER
public static int TEXTURE_MAG_FILTER
public static int TEXTURE_WRAP_S
public static int TEXTURE_WRAP_T
public static int TEXTURE_WRAP_R
public static int TEXTURE_CUBE_MAP
public static int TEXTURE_CUBE_MAP_POSITIVE_X
public static int TEXTURE_CUBE_MAP_POSITIVE_Y
public static int TEXTURE_CUBE_MAP_POSITIVE_Z
public static int TEXTURE_CUBE_MAP_NEGATIVE_X
public static int TEXTURE_CUBE_MAP_NEGATIVE_Y
public static int TEXTURE_CUBE_MAP_NEGATIVE_Z
public static int VERTEX_SHADER
public static int FRAGMENT_SHADER
public static int INFO_LOG_LENGTH
public static int SHADER_SOURCE_LENGTH
public static int COMPILE_STATUS
public static int LINK_STATUS
public static int VALIDATE_STATUS
public static int SHADER_TYPE
public static int DELETE_STATUS
public static int FLOAT_VEC2
public static int FLOAT_VEC3
public static int FLOAT_VEC4
public static int FLOAT_MAT2
public static int FLOAT_MAT3
public static int FLOAT_MAT4
public static int INT_VEC2
public static int INT_VEC3
public static int INT_VEC4
public static int BOOL_VEC2
public static int BOOL_VEC3
public static int BOOL_VEC4
public static int SAMPLER_2D
public static int SAMPLER_CUBE
public static int LOW_FLOAT
public static int MEDIUM_FLOAT
public static int HIGH_FLOAT
public static int LOW_INT
public static int MEDIUM_INT
public static int HIGH_INT
public static int CURRENT_VERTEX_ATTRIB
public static int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
public static int VERTEX_ATTRIB_ARRAY_ENABLED
public static int VERTEX_ATTRIB_ARRAY_SIZE
public static int VERTEX_ATTRIB_ARRAY_STRIDE
public static int VERTEX_ATTRIB_ARRAY_TYPE
public static int VERTEX_ATTRIB_ARRAY_NORMALIZED
public static int VERTEX_ATTRIB_ARRAY_POINTER
public static int BLEND
public static int ONE
public static int ZERO
public static int SRC_ALPHA
public static int DST_ALPHA
public static int ONE_MINUS_SRC_ALPHA
public static int ONE_MINUS_DST_COLOR
public static int ONE_MINUS_SRC_COLOR
public static int DST_COLOR
public static int SRC_COLOR
public static int SAMPLE_ALPHA_TO_COVERAGE
public static int SAMPLE_COVERAGE
public static int KEEP
public static int REPLACE
public static int INCR
public static int DECR
public static int INVERT
public static int INCR_WRAP
public static int DECR_WRAP
public static int NEVER
public static int ALWAYS
public static int EQUAL
public static int LESS
public static int LEQUAL
public static int GREATER
public static int GEQUAL
public static int NOTEQUAL
public static int FUNC_ADD
public static int FUNC_MIN
public static int FUNC_MAX
public static int FUNC_REVERSE_SUBTRACT
public static int FUNC_SUBTRACT
public static int DITHER
public static int CONSTANT_COLOR
public static int CONSTANT_ALPHA
public static int ONE_MINUS_CONSTANT_COLOR
public static int ONE_MINUS_CONSTANT_ALPHA
public static int SRC_ALPHA_SATURATE
public static int SCISSOR_TEST
public static int STENCIL_TEST
public static int DEPTH_TEST
public static int DEPTH_WRITEMASK
public static int COLOR_BUFFER_BIT
public static int DEPTH_BUFFER_BIT
public static int STENCIL_BUFFER_BIT
public static int FRAMEBUFFER
public static int COLOR_ATTACHMENT0
public static int COLOR_ATTACHMENT1
public static int COLOR_ATTACHMENT2
public static int COLOR_ATTACHMENT3
public static int RENDERBUFFER
public static int DEPTH_ATTACHMENT
public static int STENCIL_ATTACHMENT
public static int READ_FRAMEBUFFER
public static int DRAW_FRAMEBUFFER
public static int DEPTH24_STENCIL8
public static int DEPTH_COMPONENT
public static int DEPTH_COMPONENT16
public static int DEPTH_COMPONENT24
public static int DEPTH_COMPONENT32
public static int STENCIL_INDEX
public static int STENCIL_INDEX1
public static int STENCIL_INDEX4
public static int STENCIL_INDEX8
public static int DEPTH_STENCIL
public static int FRAMEBUFFER_COMPLETE
public static int FRAMEBUFFER_UNDEFINED
public static int FRAMEBUFFER_INCOMPLETE_ATTACHMENT
public static int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
public static int FRAMEBUFFER_INCOMPLETE_DIMENSIONS
public static int FRAMEBUFFER_INCOMPLETE_FORMATS
public static int FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
public static int FRAMEBUFFER_INCOMPLETE_READ_BUFFER
public static int FRAMEBUFFER_UNSUPPORTED
public static int FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
public static int FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS
public static int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
public static int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
public static int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
public static int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
public static int RENDERBUFFER_WIDTH
public static int RENDERBUFFER_HEIGHT
public static int RENDERBUFFER_RED_SIZE
public static int RENDERBUFFER_GREEN_SIZE
public static int RENDERBUFFER_BLUE_SIZE
public static int RENDERBUFFER_ALPHA_SIZE
public static int RENDERBUFFER_DEPTH_SIZE
public static int RENDERBUFFER_STENCIL_SIZE
public static int RENDERBUFFER_INTERNAL_FORMAT
public static int MULTISAMPLE
public static int LINE_SMOOTH
public static int POLYGON_SMOOTH
public static int SYNC_GPU_COMMANDS_COMPLETE
public static int ALREADY_SIGNALED
public static int CONDITION_SATISFIED
public PGL()
public PGL(PGraphicsOpenGL pg)
public void dispose()
public void setPrimary(boolean primary)
public static int smoothToSamples(int smooth)
public abstract java.lang.Object getNative()
@Deprecated public void requestFBOLayer()
public void enableFBOLayer()
public void disableFBOLayer()
public void resetFBOLayer()
public void initPresentMode(float x, float y, int stopColor)
public boolean presentMode()
public float presentX()
public float presentY()
public boolean insideStopButton(float x, float y)
public boolean threadIsCurrent()
public void setThread(java.lang.Thread thread)
public void drawTexture(int target, int id, int width, int height, int X0, int Y0, int X1, int Y1)
public void drawTexture(int target, int id, int texW, int texH, int viewX, int viewY, int viewW, int viewH, int texX0, int texY0, int texX1, int texY1, int scrX0, int scrY0, int scrX1, int scrY1)
public void drawTexture(int target, int id, int texW, int texH, int viewX, int viewY, int viewW, int viewH, int viewF, int texX0, int texY0, int texX1, int texY1, int scrX0, int scrY0, int scrX1, int scrY1)
public abstract void flush()
public abstract void finish()
public abstract void hint(int target, int hint)
public abstract void enable(int value)
public abstract void disable(int value)
public abstract void getBooleanv(int value, java.nio.IntBuffer data)
public abstract void getIntegerv(int value, java.nio.IntBuffer data)
public abstract void getFloatv(int value, java.nio.FloatBuffer data)
public abstract boolean isEnabled(int value)
public abstract java.lang.String getString(int name)
public abstract int getError()
public abstract java.lang.String errorString(int err)
public abstract void genBuffers(int n, java.nio.IntBuffer buffers)
public abstract void deleteBuffers(int n, java.nio.IntBuffer buffers)
public abstract void bindBuffer(int target, int buffer)
public abstract void bufferData(int target, int size, java.nio.Buffer data, int usage)
public abstract void bufferSubData(int target, int offset, int size, java.nio.Buffer data)
public abstract void isBuffer(int buffer)
public abstract void getBufferParameteriv(int target, int value, java.nio.IntBuffer data)
public abstract java.nio.ByteBuffer mapBuffer(int target, int access)
public abstract java.nio.ByteBuffer mapBufferRange(int target, int offset, int length, int access)
public abstract void unmapBuffer(int target)
public abstract long fenceSync(int condition, int flags)
public abstract void deleteSync(long sync)
public abstract int clientWaitSync(long sync, int flags, long timeout)
public abstract void depthRangef(float n, float f)
public abstract void viewport(int x, int y, int w, int h)
public void readPixels(int x, int y, int width, int height, int format, int type, java.nio.Buffer buffer)
public void readPixels(int x, int y, int width, int height, int format, int type, long offset)
public abstract void vertexAttrib1f(int index, float value)
public abstract void vertexAttrib2f(int index, float value0, float value1)
public abstract void vertexAttrib3f(int index, float value0, float value1, float value2)
public abstract void vertexAttrib4f(int index, float value0, float value1, float value2, float value3)
public abstract void vertexAttrib1fv(int index, java.nio.FloatBuffer values)
public abstract void vertexAttrib2fv(int index, java.nio.FloatBuffer values)
public abstract void vertexAttrib3fv(int index, java.nio.FloatBuffer values)
public abstract void vertexAttrib4fv(int index, java.nio.FloatBuffer values)
public abstract void vertexAttribPointer(int index, int size, int type, boolean normalized, int stride, int offset)
public abstract void enableVertexAttribArray(int index)
public abstract void disableVertexAttribArray(int index)
public void drawArrays(int mode, int first, int count)
public abstract void drawArraysImpl(int mode, int first, int count)
public void drawElements(int mode, int count, int type, int offset)
public abstract void drawElementsImpl(int mode, int count, int type, int offset)
public abstract void lineWidth(float width)
public abstract void frontFace(int dir)
public abstract void cullFace(int mode)
public abstract void polygonOffset(float factor, float units)
public abstract void pixelStorei(int pname, int param)
public abstract void texImage2D(int target, int level, int internalFormat, int width, int height, int border, int format, int type, java.nio.Buffer data)
public abstract void copyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border)
public abstract void texSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int type, java.nio.Buffer data)
public abstract void copyTexSubImage2D(int target, int level, int xOffset, int yOffset, int x, int y, int width, int height)
public abstract void compressedTexImage2D(int target, int level, int internalFormat, int width, int height, int border, int imageSize, java.nio.Buffer data)
public abstract void compressedTexSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int imageSize, java.nio.Buffer data)
public abstract void texParameteri(int target, int pname, int param)
public abstract void texParameterf(int target, int pname, float param)
public abstract void texParameteriv(int target, int pname, java.nio.IntBuffer params)
public abstract void texParameterfv(int target, int pname, java.nio.FloatBuffer params)
public abstract void generateMipmap(int target)
public abstract void genTextures(int n, java.nio.IntBuffer textures)
public abstract void deleteTextures(int n, java.nio.IntBuffer textures)
public abstract void getTexParameteriv(int target, int pname, java.nio.IntBuffer params)
public abstract void getTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
public abstract boolean isTexture(int texture)
public void activeTexture(int texture)
public void bindTexture(int target, int texture)
public abstract int createShader(int type)
public abstract void shaderSource(int shader, java.lang.String source)
public abstract void compileShader(int shader)
public abstract void releaseShaderCompiler()
public abstract void deleteShader(int shader)
public abstract void shaderBinary(int count, java.nio.IntBuffer shaders, int binaryFormat, java.nio.Buffer binary, int length)
public abstract int createProgram()
public abstract void attachShader(int program, int shader)
public abstract void detachShader(int program, int shader)
public abstract void linkProgram(int program)
public abstract void useProgram(int program)
public abstract void deleteProgram(int program)
public abstract java.lang.String getActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)
public abstract int getAttribLocation(int program, java.lang.String name)
public abstract void bindAttribLocation(int program, int index, java.lang.String name)
public abstract int getUniformLocation(int program, java.lang.String name)
public abstract java.lang.String getActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)
public abstract void uniform1i(int location, int value)
public abstract void uniform2i(int location, int value0, int value1)
public abstract void uniform3i(int location, int value0, int value1, int value2)
public abstract void uniform4i(int location, int value0, int value1, int value2, int value3)
public abstract void uniform1f(int location, float value)
public abstract void uniform2f(int location, float value0, float value1)
public abstract void uniform3f(int location, float value0, float value1, float value2)
public abstract void uniform4f(int location, float value0, float value1, float value2, float value3)
public abstract void uniform1iv(int location, int count, java.nio.IntBuffer v)
public abstract void uniform2iv(int location, int count, java.nio.IntBuffer v)
public abstract void uniform3iv(int location, int count, java.nio.IntBuffer v)
public abstract void uniform4iv(int location, int count, java.nio.IntBuffer v)
public abstract void uniform1fv(int location, int count, java.nio.FloatBuffer v)
public abstract void uniform2fv(int location, int count, java.nio.FloatBuffer v)
public abstract void uniform3fv(int location, int count, java.nio.FloatBuffer v)
public abstract void uniform4fv(int location, int count, java.nio.FloatBuffer v)
public abstract void uniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)
public abstract void uniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)
public abstract void uniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)
public abstract void validateProgram(int program)
public abstract boolean isShader(int shader)
public abstract void getShaderiv(int shader, int pname, java.nio.IntBuffer params)
public abstract void getAttachedShaders(int program, int maxCount, java.nio.IntBuffer count, java.nio.IntBuffer shaders)
public abstract java.lang.String getShaderInfoLog(int shader)
public abstract java.lang.String getShaderSource(int shader)
public abstract void getShaderPrecisionFormat(int shaderType, int precisionType, java.nio.IntBuffer range, java.nio.IntBuffer precision)
public abstract void getVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)
public abstract void getVertexAttribiv(int index, int pname, java.nio.IntBuffer params)
public abstract void getVertexAttribPointerv(int index, int pname, java.nio.ByteBuffer data)
public abstract void getUniformfv(int program, int location, java.nio.FloatBuffer params)
public abstract void getUniformiv(int program, int location, java.nio.IntBuffer params)
public abstract boolean isProgram(int program)
public abstract void getProgramiv(int program, int pname, java.nio.IntBuffer params)
public abstract java.lang.String getProgramInfoLog(int program)
public abstract void scissor(int x, int y, int w, int h)
public abstract void sampleCoverage(float value, boolean invert)
public abstract void stencilFunc(int func, int ref, int mask)
public abstract void stencilFuncSeparate(int face, int func, int ref, int mask)
public abstract void stencilOp(int sfail, int dpfail, int dppass)
public abstract void stencilOpSeparate(int face, int sfail, int dpfail, int dppass)
public abstract void depthFunc(int func)
public abstract void blendEquation(int mode)
public abstract void blendEquationSeparate(int modeRGB, int modeAlpha)
public abstract void blendFunc(int src, int dst)
public abstract void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
public abstract void blendColor(float red, float green, float blue, float alpha)
public abstract void colorMask(boolean r, boolean g, boolean b, boolean a)
public abstract void depthMask(boolean mask)
public abstract void stencilMask(int mask)
public abstract void stencilMaskSeparate(int face, int mask)
public abstract void clearColor(float r, float g, float b, float a)
public abstract void clearDepth(float d)
public abstract void clearStencil(int s)
public abstract void clear(int buf)
public void bindFramebuffer(int target, int framebuffer)
public abstract void deleteFramebuffers(int n, java.nio.IntBuffer framebuffers)
public abstract void genFramebuffers(int n, java.nio.IntBuffer framebuffers)
public abstract void bindRenderbuffer(int target, int renderbuffer)
public abstract void deleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)
public abstract void genRenderbuffers(int n, java.nio.IntBuffer renderbuffers)
public abstract void renderbufferStorage(int target, int internalFormat, int width, int height)
public abstract void framebufferRenderbuffer(int target, int attachment, int rendbuferfTarget, int renderbuffer)
public abstract void framebufferTexture2D(int target, int attachment, int texTarget, int texture, int level)
public abstract int checkFramebufferStatus(int target)
public abstract boolean isFramebuffer(int framebuffer)
public abstract void getFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)
public abstract boolean isRenderbuffer(int renderbuffer)
public abstract void getRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)
public abstract void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
public abstract void renderbufferStorageMultisample(int target, int samples, int format, int width, int height)
public abstract void readBuffer(int buf)
public abstract void drawBuffer(int buf)