public class PJOGL extends PGL
| Modifier and Type | Field and Description |
|---|---|
static int |
AWT |
GLContext |
context
The rendering context (holds rendering state info)
|
GL |
gl
Basic GL functionality, common to all profiles
|
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,
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,
Buffer data,
int usage) |
void |
bufferSubData(int target,
int offset,
int size,
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,
Buffer data) |
void |
compressedTexSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int width,
int height,
int format,
int imageSize,
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,
IntBuffer buffers) |
void |
deleteFramebuffers(int n,
IntBuffer framebuffers) |
void |
deleteProgram(int program) |
void |
deleteRenderbuffers(int n,
IntBuffer renderbuffers) |
void |
deleteShader(int shader) |
void |
deleteSync(long sync) |
void |
deleteTextures(int n,
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) |
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,
IntBuffer buffers) |
void |
generateMipmap(int target) |
void |
genFramebuffers(int n,
IntBuffer framebuffers) |
void |
genRenderbuffers(int n,
IntBuffer renderbuffers) |
void |
genTextures(int n,
IntBuffer textures) |
String |
getActiveAttrib(int program,
int index,
IntBuffer size,
IntBuffer type) |
String |
getActiveUniform(int program,
int index,
IntBuffer size,
IntBuffer type) |
void |
getAttachedShaders(int program,
int maxCount,
IntBuffer count,
IntBuffer shaders) |
int |
getAttribLocation(int program,
String name) |
void |
getBooleanv(int value,
IntBuffer data) |
void |
getBufferParameteriv(int target,
int value,
IntBuffer data) |
GLCapabilitiesImmutable |
getCaps() |
int |
getError() |
void |
getFloatv(int value,
FloatBuffer data) |
void |
getFramebufferAttachmentParameteriv(int target,
int attachment,
int pname,
IntBuffer params) |
void |
getGL(GLAutoDrawable glDrawable) |
void |
getIntegerv(int value,
IntBuffer data) |
Object |
getNative() |
String |
getProgramInfoLog(int program) |
void |
getProgramiv(int program,
int pname,
IntBuffer params) |
void |
getRenderbufferParameteriv(int target,
int pname,
IntBuffer params) |
String |
getShaderInfoLog(int shader) |
void |
getShaderiv(int shader,
int pname,
IntBuffer params) |
void |
getShaderPrecisionFormat(int shaderType,
int precisionType,
IntBuffer range,
IntBuffer precision) |
String |
getShaderSource(int shader) |
String |
getString(int name) |
void |
getTexParameterfv(int target,
int pname,
FloatBuffer params) |
void |
getTexParameteriv(int target,
int pname,
IntBuffer params) |
void |
getUniformfv(int program,
int location,
FloatBuffer params) |
void |
getUniformiv(int program,
int location,
IntBuffer params) |
int |
getUniformLocation(int program,
String name) |
void |
getVertexAttribfv(int index,
int pname,
FloatBuffer params) |
void |
getVertexAttribiv(int index,
int pname,
IntBuffer params) |
void |
getVertexAttribPointerv(int index,
int pname,
ByteBuffer data) |
void |
hint(int target,
int hint) |
void |
init(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) |
ByteBuffer |
mapBuffer(int target,
int access) |
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(GLCapabilities caps) |
void |
setFps(float fps) |
static void |
setIcon(String... icons) |
void |
shaderBinary(int count,
IntBuffer shaders,
int binaryFormat,
Buffer binary,
int length) |
void |
shaderSource(int shader,
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,
Buffer data) |
void |
texParameterf(int target,
int pname,
float param) |
void |
texParameterfv(int target,
int pname,
FloatBuffer params) |
void |
texParameteri(int target,
int pname,
int param) |
void |
texParameteriv(int target,
int pname,
IntBuffer params) |
void |
texSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int width,
int height,
int format,
int type,
Buffer data) |
void |
uniform1f(int location,
float value) |
void |
uniform1fv(int location,
int count,
FloatBuffer v) |
void |
uniform1i(int location,
int value) |
void |
uniform1iv(int location,
int count,
IntBuffer v) |
void |
uniform2f(int location,
float value0,
float value1) |
void |
uniform2fv(int location,
int count,
FloatBuffer v) |
void |
uniform2i(int location,
int value0,
int value1) |
void |
uniform2iv(int location,
int count,
IntBuffer v) |
void |
uniform3f(int location,
float value0,
float value1,
float value2) |
void |
uniform3fv(int location,
int count,
FloatBuffer v) |
void |
uniform3i(int location,
int value0,
int value1,
int value2) |
void |
uniform3iv(int location,
int count,
IntBuffer v) |
void |
uniform4f(int location,
float value0,
float value1,
float value2,
float value3) |
void |
uniform4fv(int location,
int count,
FloatBuffer v) |
void |
uniform4i(int location,
int value0,
int value1,
int value2,
int value3) |
void |
uniform4iv(int location,
int count,
IntBuffer v) |
void |
uniformMatrix2fv(int location,
int count,
boolean transpose,
FloatBuffer mat) |
void |
uniformMatrix3fv(int location,
int count,
boolean transpose,
FloatBuffer mat) |
void |
uniformMatrix4fv(int location,
int count,
boolean transpose,
FloatBuffer mat) |
void |
unmapBuffer(int target) |
void |
useProgram(int program) |
void |
validateProgram(int program) |
void |
vertexAttrib1f(int index,
float value) |
void |
vertexAttrib1fv(int index,
FloatBuffer values) |
void |
vertexAttrib2f(int index,
float value0,
float value1) |
void |
vertexAttrib2fv(int index,
FloatBuffer values) |
void |
vertexAttrib3f(int index,
float value0,
float value1,
float value2) |
void |
vertexAttrib3fv(int index,
FloatBuffer values) |
void |
vertexAttrib4f(int index,
float value0,
float value1,
float value2,
float value3) |
void |
vertexAttrib4fv(int index,
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, threadIsCurrentpublic static int profile
public static final int AWT
public static final int NEWT
public GL gl
public GLU glu
public GLContext context
public PJOGL(PGraphicsOpenGL pg)
public static void setIcon(String... icons)
public void setCaps(GLCapabilities caps)
public GLCapabilitiesImmutable getCaps()
public void setFps(float fps)
public void getGL(GLAutoDrawable glDrawable)
public void init(GLAutoDrawable glDrawable)
public void getBooleanv(int value,
IntBuffer data)
getBooleanv in class PGLpublic void getIntegerv(int value,
IntBuffer data)
getIntegerv in class PGLpublic String errorString(int err)
errorString in class PGLpublic void genBuffers(int n,
IntBuffer buffers)
genBuffers in class PGLpublic void deleteBuffers(int n,
IntBuffer buffers)
deleteBuffers in class PGLpublic void bindBuffer(int target,
int buffer)
bindBuffer in class PGLpublic void bufferData(int target,
int size,
Buffer data,
int usage)
bufferData in class PGLpublic void bufferSubData(int target,
int offset,
int size,
Buffer data)
bufferSubData in class PGLpublic void getBufferParameteriv(int target,
int value,
IntBuffer data)
getBufferParameteriv in class PGLpublic ByteBuffer mapBufferRange(int target,
int offset,
int length,
int access)
mapBufferRange in class PGLpublic void unmapBuffer(int target)
unmapBuffer in class PGLpublic void deleteSync(long sync)
deleteSync in class PGLpublic int clientWaitSync(long sync,
int flags,
long timeout)
clientWaitSync in class PGLpublic void depthRangef(float n,
float f)
depthRangef in class PGLpublic void vertexAttrib1f(int index,
float value)
vertexAttrib1f in class PGLpublic void vertexAttrib2f(int index,
float value0,
float value1)
vertexAttrib2f in class PGLpublic void vertexAttrib3f(int index,
float value0,
float value1,
float value2)
vertexAttrib3f in class PGLpublic void vertexAttrib4f(int index,
float value0,
float value1,
float value2,
float value3)
vertexAttrib4f in class PGLpublic void vertexAttrib1fv(int index,
FloatBuffer values)
vertexAttrib1fv in class PGLpublic void vertexAttrib2fv(int index,
FloatBuffer values)
vertexAttrib2fv in class PGLpublic void vertexAttrib3fv(int index,
FloatBuffer values)
vertexAttrib3fv in class PGLpublic void vertexAttrib4fv(int index,
FloatBuffer values)
vertexAttrib4fv in class PGLpublic void vertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
int offset)
vertexAttribPointer in class PGLpublic void enableVertexAttribArray(int index)
enableVertexAttribArray in class PGLpublic void disableVertexAttribArray(int index)
disableVertexAttribArray in class PGLpublic void drawArraysImpl(int mode,
int first,
int count)
drawArraysImpl in class PGLpublic void drawElementsImpl(int mode,
int count,
int type,
int offset)
drawElementsImpl in class PGLpublic void polygonOffset(float factor,
float units)
polygonOffset in class PGLpublic void pixelStorei(int pname,
int param)
pixelStorei in class PGLpublic void texImage2D(int target,
int level,
int internalFormat,
int width,
int height,
int border,
int format,
int type,
Buffer data)
texImage2D in class PGLpublic void copyTexImage2D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height,
int border)
copyTexImage2D in class PGLpublic void texSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int width,
int height,
int format,
int type,
Buffer data)
texSubImage2D in class PGLpublic void copyTexSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int x,
int y,
int width,
int height)
copyTexSubImage2D in class PGLpublic void compressedTexImage2D(int target,
int level,
int internalFormat,
int width,
int height,
int border,
int imageSize,
Buffer data)
compressedTexImage2D in class PGLpublic void compressedTexSubImage2D(int target,
int level,
int xOffset,
int yOffset,
int width,
int height,
int format,
int imageSize,
Buffer data)
compressedTexSubImage2D in class PGLpublic void texParameteri(int target,
int pname,
int param)
texParameteri in class PGLpublic void texParameterf(int target,
int pname,
float param)
texParameterf in class PGLpublic void texParameteriv(int target,
int pname,
IntBuffer params)
texParameteriv in class PGLpublic void texParameterfv(int target,
int pname,
FloatBuffer params)
texParameterfv in class PGLpublic void generateMipmap(int target)
generateMipmap in class PGLpublic void genTextures(int n,
IntBuffer textures)
genTextures in class PGLpublic void deleteTextures(int n,
IntBuffer textures)
deleteTextures in class PGLpublic void getTexParameteriv(int target,
int pname,
IntBuffer params)
getTexParameteriv in class PGLpublic void getTexParameterfv(int target,
int pname,
FloatBuffer params)
getTexParameterfv in class PGLpublic int createShader(int type)
createShader in class PGLpublic void shaderSource(int shader,
String source)
shaderSource in class PGLpublic void compileShader(int shader)
compileShader in class PGLpublic void releaseShaderCompiler()
releaseShaderCompiler in class PGLpublic void deleteShader(int shader)
deleteShader in class PGLpublic void shaderBinary(int count,
IntBuffer shaders,
int binaryFormat,
Buffer binary,
int length)
shaderBinary in class PGLpublic int createProgram()
createProgram in class PGLpublic void attachShader(int program,
int shader)
attachShader in class PGLpublic void detachShader(int program,
int shader)
detachShader in class PGLpublic void linkProgram(int program)
linkProgram in class PGLpublic void useProgram(int program)
useProgram in class PGLpublic void deleteProgram(int program)
deleteProgram in class PGLpublic String getActiveAttrib(int program,
int index,
IntBuffer size,
IntBuffer type)
getActiveAttrib in class PGLpublic int getAttribLocation(int program,
String name)
getAttribLocation in class PGLpublic void bindAttribLocation(int program,
int index,
String name)
bindAttribLocation in class PGLpublic int getUniformLocation(int program,
String name)
getUniformLocation in class PGLpublic String getActiveUniform(int program,
int index,
IntBuffer size,
IntBuffer type)
getActiveUniform in class PGLpublic 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,
IntBuffer v)
uniform1iv in class PGLpublic void uniform2iv(int location,
int count,
IntBuffer v)
uniform2iv in class PGLpublic void uniform3iv(int location,
int count,
IntBuffer v)
uniform3iv in class PGLpublic void uniform4iv(int location,
int count,
IntBuffer v)
uniform4iv in class PGLpublic void uniform1fv(int location,
int count,
FloatBuffer v)
uniform1fv in class PGLpublic void uniform2fv(int location,
int count,
FloatBuffer v)
uniform2fv in class PGLpublic void uniform3fv(int location,
int count,
FloatBuffer v)
uniform3fv in class PGLpublic void uniform4fv(int location,
int count,
FloatBuffer v)
uniform4fv in class PGLpublic void uniformMatrix2fv(int location,
int count,
boolean transpose,
FloatBuffer mat)
uniformMatrix2fv in class PGLpublic void uniformMatrix3fv(int location,
int count,
boolean transpose,
FloatBuffer mat)
uniformMatrix3fv in class PGLpublic void uniformMatrix4fv(int location,
int count,
boolean transpose,
FloatBuffer mat)
uniformMatrix4fv in class PGLpublic void validateProgram(int program)
validateProgram in class PGLpublic void getShaderiv(int shader,
int pname,
IntBuffer params)
getShaderiv in class PGLpublic void getAttachedShaders(int program,
int maxCount,
IntBuffer count,
IntBuffer shaders)
getAttachedShaders in class PGLpublic String getShaderInfoLog(int shader)
getShaderInfoLog in class PGLpublic String getShaderSource(int shader)
getShaderSource in class PGLpublic void getShaderPrecisionFormat(int shaderType,
int precisionType,
IntBuffer range,
IntBuffer precision)
getShaderPrecisionFormat in class PGLpublic void getVertexAttribfv(int index,
int pname,
FloatBuffer params)
getVertexAttribfv in class PGLpublic void getVertexAttribiv(int index,
int pname,
IntBuffer params)
getVertexAttribiv in class PGLpublic void getVertexAttribPointerv(int index,
int pname,
ByteBuffer data)
getVertexAttribPointerv in class PGLpublic void getUniformfv(int program,
int location,
FloatBuffer params)
getUniformfv in class PGLpublic void getUniformiv(int program,
int location,
IntBuffer params)
getUniformiv in class PGLpublic void getProgramiv(int program,
int pname,
IntBuffer params)
getProgramiv in class PGLpublic String getProgramInfoLog(int program)
getProgramInfoLog in class PGLpublic void sampleCoverage(float value,
boolean invert)
sampleCoverage in class PGLpublic void stencilFunc(int func,
int ref,
int mask)
stencilFunc in class PGLpublic void stencilFuncSeparate(int face,
int func,
int ref,
int mask)
stencilFuncSeparate in class PGLpublic void stencilOp(int sfail,
int dpfail,
int dppass)
public void stencilOpSeparate(int face,
int sfail,
int dpfail,
int dppass)
stencilOpSeparate in class PGLpublic void blendEquation(int mode)
blendEquation in class PGLpublic void blendEquationSeparate(int modeRGB,
int modeAlpha)
blendEquationSeparate in class PGLpublic void blendFuncSeparate(int srcRGB,
int dstRGB,
int srcAlpha,
int dstAlpha)
blendFuncSeparate in class PGLpublic void blendColor(float red,
float green,
float blue,
float alpha)
blendColor in class PGLpublic void colorMask(boolean r,
boolean g,
boolean b,
boolean a)
public void stencilMask(int mask)
stencilMask in class PGLpublic void stencilMaskSeparate(int face,
int mask)
stencilMaskSeparate in class PGLpublic void clearColor(float r,
float g,
float b,
float a)
clearColor in class PGLpublic void clearDepth(float d)
clearDepth in class PGLpublic void clearStencil(int s)
clearStencil in class PGLpublic void deleteFramebuffers(int n,
IntBuffer framebuffers)
deleteFramebuffers in class PGLpublic void genFramebuffers(int n,
IntBuffer framebuffers)
genFramebuffers in class PGLpublic void bindRenderbuffer(int target,
int renderbuffer)
bindRenderbuffer in class PGLpublic void deleteRenderbuffers(int n,
IntBuffer renderbuffers)
deleteRenderbuffers in class PGLpublic void genRenderbuffers(int n,
IntBuffer renderbuffers)
genRenderbuffers in class PGLpublic void renderbufferStorage(int target,
int internalFormat,
int width,
int height)
renderbufferStorage in class PGLpublic void framebufferRenderbuffer(int target,
int attachment,
int rendbuferfTarget,
int renderbuffer)
framebufferRenderbuffer in class PGLpublic void framebufferTexture2D(int target,
int attachment,
int texTarget,
int texture,
int level)
framebufferTexture2D in class PGLpublic int checkFramebufferStatus(int target)
checkFramebufferStatus in class PGLpublic boolean isFramebuffer(int framebuffer)
isFramebuffer in class PGLpublic void getFramebufferAttachmentParameteriv(int target,
int attachment,
int pname,
IntBuffer params)
getFramebufferAttachmentParameteriv in class PGLpublic boolean isRenderbuffer(int renderbuffer)
isRenderbuffer in class PGLpublic void getRenderbufferParameteriv(int target,
int pname,
IntBuffer params)
getRenderbufferParameteriv in class PGLpublic 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 PGLpublic void renderbufferStorageMultisample(int target,
int samples,
int format,
int width,
int height)
renderbufferStorageMultisample in class PGLpublic void readBuffer(int buf)
readBuffer in class PGLpublic void drawBuffer(int buf)
drawBuffer in class PGL