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