processing.opengl
Class PJOGL
- java.lang.Object
-
- processing.opengl.PGL
-
- processing.opengl.PJOGL
-
public class PJOGL extends PGL
-
-
Field Summary
Fields Modifier and Type Field and Description static intAWTcom.jogamp.opengl.GLContextcontextThe rendering context (holds rendering state info)com.jogamp.opengl.GLglBasic GL functionality, common to all profilescom.jogamp.opengl.glu.GLUgluGLU interfacestatic intNEWTstatic intprofile-
Fields 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, 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_MISSING_ATTACHMENT, FRAMEBUFFER_INCOMPLETE_READ_BUFFER, 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_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 Constructor and Description PJOGL(PGraphicsOpenGL pg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidattachShader(int program, int shader)voidbindAttribLocation(int program, int index, java.lang.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, java.nio.Buffer data, int usage)voidbufferSubData(int target, int offset, int size, java.nio.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, java.nio.Buffer data)voidcompressedTexSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int imageSize, java.nio.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)intcreateProgram()intcreateShader(int type)voidcullFace(int mode)voiddeleteBuffers(int n, java.nio.IntBuffer buffers)voiddeleteFramebuffers(int n, java.nio.IntBuffer framebuffers)voiddeleteProgram(int program)voiddeleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)voiddeleteShader(int shader)voiddeleteSync(long sync)voiddeleteTextures(int n, java.nio.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)java.lang.StringerrorString(int err)longfenceSync(int condition, int flags)voidfinish()voidflush()voidframebufferRenderbuffer(int target, int attachment, int rendbuferfTarget, int renderbuffer)voidframebufferTexture2D(int target, int attachment, int texTarget, int texture, int level)voidfrontFace(int dir)voidgenBuffers(int n, java.nio.IntBuffer buffers)voidgenerateMipmap(int target)voidgenFramebuffers(int n, java.nio.IntBuffer framebuffers)voidgenRenderbuffers(int n, java.nio.IntBuffer renderbuffers)voidgenTextures(int n, java.nio.IntBuffer textures)java.lang.StringgetActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)java.lang.StringgetActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)voidgetAttachedShaders(int program, int maxCount, java.nio.IntBuffer count, java.nio.IntBuffer shaders)intgetAttribLocation(int program, java.lang.String name)voidgetBooleanv(int value, java.nio.IntBuffer data)voidgetBufferParameteriv(int target, int value, java.nio.IntBuffer data)com.jogamp.opengl.GLCapabilitiesImmutablegetCaps()intgetError()voidgetFloatv(int value, java.nio.FloatBuffer data)voidgetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)voidgetGL(com.jogamp.opengl.GLAutoDrawable glDrawable)voidgetIntegerv(int value, java.nio.IntBuffer data)java.lang.ObjectgetNative()java.lang.StringgetProgramInfoLog(int program)voidgetProgramiv(int program, int pname, java.nio.IntBuffer params)voidgetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)java.lang.StringgetShaderInfoLog(int shader)voidgetShaderiv(int shader, int pname, java.nio.IntBuffer params)voidgetShaderPrecisionFormat(int shaderType, int precisionType, java.nio.IntBuffer range, java.nio.IntBuffer precision)java.lang.StringgetShaderSource(int shader)java.lang.StringgetString(int name)voidgetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)voidgetTexParameteriv(int target, int pname, java.nio.IntBuffer params)voidgetUniformfv(int program, int location, java.nio.FloatBuffer params)voidgetUniformiv(int program, int location, java.nio.IntBuffer params)intgetUniformLocation(int program, java.lang.String name)voidgetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)voidgetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)voidgetVertexAttribPointerv(int index, int pname, java.nio.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)java.nio.ByteBuffermapBuffer(int target, int access)java.nio.ByteBuffermapBufferRange(int target, int offset, int length, int access)voidpixelStorei(int pname, int param)voidpolygonOffset(float factor, float units)voidreadBuffer(int buf)voidreleaseShaderCompiler()voidrenderbufferStorage(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 voidsetIcon(java.lang.String... icons)voidshaderBinary(int count, java.nio.IntBuffer shaders, int binaryFormat, java.nio.Buffer binary, int length)voidshaderSource(int shader, java.lang.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, java.nio.Buffer data)voidtexParameterf(int target, int pname, float param)voidtexParameterfv(int target, int pname, java.nio.FloatBuffer params)voidtexParameteri(int target, int pname, int param)voidtexParameteriv(int target, int pname, java.nio.IntBuffer params)voidtexSubImage2D(int target, int level, int xOffset, int yOffset, int width, int height, int format, int type, java.nio.Buffer data)voiduniform1f(int location, float value)voiduniform1fv(int location, int count, java.nio.FloatBuffer v)voiduniform1i(int location, int value)voiduniform1iv(int location, int count, java.nio.IntBuffer v)voiduniform2f(int location, float value0, float value1)voiduniform2fv(int location, int count, java.nio.FloatBuffer v)voiduniform2i(int location, int value0, int value1)voiduniform2iv(int location, int count, java.nio.IntBuffer v)voiduniform3f(int location, float value0, float value1, float value2)voiduniform3fv(int location, int count, java.nio.FloatBuffer v)voiduniform3i(int location, int value0, int value1, int value2)voiduniform3iv(int location, int count, java.nio.IntBuffer v)voiduniform4f(int location, float value0, float value1, float value2, float value3)voiduniform4fv(int location, int count, java.nio.FloatBuffer v)voiduniform4i(int location, int value0, int value1, int value2, int value3)voiduniform4iv(int location, int count, java.nio.IntBuffer v)voiduniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)voiduniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)voiduniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)voidunmapBuffer(int target)voiduseProgram(int program)voidvalidateProgram(int program)voidvertexAttrib1f(int index, float value)voidvertexAttrib1fv(int index, java.nio.FloatBuffer values)voidvertexAttrib2f(int index, float value0, float value1)voidvertexAttrib2fv(int index, java.nio.FloatBuffer values)voidvertexAttrib3f(int index, float value0, float value1, float value2)voidvertexAttrib3fv(int index, java.nio.FloatBuffer values)voidvertexAttrib4f(int index, float value0, float value1, float value2, float value3)voidvertexAttrib4fv(int index, java.nio.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, presentMode, presentX, presentY, readPixels, readPixels, requestFBOLayer, resetFBOLayer, setPrimary, setThread, smoothToSamples, threadIsCurrent
-
-
-
-
Field Detail
-
profile
public static int profile
-
AWT
public static final int AWT
- See Also:
- Constant Field Values
-
NEWT
public static final int NEWT
- See Also:
- Constant Field Values
-
gl
public com.jogamp.opengl.GL gl
Basic GL functionality, common to all profiles
-
glu
public com.jogamp.opengl.glu.GLU glu
GLU interface
-
context
public com.jogamp.opengl.GLContext context
The rendering context (holds rendering state info)
-
-
Constructor Detail
-
PJOGL
public PJOGL(PGraphicsOpenGL pg)
-
-
Method Detail
-
setIcon
public static void setIcon(java.lang.String... icons)
-
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)
-
getBooleanv
public void getBooleanv(int value, java.nio.IntBuffer data)- Specified by:
getBooleanvin classPGL
-
getIntegerv
public void getIntegerv(int value, java.nio.IntBuffer data)- Specified by:
getIntegervin classPGL
-
getFloatv
public void getFloatv(int value, java.nio.FloatBuffer data)
-
errorString
public java.lang.String errorString(int err)
- Specified by:
errorStringin classPGL
-
genBuffers
public void genBuffers(int n, java.nio.IntBuffer buffers)- Specified by:
genBuffersin classPGL
-
deleteBuffers
public void deleteBuffers(int n, java.nio.IntBuffer buffers)- Specified by:
deleteBuffersin classPGL
-
bindBuffer
public void bindBuffer(int target, int buffer)- Specified by:
bindBufferin classPGL
-
bufferData
public void bufferData(int target, int size, java.nio.Buffer data, int usage)- Specified by:
bufferDatain classPGL
-
bufferSubData
public void bufferSubData(int target, int offset, int size, java.nio.Buffer data)- Specified by:
bufferSubDatain classPGL
-
getBufferParameteriv
public void getBufferParameteriv(int target, int value, java.nio.IntBuffer data)- Specified by:
getBufferParameterivin classPGL
-
mapBuffer
public java.nio.ByteBuffer mapBuffer(int target, int access)
-
mapBufferRange
public java.nio.ByteBuffer mapBufferRange(int target, int offset, int length, int access)- Specified by:
mapBufferRangein classPGL
-
unmapBuffer
public void unmapBuffer(int target)
- Specified by:
unmapBufferin classPGL
-
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
-
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
public void vertexAttrib1fv(int index, java.nio.FloatBuffer values)- Specified by:
vertexAttrib1fvin classPGL
-
vertexAttrib2fv
public void vertexAttrib2fv(int index, java.nio.FloatBuffer values)- Specified by:
vertexAttrib2fvin classPGL
-
vertexAttrib3fv
public void vertexAttrib3fv(int index, java.nio.FloatBuffer values)- Specified by:
vertexAttrib3fvin classPGL
-
vertexAttrib4fv
public void vertexAttrib4fv(int index, java.nio.FloatBuffer values)- 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
-
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, java.nio.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, java.nio.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, java.nio.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, java.nio.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
public void texParameteriv(int target, int pname, java.nio.IntBuffer params)- Specified by:
texParameterivin classPGL
-
texParameterfv
public void texParameterfv(int target, int pname, java.nio.FloatBuffer params)- Specified by:
texParameterfvin classPGL
-
generateMipmap
public void generateMipmap(int target)
- Specified by:
generateMipmapin classPGL
-
genTextures
public void genTextures(int n, java.nio.IntBuffer textures)- Specified by:
genTexturesin classPGL
-
deleteTextures
public void deleteTextures(int n, java.nio.IntBuffer textures)- Specified by:
deleteTexturesin classPGL
-
getTexParameteriv
public void getTexParameteriv(int target, int pname, java.nio.IntBuffer params)- Specified by:
getTexParameterivin classPGL
-
getTexParameterfv
public void getTexParameterfv(int target, int pname, java.nio.FloatBuffer params)- Specified by:
getTexParameterfvin classPGL
-
createShader
public int createShader(int type)
- Specified by:
createShaderin classPGL
-
shaderSource
public void shaderSource(int shader, java.lang.String source)- 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
public void shaderBinary(int count, java.nio.IntBuffer shaders, int binaryFormat, java.nio.Buffer binary, int length)- 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
public java.lang.String getActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)- Specified by:
getActiveAttribin classPGL
-
getAttribLocation
public int getAttribLocation(int program, java.lang.String name)- Specified by:
getAttribLocationin classPGL
-
bindAttribLocation
public void bindAttribLocation(int program, int index, java.lang.String name)- Specified by:
bindAttribLocationin classPGL
-
getUniformLocation
public int getUniformLocation(int program, java.lang.String name)- Specified by:
getUniformLocationin classPGL
-
getActiveUniform
public java.lang.String getActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)- Specified by:
getActiveUniformin classPGL
-
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)
-
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
public void uniform1iv(int location, int count, java.nio.IntBuffer v)- Specified by:
uniform1ivin classPGL
-
uniform2iv
public void uniform2iv(int location, int count, java.nio.IntBuffer v)- Specified by:
uniform2ivin classPGL
-
uniform3iv
public void uniform3iv(int location, int count, java.nio.IntBuffer v)- Specified by:
uniform3ivin classPGL
-
uniform4iv
public void uniform4iv(int location, int count, java.nio.IntBuffer v)- Specified by:
uniform4ivin classPGL
-
uniform1fv
public void uniform1fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
uniform1fvin classPGL
-
uniform2fv
public void uniform2fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
uniform2fvin classPGL
-
uniform3fv
public void uniform3fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
uniform3fvin classPGL
-
uniform4fv
public void uniform4fv(int location, int count, java.nio.FloatBuffer v)- Specified by:
uniform4fvin classPGL
-
uniformMatrix2fv
public void uniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)- Specified by:
uniformMatrix2fvin classPGL
-
uniformMatrix3fv
public void uniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)- Specified by:
uniformMatrix3fvin classPGL
-
uniformMatrix4fv
public void uniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer mat)- Specified by:
uniformMatrix4fvin classPGL
-
validateProgram
public void validateProgram(int program)
- Specified by:
validateProgramin classPGL
-
getShaderiv
public void getShaderiv(int shader, int pname, java.nio.IntBuffer params)- Specified by:
getShaderivin classPGL
-
getAttachedShaders
public void getAttachedShaders(int program, int maxCount, java.nio.IntBuffer count, java.nio.IntBuffer shaders)- Specified by:
getAttachedShadersin classPGL
-
getShaderInfoLog
public java.lang.String getShaderInfoLog(int shader)
- Specified by:
getShaderInfoLogin classPGL
-
getShaderSource
public java.lang.String getShaderSource(int shader)
- Specified by:
getShaderSourcein classPGL
-
getShaderPrecisionFormat
public void getShaderPrecisionFormat(int shaderType, int precisionType, java.nio.IntBuffer range, java.nio.IntBuffer precision)- Specified by:
getShaderPrecisionFormatin classPGL
-
getVertexAttribfv
public void getVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)- Specified by:
getVertexAttribfvin classPGL
-
getVertexAttribiv
public void getVertexAttribiv(int index, int pname, java.nio.IntBuffer params)- Specified by:
getVertexAttribivin classPGL
-
getVertexAttribPointerv
public void getVertexAttribPointerv(int index, int pname, java.nio.ByteBuffer data)- Specified by:
getVertexAttribPointervin classPGL
-
getUniformfv
public void getUniformfv(int program, int location, java.nio.FloatBuffer params)- Specified by:
getUniformfvin classPGL
-
getUniformiv
public void getUniformiv(int program, int location, java.nio.IntBuffer params)- Specified by:
getUniformivin classPGL
-
getProgramiv
public void getProgramiv(int program, int pname, java.nio.IntBuffer params)- Specified by:
getProgramivin classPGL
-
getProgramInfoLog
public java.lang.String getProgramInfoLog(int program)
- Specified by:
getProgramInfoLogin classPGL
-
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
-
blendEquation
public void blendEquation(int mode)
- Specified by:
blendEquationin classPGL
-
blendEquationSeparate
public void blendEquationSeparate(int modeRGB, int modeAlpha)- Specified by:
blendEquationSeparatein classPGL
-
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)
-
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
-
deleteFramebuffers
public void deleteFramebuffers(int n, java.nio.IntBuffer framebuffers)- Specified by:
deleteFramebuffersin classPGL
-
genFramebuffers
public void genFramebuffers(int n, java.nio.IntBuffer framebuffers)- Specified by:
genFramebuffersin classPGL
-
bindRenderbuffer
public void bindRenderbuffer(int target, int renderbuffer)- Specified by:
bindRenderbufferin classPGL
-
deleteRenderbuffers
public void deleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)- Specified by:
deleteRenderbuffersin classPGL
-
genRenderbuffers
public void genRenderbuffers(int n, java.nio.IntBuffer renderbuffers)- 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 rendbuferfTarget, 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 pname, java.nio.IntBuffer params)- Specified by:
getFramebufferAttachmentParameterivin classPGL
-
isRenderbuffer
public boolean isRenderbuffer(int renderbuffer)
- Specified by:
isRenderbufferin classPGL
-
getRenderbufferParameteriv
public void getRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)- 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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG