Package processing.opengl
Class PJOGL
java.lang.Object
processing.opengl.PGL
processing.opengl.PJOGL
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intcom.jogamp.opengl.GLContextThe rendering context (holds rendering state info)com.jogamp.opengl.GLBasic GL functionality, common to all profilescom.jogamp.opengl.glu.GLUGLU interfacestatic final intstatic intFields inherited from class processing.opengl.PGL
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, bufferMapAccess, bufferStreamingImmediate, bufferStreamingRetained, bufferUsageImmediate, bufferUsageRetained, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachShader(int program, int shader) voidbindAttribLocation(int program, int index, String name) voidbindBuffer(int target, int buffer) voidbindRenderbuffer(int target, int renderbuffer) voidblendColor(float red, float green, float blue, float alpha) voidblendEquation(int mode) voidblendEquationSeparate(int modeRGB, int modeAlpha) voidblendFunc(int src, int dst) voidblendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) voidblitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) voidbufferData(int target, int size, Buffer data, int usage) voidbufferSubData(int target, int offset, int size, Buffer data) intcheckFramebufferStatus(int target) voidclear(int buf) voidclearColor(float r, float g, float b, float a) voidclearDepth(float d) voidclearStencil(int s) intclientWaitSync(long sync, int flags, long timeout) voidcolorMask(boolean r, boolean g, boolean b, boolean a) voidcompileShader(int shader) voidcompressedTexImage2D(int target, int level, int internalFormat, int width, int height, int border, int imageSize, Buffer data) voidcompressedTexSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int imageSize, Buffer data) voidcopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border) voidcopyTexSubImage2D(int target, int level, int xOffset, int yOffset, int x, int y, int width, int height) intintcreateShader(int type) voidcullFace(int mode) voiddeleteBuffers(int n, IntBuffer buffers) voiddeleteFramebuffers(int n, IntBuffer framebuffers) voiddeleteProgram(int program) voiddeleteRenderbuffers(int n, IntBuffer renderbuffers) voiddeleteShader(int shader) voiddeleteSync(long sync) voiddeleteTextures(int n, IntBuffer textures) voiddepthFunc(int func) voiddepthMask(boolean mask) voiddepthRangef(float n, float f) voiddetachShader(int program, int shader) voiddisable(int value) voiddisableVertexAttribArray(int index) voiddrawArraysImpl(int mode, int first, int count) voiddrawBuffer(int buf) voiddrawElementsImpl(int mode, int count, int type, int offset) voidenable(int value) voidenableVertexAttribArray(int index) errorString(int err) longfenceSync(int condition, int flags) voidfinish()voidflush()voidframebufferRenderbuffer(int target, int attachment, int rbt, int renderbuffer) voidframebufferTexture2D(int target, int attachment, int texTarget, int texture, int level) voidfrontFace(int dir) voidgenBuffers(int n, IntBuffer buffers) voidgenerateMipmap(int target) voidgenFramebuffers(int n, IntBuffer framebuffers) voidgenRenderbuffers(int n, IntBuffer renderbuffers) voidgenTextures(int n, IntBuffer textures) getActiveAttrib(int program, int index, IntBuffer size, IntBuffer type) getActiveUniform(int program, int index, IntBuffer size, IntBuffer type) voidgetAttachedShaders(int program, int maxCount, IntBuffer count, IntBuffer shaders) intgetAttribLocation(int program, String name) voidgetBooleanv(int value, IntBuffer data) voidgetBufferParameteriv(int target, int value, IntBuffer data) com.jogamp.opengl.GLCapabilitiesImmutablegetCaps()intgetError()voidgetFloatv(int value, FloatBuffer data) voidgetFramebufferAttachmentParameteriv(int target, int attachment, int name, IntBuffer params) voidgetGL(com.jogamp.opengl.GLAutoDrawable glDrawable) voidgetIntegerv(int value, IntBuffer data) getProgramInfoLog(int program) voidgetProgramiv(int program, int pname, IntBuffer params) voidgetRenderbufferParameteriv(int target, int name, IntBuffer params) getShaderInfoLog(int shader) voidgetShaderiv(int shader, int pname, IntBuffer params) voidgetShaderPrecisionFormat(int shaderType, int precisionType, IntBuffer range, IntBuffer precision) getShaderSource(int shader) getString(int name) voidgetTexParameterfv(int target, int pname, FloatBuffer params) voidgetTexParameteriv(int target, int pname, IntBuffer params) voidgetUniformfv(int program, int location, FloatBuffer params) voidgetUniformiv(int program, int location, IntBuffer params) intgetUniformLocation(int program, String name) voidgetVertexAttribfv(int index, int pname, FloatBuffer params) voidgetVertexAttribiv(int index, int pname, IntBuffer params) voidgetVertexAttribPointerv(int index, int pname, ByteBuffer data) voidhint(int target, int hint) voidinit(com.jogamp.opengl.GLAutoDrawable glDrawable) voidisBuffer(int buffer) booleanisEnabled(int value) booleanisFramebuffer(int framebuffer) booleanisProgram(int program) booleanisRenderbuffer(int renderbuffer) booleanisShader(int shader) booleanisTexture(int texture) voidlineWidth(float width) voidlinkProgram(int program) mapBuffer(int target, int access) mapBufferRange(int target, int offset, int length, int access) booleanvoidpixelStorei(int pname, int param) voidpolygonOffset(float factor, float units) voidreadBuffer(int buf) voidvoidrenderbufferStorage(int target, int internalFormat, int width, int height) voidrenderbufferStorageMultisample(int target, int samples, int format, int width, int height) voidsampleCoverage(float value, boolean invert) voidscissor(int x, int y, int w, int h) voidsetCaps(com.jogamp.opengl.GLCapabilities caps) voidsetFps(float fps) static voidvoidshaderBinary(int count, IntBuffer shaders, int binaryFormat, Buffer binary, int length) voidshaderSource(int shader, String source) voidstencilFunc(int func, int ref, int mask) voidstencilFuncSeparate(int face, int func, int ref, int mask) voidstencilMask(int mask) voidstencilMaskSeparate(int face, int mask) voidstencilOp(int sfail, int dpfail, int dppass) voidstencilOpSeparate(int face, int sfail, int dpfail, int dppass) voidtexImage2D(int target, int level, int internalFormat, int width, int height, int border, int format, int type, Buffer data) voidtexParameterf(int target, int pname, float param) voidtexParameterfv(int target, int pname, FloatBuffer params) voidtexParameteri(int target, int pname, int param) voidtexParameteriv(int target, int pname, IntBuffer params) voidtexSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int type, Buffer data) voiduniform1f(int location, float value) voiduniform1fv(int location, int count, FloatBuffer v) voiduniform1i(int location, int value) voiduniform1iv(int location, int count, IntBuffer v) voiduniform2f(int location, float value0, float value1) voiduniform2fv(int location, int count, FloatBuffer v) voiduniform2i(int location, int value0, int value1) voiduniform2iv(int location, int count, IntBuffer v) voiduniform3f(int location, float value0, float value1, float value2) voiduniform3fv(int location, int count, FloatBuffer v) voiduniform3i(int location, int value0, int value1, int value2) voiduniform3iv(int location, int count, IntBuffer v) voiduniform4f(int location, float value0, float value1, float value2, float value3) voiduniform4fv(int location, int count, FloatBuffer v) voiduniform4i(int location, int value0, int value1, int value2, int value3) voiduniform4iv(int location, int count, IntBuffer v) voiduniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer mat) voiduniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer mat) voiduniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer mat) voidunmapBuffer(int target) voiduseProgram(int program) voidvalidateProgram(int program) voidvertexAttrib1f(int index, float value) voidvertexAttrib1fv(int index, FloatBuffer values) voidvertexAttrib2f(int index, float value0, float value1) voidvertexAttrib2fv(int index, FloatBuffer values) voidvertexAttrib3f(int index, float value0, float value1, float value2) voidvertexAttrib3fv(int index, FloatBuffer values) voidvertexAttrib4f(int index, float value0, float value1, float value2, float value3) voidvertexAttrib4fv(int index, FloatBuffer values) voidvertexAttribPointer(int index, int size, int type, boolean normalized, int stride, int offset) voidviewport(int x, int y, int w, int h) Methods inherited from class processing.opengl.PGL
activeTexture, bindFramebuffer, bindTexture, disableFBOLayer, dispose, drawArrays, drawElements, drawTexture, drawTexture, drawTexture, enableFBOLayer, initPresentMode, insideStopButton, isFboAllowed, presentMode, presentX, presentY, readPixels, readPixels, requestFBOLayer, resetFBOLayer, setPrimary, setThread, smoothToSamples, threadIsCurrent
-
Field Details
-
profile
public static int profile -
AWT
public static final int AWT- See Also:
-
NEWT
public static final int NEWT- See Also:
-
gl
public com.jogamp.opengl.GL glBasic GL functionality, common to all profiles -
glu
public com.jogamp.opengl.glu.GLU gluGLU interface -
context
public com.jogamp.opengl.GLContext contextThe rendering context (holds rendering state info)
-
-
Constructor Details
-
PJOGL
-
-
Method Details
-
getNative
-
setIcon
-
setCaps
public void setCaps(com.jogamp.opengl.GLCapabilities caps) -
getCaps
public com.jogamp.opengl.GLCapabilitiesImmutable getCaps() -
setFps
public void setFps(float fps) -
getGL
public void getGL(com.jogamp.opengl.GLAutoDrawable glDrawable) -
init
public void init(com.jogamp.opengl.GLAutoDrawable glDrawable) -
flush
public void flush() -
finish
public void finish() -
hint
public void hint(int target, int hint) -
enable
public void enable(int value) -
disable
public void disable(int value) -
getBooleanv
- Specified by:
getBooleanvin classPGL
-
getIntegerv
- Specified by:
getIntegervin classPGL
-
getFloatv
-
isEnabled
public boolean isEnabled(int value) -
getString
-
getError
public int getError() -
errorString
- Specified by:
errorStringin classPGL
-
genBuffers
- Specified by:
genBuffersin classPGL
-
deleteBuffers
- Specified by:
deleteBuffersin classPGL
-
bindBuffer
public void bindBuffer(int target, int buffer) - Specified by:
bindBufferin classPGL
-
bufferData
- Specified by:
bufferDatain classPGL
-
bufferSubData
- Specified by:
bufferSubDatain classPGL
-
isBuffer
public void isBuffer(int buffer) -
getBufferParameteriv
- Specified by:
getBufferParameterivin classPGL
-
mapBuffer
-
mapBufferRange
- Specified by:
mapBufferRangein classPGL
-
unmapBuffer
public void unmapBuffer(int target) - Specified by:
unmapBufferin classPGL
-
fenceSync
public long fenceSync(int condition, int flags) -
deleteSync
public void deleteSync(long sync) - Specified by:
deleteSyncin classPGL
-
clientWaitSync
public int clientWaitSync(long sync, int flags, long timeout) - Specified by:
clientWaitSyncin classPGL
-
depthRangef
public void depthRangef(float n, float f) - Specified by:
depthRangefin classPGL
-
viewport
public void viewport(int x, int y, int w, int h) -
vertexAttrib1f
public void vertexAttrib1f(int index, float value) - Specified by:
vertexAttrib1fin classPGL
-
vertexAttrib2f
public void vertexAttrib2f(int index, float value0, float value1) - Specified by:
vertexAttrib2fin classPGL
-
vertexAttrib3f
public void vertexAttrib3f(int index, float value0, float value1, float value2) - Specified by:
vertexAttrib3fin classPGL
-
vertexAttrib4f
public void vertexAttrib4f(int index, float value0, float value1, float value2, float value3) - Specified by:
vertexAttrib4fin classPGL
-
vertexAttrib1fv
- Specified by:
vertexAttrib1fvin classPGL
-
vertexAttrib2fv
- Specified by:
vertexAttrib2fvin classPGL
-
vertexAttrib3fv
- Specified by:
vertexAttrib3fvin classPGL
-
vertexAttrib4fv
- Specified by:
vertexAttrib4fvin classPGL
-
vertexAttribPointer
public void vertexAttribPointer(int index, int size, int type, boolean normalized, int stride, int offset) - Specified by:
vertexAttribPointerin classPGL
-
enableVertexAttribArray
public void enableVertexAttribArray(int index) - Specified by:
enableVertexAttribArrayin classPGL
-
disableVertexAttribArray
public void disableVertexAttribArray(int index) - Specified by:
disableVertexAttribArrayin classPGL
-
drawArraysImpl
public void drawArraysImpl(int mode, int first, int count) - Specified by:
drawArraysImplin classPGL
-
drawElementsImpl
public void drawElementsImpl(int mode, int count, int type, int offset) - Specified by:
drawElementsImplin classPGL
-
lineWidth
public void lineWidth(float width) -
frontFace
public void frontFace(int dir) -
cullFace
public void cullFace(int mode) -
polygonOffset
public void polygonOffset(float factor, float units) - Specified by:
polygonOffsetin classPGL
-
pixelStorei
public void pixelStorei(int pname, int param) - Specified by:
pixelStoreiin classPGL
-
texImage2D
public void texImage2D(int target, int level, int internalFormat, int width, int height, int border, int format, int type, Buffer data) - Specified by:
texImage2Din classPGL
-
copyTexImage2D
public void copyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border) - Specified by:
copyTexImage2Din classPGL
-
texSubImage2D
public void texSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int type, Buffer data) - Specified by:
texSubImage2Din classPGL
-
copyTexSubImage2D
public void copyTexSubImage2D(int target, int level, int xOffset, int yOffset, int x, int y, int width, int height) - Specified by:
copyTexSubImage2Din classPGL
-
compressedTexImage2D
public void compressedTexImage2D(int target, int level, int internalFormat, int width, int height, int border, int imageSize, Buffer data) - Specified by:
compressedTexImage2Din classPGL
-
compressedTexSubImage2D
public void compressedTexSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int imageSize, Buffer data) - Specified by:
compressedTexSubImage2Din classPGL
-
texParameteri
public void texParameteri(int target, int pname, int param) - Specified by:
texParameteriin classPGL
-
texParameterf
public void texParameterf(int target, int pname, float param) - Specified by:
texParameterfin classPGL
-
texParameteriv
- Specified by:
texParameterivin classPGL
-
texParameterfv
- Specified by:
texParameterfvin classPGL
-
generateMipmap
public void generateMipmap(int target) - Specified by:
generateMipmapin classPGL
-
genTextures
- Specified by:
genTexturesin classPGL
-
deleteTextures
- Specified by:
deleteTexturesin classPGL
-
getTexParameteriv
- Specified by:
getTexParameterivin classPGL
-
getTexParameterfv
- Specified by:
getTexParameterfvin classPGL
-
isTexture
public boolean isTexture(int texture) -
createShader
public int createShader(int type) - Specified by:
createShaderin classPGL
-
shaderSource
- Specified by:
shaderSourcein classPGL
-
compileShader
public void compileShader(int shader) - Specified by:
compileShaderin classPGL
-
releaseShaderCompiler
public void releaseShaderCompiler()- Specified by:
releaseShaderCompilerin classPGL
-
deleteShader
public void deleteShader(int shader) - Specified by:
deleteShaderin classPGL
-
shaderBinary
- Specified by:
shaderBinaryin classPGL
-
createProgram
public int createProgram()- Specified by:
createProgramin classPGL
-
attachShader
public void attachShader(int program, int shader) - Specified by:
attachShaderin classPGL
-
detachShader
public void detachShader(int program, int shader) - Specified by:
detachShaderin classPGL
-
linkProgram
public void linkProgram(int program) - Specified by:
linkProgramin classPGL
-
useProgram
public void useProgram(int program) - Specified by:
useProgramin classPGL
-
deleteProgram
public void deleteProgram(int program) - Specified by:
deleteProgramin classPGL
-
getActiveAttrib
- Specified by:
getActiveAttribin classPGL
-
getAttribLocation
- Specified by:
getAttribLocationin classPGL
-
bindAttribLocation
- Specified by:
bindAttribLocationin classPGL
-
getUniformLocation
- Specified by:
getUniformLocationin classPGL
-
getActiveUniform
- Specified by:
getActiveUniformin classPGL
-
uniform1i
public void uniform1i(int location, int value) -
uniform2i
public void uniform2i(int location, int value0, int value1) -
uniform3i
public void uniform3i(int location, int value0, int value1, int value2) -
uniform4i
public void uniform4i(int location, int value0, int value1, int value2, int value3) -
uniform1f
public void uniform1f(int location, float value) -
uniform2f
public void uniform2f(int location, float value0, float value1) -
uniform3f
public void uniform3f(int location, float value0, float value1, float value2) -
uniform4f
public void uniform4f(int location, float value0, float value1, float value2, float value3) -
uniform1iv
- Specified by:
uniform1ivin classPGL
-
uniform2iv
- Specified by:
uniform2ivin classPGL
-
uniform3iv
- Specified by:
uniform3ivin classPGL
-
uniform4iv
- Specified by:
uniform4ivin classPGL
-
uniform1fv
- Specified by:
uniform1fvin classPGL
-
uniform2fv
- Specified by:
uniform2fvin classPGL
-
uniform3fv
- Specified by:
uniform3fvin classPGL
-
uniform4fv
- Specified by:
uniform4fvin classPGL
-
uniformMatrix2fv
- Specified by:
uniformMatrix2fvin classPGL
-
uniformMatrix3fv
- Specified by:
uniformMatrix3fvin classPGL
-
uniformMatrix4fv
- Specified by:
uniformMatrix4fvin classPGL
-
validateProgram
public void validateProgram(int program) - Specified by:
validateProgramin classPGL
-
isShader
public boolean isShader(int shader) -
getShaderiv
- Specified by:
getShaderivin classPGL
-
getAttachedShaders
- Specified by:
getAttachedShadersin classPGL
-
getShaderInfoLog
- Specified by:
getShaderInfoLogin classPGL
-
getShaderSource
- Specified by:
getShaderSourcein classPGL
-
getShaderPrecisionFormat
public void getShaderPrecisionFormat(int shaderType, int precisionType, IntBuffer range, IntBuffer precision) - Specified by:
getShaderPrecisionFormatin classPGL
-
getVertexAttribfv
- Specified by:
getVertexAttribfvin classPGL
-
getVertexAttribiv
- Specified by:
getVertexAttribivin classPGL
-
getVertexAttribPointerv
- Specified by:
getVertexAttribPointervin classPGL
-
getUniformfv
- Specified by:
getUniformfvin classPGL
-
getUniformiv
- Specified by:
getUniformivin classPGL
-
isProgram
public boolean isProgram(int program) -
getProgramiv
- Specified by:
getProgramivin classPGL
-
getProgramInfoLog
- Specified by:
getProgramInfoLogin classPGL
-
scissor
public void scissor(int x, int y, int w, int h) -
sampleCoverage
public void sampleCoverage(float value, boolean invert) - Specified by:
sampleCoveragein classPGL
-
stencilFunc
public void stencilFunc(int func, int ref, int mask) - Specified by:
stencilFuncin classPGL
-
stencilFuncSeparate
public void stencilFuncSeparate(int face, int func, int ref, int mask) - Specified by:
stencilFuncSeparatein classPGL
-
stencilOp
public void stencilOp(int sfail, int dpfail, int dppass) -
stencilOpSeparate
public void stencilOpSeparate(int face, int sfail, int dpfail, int dppass) - Specified by:
stencilOpSeparatein classPGL
-
depthFunc
public void depthFunc(int func) -
blendEquation
public void blendEquation(int mode) - Specified by:
blendEquationin classPGL
-
blendEquationSeparate
public void blendEquationSeparate(int modeRGB, int modeAlpha) - Specified by:
blendEquationSeparatein classPGL
-
blendFunc
public void blendFunc(int src, int dst) -
blendFuncSeparate
public void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) - Specified by:
blendFuncSeparatein classPGL
-
blendColor
public void blendColor(float red, float green, float blue, float alpha) - Specified by:
blendColorin classPGL
-
colorMask
public void colorMask(boolean r, boolean g, boolean b, boolean a) -
depthMask
public void depthMask(boolean mask) -
stencilMask
public void stencilMask(int mask) - Specified by:
stencilMaskin classPGL
-
stencilMaskSeparate
public void stencilMaskSeparate(int face, int mask) - Specified by:
stencilMaskSeparatein classPGL
-
clearColor
public void clearColor(float r, float g, float b, float a) - Specified by:
clearColorin classPGL
-
clearDepth
public void clearDepth(float d) - Specified by:
clearDepthin classPGL
-
clearStencil
public void clearStencil(int s) - Specified by:
clearStencilin classPGL
-
clear
public void clear(int buf) -
deleteFramebuffers
- Specified by:
deleteFramebuffersin classPGL
-
genFramebuffers
- Specified by:
genFramebuffersin classPGL
-
bindRenderbuffer
public void bindRenderbuffer(int target, int renderbuffer) - Specified by:
bindRenderbufferin classPGL
-
deleteRenderbuffers
- Specified by:
deleteRenderbuffersin classPGL
-
genRenderbuffers
- Specified by:
genRenderbuffersin classPGL
-
renderbufferStorage
public void renderbufferStorage(int target, int internalFormat, int width, int height) - Specified by:
renderbufferStoragein classPGL
-
framebufferRenderbuffer
public void framebufferRenderbuffer(int target, int attachment, int rbt, int renderbuffer) - Specified by:
framebufferRenderbufferin classPGL
-
framebufferTexture2D
public void framebufferTexture2D(int target, int attachment, int texTarget, int texture, int level) - Specified by:
framebufferTexture2Din classPGL
-
checkFramebufferStatus
public int checkFramebufferStatus(int target) - Specified by:
checkFramebufferStatusin classPGL
-
isFramebuffer
public boolean isFramebuffer(int framebuffer) - Specified by:
isFramebufferin classPGL
-
getFramebufferAttachmentParameteriv
public void getFramebufferAttachmentParameteriv(int target, int attachment, int name, IntBuffer params) - Specified by:
getFramebufferAttachmentParameterivin classPGL
-
isRenderbuffer
public boolean isRenderbuffer(int renderbuffer) - Specified by:
isRenderbufferin classPGL
-
getRenderbufferParameteriv
- Specified by:
getRenderbufferParameterivin classPGL
-
blitFramebuffer
public void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) - Specified by:
blitFramebufferin classPGL
-
renderbufferStorageMultisample
public void renderbufferStorageMultisample(int target, int samples, int format, int width, int height) - Specified by:
renderbufferStorageMultisamplein classPGL
-
readBuffer
public void readBuffer(int buf) - Specified by:
readBufferin classPGL
-
drawBuffer
public void drawBuffer(int buf) - Specified by:
drawBufferin classPGL
-