Class GwtJ2clWebGLRenderingContext
java.lang.Object
dev.webfx.kit.webgl.spi.impl.gwtj2cl.GwtJ2clWebGLRenderingContext
- All Implemented Interfaces:
WebGLRenderingContext
- Author:
- Bruno Salmon
-
Field Summary
Fields inherited from interface dev.webfx.kit.webgl.WebGLRenderingContext
ACTIVE_ATTRIBUTES, ACTIVE_TEXTURE, ACTIVE_UNIFORMS, ALIASED_LINE_WIDTH_RANGE, ALIASED_POINT_SIZE_RANGE, ALPHA, ALPHA_BITS, ALWAYS, ARRAY_BUFFER, ARRAY_BUFFER_BINDING, ATTACHED_SHADERS, BACK, BLEND, BLEND_COLOR, BLEND_DST_ALPHA, BLEND_DST_RGB, BLEND_EQUATION, BLEND_EQUATION_ALPHA, BLEND_EQUATION_RGB, BLEND_SRC_ALPHA, BLEND_SRC_RGB, BLUE_BITS, BOOL, BOOL_VEC2, BOOL_VEC3, BOOL_VEC4, BROWSER_DEFAULT_WEBGL, BUFFER_SIZE, BUFFER_USAGE, BYTE, CCW, CLAMP_TO_EDGE, COLOR_ATTACHMENT0, COLOR_BUFFER_BIT, COLOR_CLEAR_VALUE, COLOR_WRITEMASK, COMPILE_STATUS, COMPRESSED_TEXTURE_FORMATS, CONSTANT_ALPHA, CONSTANT_COLOR, CONTEXT_LOST_WEBGL, CULL_FACE, CULL_FACE_MODE, CURRENT_PROGRAM, CURRENT_VERTEX_ATTRIB, CW, DECR, DECR_WRAP, DELETE_STATUS, DEPTH_ATTACHMENT, DEPTH_BITS, DEPTH_BUFFER_BIT, DEPTH_CLEAR_VALUE, DEPTH_COMPONENT, DEPTH_COMPONENT16, DEPTH_FUNC, DEPTH_RANGE, DEPTH_STENCIL, DEPTH_STENCIL_ATTACHMENT, DEPTH_TEST, DEPTH_WRITEMASK, DITHER, DONT_CARE, DST_ALPHA, DST_COLOR, DYNAMIC_DRAW, ELEMENT_ARRAY_BUFFER, ELEMENT_ARRAY_BUFFER_BINDING, EQUAL, 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_BINDING, FRAMEBUFFER_COMPLETE, FRAMEBUFFER_INCOMPLETE_ATTACHMENT, FRAMEBUFFER_INCOMPLETE_DIMENSIONS, FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, FRAMEBUFFER_UNSUPPORTED, FRONT, FRONT_AND_BACK, FRONT_FACE, FUNC_ADD, FUNC_REVERSE_SUBTRACT, FUNC_SUBTRACT, GENERATE_MIPMAP_HINT, GEQUAL, GREATER, GREEN_BITS, HALF_FLOAT, HIGH_FLOAT, HIGH_INT, IMPLEMENTATION_COLOR_READ_FORMAT, IMPLEMENTATION_COLOR_READ_TYPE, INCR, INCR_WRAP, INT, INT_VEC2, INT_VEC3, INT_VEC4, INVALID_ENUM, INVALID_FRAMEBUFFER_OPERATION, INVALID_OPERATION, INVALID_VALUE, INVERT, KEEP, LEQUAL, LESS, LINE_LOOP, LINE_STRIP, LINE_WIDTH, LINEAR, LINEAR_MIPMAP_LINEAR, LINEAR_MIPMAP_NEAREST, LINES, LINK_STATUS, LOW_FLOAT, LOW_INT, LUMINANCE, LUMINANCE_ALPHA, MAX_COMBINED_TEXTURE_IMAGE_UNITS, MAX_CUBE_MAP_TEXTURE_SIZE, MAX_FRAGMENT_UNIFORM_VECTORS, MAX_RENDERBUFFER_SIZE, MAX_TEXTURE_IMAGE_UNITS, MAX_TEXTURE_SIZE, MAX_VARYING_VECTORS, MAX_VERTEX_ATTRIBS, MAX_VERTEX_TEXTURE_IMAGE_UNITS, MAX_VERTEX_UNIFORM_VECTORS, MAX_VIEWPORT_DIMS, MEDIUM_FLOAT, MEDIUM_INT, MIRRORED_REPEAT, NEAREST, NEAREST_MIPMAP_LINEAR, NEAREST_MIPMAP_NEAREST, NEVER, NICEST, NO_ERROR, NONE, NOTEQUAL, ONE, ONE_MINUS_CONSTANT_ALPHA, ONE_MINUS_CONSTANT_COLOR, ONE_MINUS_DST_ALPHA, ONE_MINUS_DST_COLOR, ONE_MINUS_SRC_ALPHA, ONE_MINUS_SRC_COLOR, OUT_OF_MEMORY, PACK_ALIGNMENT, POINTS, POLYGON_OFFSET_FACTOR, POLYGON_OFFSET_FILL, POLYGON_OFFSET_UNITS, R16F, RED, RED_BITS, RENDERBUFFER, RENDERBUFFER_ALPHA_SIZE, RENDERBUFFER_BINDING, 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, RG, RG16F, RGB, RGB5_A1, RGB565, RGBA, RGBA16F, RGBA4, SAMPLE_ALPHA_TO_COVERAGE, SAMPLE_BUFFERS, SAMPLE_COVERAGE, SAMPLE_COVERAGE_INVERT, SAMPLE_COVERAGE_VALUE, SAMPLER_2D, SAMPLER_CUBE, SAMPLES, SCISSOR_BOX, SCISSOR_TEST, SHADER_TYPE, SHADING_LANGUAGE_VERSION, SHORT, SRC_ALPHA, SRC_ALPHA_SATURATE, SRC_COLOR, STATIC_DRAW, STENCIL_ATTACHMENT, STENCIL_BACK_FAIL, STENCIL_BACK_FUNC, STENCIL_BACK_PASS_DEPTH_FAIL, STENCIL_BACK_PASS_DEPTH_PASS, STENCIL_BACK_REF, STENCIL_BACK_VALUE_MASK, STENCIL_BACK_WRITEMASK, STENCIL_BITS, STENCIL_BUFFER_BIT, STENCIL_CLEAR_VALUE, STENCIL_FAIL, STENCIL_FUNC, STENCIL_INDEX8, STENCIL_PASS_DEPTH_FAIL, STENCIL_PASS_DEPTH_PASS, STENCIL_REF, STENCIL_TEST, STENCIL_VALUE_MASK, STENCIL_WRITEMASK, STREAM_DRAW, SUBPIXEL_BITS, TEXTURE, TEXTURE_2D, TEXTURE_BINDING_2D, TEXTURE_BINDING_CUBE_MAP, 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_MIN_FILTER, TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE0, TEXTURE1, TEXTURE10, TEXTURE11, TEXTURE12, TEXTURE13, TEXTURE14, TEXTURE15, TEXTURE16, TEXTURE17, TEXTURE18, TEXTURE19, TEXTURE2, TEXTURE20, TEXTURE21, TEXTURE22, TEXTURE23, TEXTURE24, TEXTURE25, TEXTURE26, TEXTURE27, TEXTURE28, TEXTURE29, TEXTURE3, TEXTURE30, TEXTURE31, TEXTURE4, TEXTURE5, TEXTURE6, TEXTURE7, TEXTURE8, TEXTURE9, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, UNPACK_ALIGNMENT, UNPACK_COLORSPACE_CONVERSION_WEBGL, UNPACK_FLIP_Y_WEBGL, UNPACK_PREMULTIPLY_ALPHA_WEBGL, UNSIGNED_BYTE, UNSIGNED_INT, UNSIGNED_SHORT, UNSIGNED_SHORT_4_4_4_4, UNSIGNED_SHORT_5_5_5_1, UNSIGNED_SHORT_5_6_5, 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, ZERO
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activeTexture
(int texture) void
attachShader
(WebGLProgram program, WebGLShader shader) void
bindAttribLocation
(WebGLProgram program, int index, String name) void
bindBuffer
(int target, WebGLBuffer buffer) void
bindFramebuffer
(int target, WebGLFramebuffer buffer) void
bindTexture
(int target, WebGLTexture texture) void
blendColor
(double red, double green, double blue, double alpha) void
blendEquation
(int mode) void
blendEquationSeparate
(int modeRGB, int modeAlpha) void
blendFunc
(int sfactor, int dfactor) void
blendFuncSeparate
(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) void
bufferData
(int target, dev.webfx.platform.typedarray.TypedArray data, int usage) int
checkFramebufferStatus
(int target) void
clear
(int mask) void
clearColor
(double red, double green, double blue, double alpha) void
clearDepth
(double depth) void
clearStencil
(int s) void
colorMask
(boolean red, boolean green, boolean blue, boolean alpha) void
compileShader
(WebGLShader shader) createShader
(int type) void
cullFace
(int mode) void
deleteBuffer
(WebGLBuffer buffer) void
deleteProgram
(WebGLProgram program) void
deleteShader
(WebGLShader shader) void
deleteTexture
(WebGLTexture texture) void
depthFunc
(int func) void
depthMask
(boolean flag) void
depthRange
(double nearVal, double farVal) void
detachShader
(WebGLProgram program, WebGLShader shader) void
disable
(int flags) void
disableVertexAttribArray
(int index) void
drawArrays
(int mode, int first, int count) void
drawElements
(int mode, int count, int type, double offset) void
enable
(int cap) void
enableVertexAttribArray
(int index) finish()
flush()
void
framebufferTexture2D
(int target, int attachment, int textarget, WebGLTexture texture, int level) void
frontFace
(int mode) void
generateMipmap
(int target) getActiveAttrib
(WebGLProgram program, int index) getActiveUniform
(WebGLProgram program, int index) int
getAttribLocation
(WebGLProgram program, String name) getBufferParameter
(int target, int pname) int
int
int
getError()
getExtension
(String name) getFramebufferAttachmentParameter
(int target, int attachment, int pname) getParameter
(int pname) getProgramInfoLog
(WebGLProgram program) getProgramParameter
(WebGLProgram program, int pname) getRenderbufferParameter
(int target, int pname) getShaderInfoLog
(WebGLShader shader) getShaderParameter
(WebGLShader shader, int pname) getShaderSource
(WebGLShader shader) getTexParameter
(int target, int pname) getUniform
(WebGLProgram program, WebGLUniformLocation location) getUniformLocation
(WebGLProgram program, String name) getVertexAttrib
(int index, int pname) double
getVertexAttribOffset
(int index, int pname) void
hint
(int target, int mode) boolean
boolean
isEnabled
(int cap) void
lineWidth
(double width) void
linkProgram
(WebGLProgram program) void
pixelStorei
(int pname, boolean param) void
pixelStorei
(int pname, int param) void
polygonOffset
(double factor, double units) void
renderbufferStorage
(int target, int internalformat, int width, int height) void
sampleCoverage
(double coverage, boolean invert) void
scissor
(int x, int y, int width, int height) void
shaderSource
(WebGLShader 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 fail, int zfail, int zpass) void
stencilOpSeparate
(int face, int fail, int zfail, int zpass) void
texImage2D
(int target, int level, int internalformat, int format, int type, int img, int format0, int type0, dev.webfx.platform.typedarray.TypedArray pixels) void
texImage2D
(int target, int level, int internalformat, int format, int type, Image img) void
texImage2D
(int target, int level, int internalformat, int format, int type, MediaView img) void
texParameterf
(int target, int pname, double param) void
texParameteri
(int target, int pname, int param) void
uniform1f
(WebGLUniformLocation location, double value) void
uniform1fv
(WebGLUniformLocation location, double[] value) void
uniform1i
(WebGLUniformLocation location, int value) void
uniform1iv
(WebGLUniformLocation location, Object[] value) void
uniform2f
(WebGLUniformLocation location, double value1, double value2) void
uniform2fv
(WebGLUniformLocation location, double[] value) void
uniform2iv
(WebGLUniformLocation location, Object[] value) void
uniform3f
(WebGLUniformLocation location, double value1, double value2, double value3) void
uniform3fv
(WebGLUniformLocation location, double[] value) void
uniform3iv
(WebGLUniformLocation location, Object[] value) void
uniform4f
(WebGLUniformLocation location, double value1, double value2, double value3, double value4) void
uniform4fv
(WebGLUniformLocation location, double[] value) void
uniformMatrix2fv
(WebGLUniformLocation location, boolean transpose, double[] data) void
uniformMatrix3fv
(WebGLUniformLocation location, boolean transpose, double[] data) void
uniformMatrix4fv
(WebGLUniformLocation location, boolean transpose, double[] data) void
useProgram
(WebGLProgram program) void
validateProgram
(WebGLProgram program) void
vertexAttrib1f
(int indx, double x) void
vertexAttrib1fv
(int indx, double[] values) void
vertexAttrib2f
(int indx, double x, double y) void
vertexAttrib2fv
(int indx, double[] values) void
vertexAttrib3f
(int indx, double x, double y, double z) void
vertexAttrib4f
(int indx, double x, double y, double z, double w) void
vertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, double offset) void
viewport
(int x, int y, int width, int height)
-
Constructor Details
-
GwtJ2clWebGLRenderingContext
public GwtJ2clWebGLRenderingContext(elemental2.webgl.WebGLRenderingContext gl)
-
-
Method Details
-
clear
public void clear(int mask) - Specified by:
clear
in interfaceWebGLRenderingContext
-
clearColor
public void clearColor(double red, double green, double blue, double alpha) - Specified by:
clearColor
in interfaceWebGLRenderingContext
-
createShader
- Specified by:
createShader
in interfaceWebGLRenderingContext
-
shaderSource
- Specified by:
shaderSource
in interfaceWebGLRenderingContext
-
compileShader
- Specified by:
compileShader
in interfaceWebGLRenderingContext
-
getShaderParameter
- Specified by:
getShaderParameter
in interfaceWebGLRenderingContext
-
deleteShader
- Specified by:
deleteShader
in interfaceWebGLRenderingContext
-
getShaderInfoLog
- Specified by:
getShaderInfoLog
in interfaceWebGLRenderingContext
-
createProgram
- Specified by:
createProgram
in interfaceWebGLRenderingContext
-
attachShader
- Specified by:
attachShader
in interfaceWebGLRenderingContext
-
linkProgram
- Specified by:
linkProgram
in interfaceWebGLRenderingContext
-
getProgramParameter
- Specified by:
getProgramParameter
in interfaceWebGLRenderingContext
-
getProgramInfoLog
- Specified by:
getProgramInfoLog
in interfaceWebGLRenderingContext
-
createBuffer
- Specified by:
createBuffer
in interfaceWebGLRenderingContext
-
bindBuffer
- Specified by:
bindBuffer
in interfaceWebGLRenderingContext
-
bufferData
public void bufferData(int target, dev.webfx.platform.typedarray.TypedArray data, int usage) - Specified by:
bufferData
in interfaceWebGLRenderingContext
-
getAttribLocation
- Specified by:
getAttribLocation
in interfaceWebGLRenderingContext
-
getUniformLocation
- Specified by:
getUniformLocation
in interfaceWebGLRenderingContext
-
clearDepth
public void clearDepth(double depth) - Specified by:
clearDepth
in interfaceWebGLRenderingContext
-
enable
public void enable(int cap) - Specified by:
enable
in interfaceWebGLRenderingContext
-
depthFunc
public void depthFunc(int func) - Specified by:
depthFunc
in interfaceWebGLRenderingContext
-
useProgram
- Specified by:
useProgram
in interfaceWebGLRenderingContext
-
drawArrays
public void drawArrays(int mode, int first, int count) - Specified by:
drawArrays
in interfaceWebGLRenderingContext
-
uniformMatrix4fv
- Specified by:
uniformMatrix4fv
in interfaceWebGLRenderingContext
-
vertexAttribPointer
public void vertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, double offset) - Specified by:
vertexAttribPointer
in interfaceWebGLRenderingContext
-
enableVertexAttribArray
public void enableVertexAttribArray(int index) - Specified by:
enableVertexAttribArray
in interfaceWebGLRenderingContext
-
drawElements
public void drawElements(int mode, int count, int type, double offset) - Specified by:
drawElements
in interfaceWebGLRenderingContext
-
createTexture
- Specified by:
createTexture
in interfaceWebGLRenderingContext
-
bindTexture
- Specified by:
bindTexture
in interfaceWebGLRenderingContext
-
generateMipmap
public void generateMipmap(int target) - Specified by:
generateMipmap
in interfaceWebGLRenderingContext
-
texImage2D
- Specified by:
texImage2D
in interfaceWebGLRenderingContext
-
texImage2D
public void texImage2D(int target, int level, int internalformat, int format, int type, int img, int format0, int type0, dev.webfx.platform.typedarray.TypedArray pixels) - Specified by:
texImage2D
in interfaceWebGLRenderingContext
-
texParameteri
public void texParameteri(int target, int pname, int param) - Specified by:
texParameteri
in interfaceWebGLRenderingContext
-
pixelStorei
public void pixelStorei(int pname, boolean param) - Specified by:
pixelStorei
in interfaceWebGLRenderingContext
-
activeTexture
public void activeTexture(int texture) - Specified by:
activeTexture
in interfaceWebGLRenderingContext
-
uniform1i
- Specified by:
uniform1i
in interfaceWebGLRenderingContext
-
texImage2D
public void texImage2D(int target, int level, int internalformat, int format, int type, MediaView img) - Specified by:
texImage2D
in interfaceWebGLRenderingContext
-
bindAttribLocation
- Specified by:
bindAttribLocation
in interfaceWebGLRenderingContext
-
blendColor
public void blendColor(double red, double green, double blue, double alpha) - Specified by:
blendColor
in interfaceWebGLRenderingContext
-
blendEquation
public void blendEquation(int mode) - Specified by:
blendEquation
in interfaceWebGLRenderingContext
-
blendEquationSeparate
public void blendEquationSeparate(int modeRGB, int modeAlpha) - Specified by:
blendEquationSeparate
in interfaceWebGLRenderingContext
-
blendFunc
public void blendFunc(int sfactor, int dfactor) - Specified by:
blendFunc
in interfaceWebGLRenderingContext
-
blendFuncSeparate
public void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) - Specified by:
blendFuncSeparate
in interfaceWebGLRenderingContext
-
clearStencil
public void clearStencil(int s) - Specified by:
clearStencil
in interfaceWebGLRenderingContext
-
colorMask
public void colorMask(boolean red, boolean green, boolean blue, boolean alpha) - Specified by:
colorMask
in interfaceWebGLRenderingContext
-
cullFace
public void cullFace(int mode) - Specified by:
cullFace
in interfaceWebGLRenderingContext
-
deleteBuffer
- Specified by:
deleteBuffer
in interfaceWebGLRenderingContext
-
deleteProgram
- Specified by:
deleteProgram
in interfaceWebGLRenderingContext
-
deleteTexture
- Specified by:
deleteTexture
in interfaceWebGLRenderingContext
-
depthMask
public void depthMask(boolean flag) - Specified by:
depthMask
in interfaceWebGLRenderingContext
-
depthRange
public void depthRange(double nearVal, double farVal) - Specified by:
depthRange
in interfaceWebGLRenderingContext
-
detachShader
- Specified by:
detachShader
in interfaceWebGLRenderingContext
-
disable
public void disable(int flags) - Specified by:
disable
in interfaceWebGLRenderingContext
-
disableVertexAttribArray
public void disableVertexAttribArray(int index) - Specified by:
disableVertexAttribArray
in interfaceWebGLRenderingContext
-
finish
- Specified by:
finish
in interfaceWebGLRenderingContext
-
flush
- Specified by:
flush
in interfaceWebGLRenderingContext
-
framebufferTexture2D
public void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture texture, int level) - Specified by:
framebufferTexture2D
in interfaceWebGLRenderingContext
-
frontFace
public void frontFace(int mode) - Specified by:
frontFace
in interfaceWebGLRenderingContext
-
getBufferParameter
- Specified by:
getBufferParameter
in interfaceWebGLRenderingContext
-
getError
public int getError()- Specified by:
getError
in interfaceWebGLRenderingContext
-
getFramebufferAttachmentParameter
- Specified by:
getFramebufferAttachmentParameter
in interfaceWebGLRenderingContext
-
getParameter
- Specified by:
getParameter
in interfaceWebGLRenderingContext
-
getRenderbufferParameter
- Specified by:
getRenderbufferParameter
in interfaceWebGLRenderingContext
-
getShaderSource
- Specified by:
getShaderSource
in interfaceWebGLRenderingContext
-
getTexParameter
- Specified by:
getTexParameter
in interfaceWebGLRenderingContext
-
getUniform
- Specified by:
getUniform
in interfaceWebGLRenderingContext
-
getVertexAttrib
- Specified by:
getVertexAttrib
in interfaceWebGLRenderingContext
-
getVertexAttribOffset
public double getVertexAttribOffset(int index, int pname) - Specified by:
getVertexAttribOffset
in interfaceWebGLRenderingContext
-
hint
public void hint(int target, int mode) - Specified by:
hint
in interfaceWebGLRenderingContext
-
isContextLost
public boolean isContextLost()- Specified by:
isContextLost
in interfaceWebGLRenderingContext
-
isEnabled
public boolean isEnabled(int cap) - Specified by:
isEnabled
in interfaceWebGLRenderingContext
-
lineWidth
public void lineWidth(double width) - Specified by:
lineWidth
in interfaceWebGLRenderingContext
-
pixelStorei
public void pixelStorei(int pname, int param) - Specified by:
pixelStorei
in interfaceWebGLRenderingContext
-
polygonOffset
public void polygonOffset(double factor, double units) - Specified by:
polygonOffset
in interfaceWebGLRenderingContext
-
renderbufferStorage
public void renderbufferStorage(int target, int internalformat, int width, int height) - Specified by:
renderbufferStorage
in interfaceWebGLRenderingContext
-
sampleCoverage
public void sampleCoverage(double coverage, boolean invert) - Specified by:
sampleCoverage
in interfaceWebGLRenderingContext
-
scissor
public void scissor(int x, int y, int width, int height) - Specified by:
scissor
in interfaceWebGLRenderingContext
-
stencilFunc
public void stencilFunc(int func, int ref, int mask) - Specified by:
stencilFunc
in interfaceWebGLRenderingContext
-
stencilFuncSeparate
public void stencilFuncSeparate(int face, int func, int ref, int mask) - Specified by:
stencilFuncSeparate
in interfaceWebGLRenderingContext
-
stencilMask
public void stencilMask(int mask) - Specified by:
stencilMask
in interfaceWebGLRenderingContext
-
stencilMaskSeparate
public void stencilMaskSeparate(int face, int mask) - Specified by:
stencilMaskSeparate
in interfaceWebGLRenderingContext
-
stencilOp
public void stencilOp(int fail, int zfail, int zpass) - Specified by:
stencilOp
in interfaceWebGLRenderingContext
-
stencilOpSeparate
public void stencilOpSeparate(int face, int fail, int zfail, int zpass) - Specified by:
stencilOpSeparate
in interfaceWebGLRenderingContext
-
texParameterf
public void texParameterf(int target, int pname, double param) - Specified by:
texParameterf
in interfaceWebGLRenderingContext
-
uniform1f
- Specified by:
uniform1f
in interfaceWebGLRenderingContext
-
uniform1fv
- Specified by:
uniform1fv
in interfaceWebGLRenderingContext
-
uniform1iv
- Specified by:
uniform1iv
in interfaceWebGLRenderingContext
-
uniform2fv
- Specified by:
uniform2fv
in interfaceWebGLRenderingContext
-
uniform2iv
- Specified by:
uniform2iv
in interfaceWebGLRenderingContext
-
uniform3f
- Specified by:
uniform3f
in interfaceWebGLRenderingContext
-
uniform3fv
- Specified by:
uniform3fv
in interfaceWebGLRenderingContext
-
uniform3iv
- Specified by:
uniform3iv
in interfaceWebGLRenderingContext
-
uniform4f
public void uniform4f(WebGLUniformLocation location, double value1, double value2, double value3, double value4) - Specified by:
uniform4f
in interfaceWebGLRenderingContext
-
uniform4fv
- Specified by:
uniform4fv
in interfaceWebGLRenderingContext
-
uniformMatrix2fv
- Specified by:
uniformMatrix2fv
in interfaceWebGLRenderingContext
-
uniformMatrix3fv
- Specified by:
uniformMatrix3fv
in interfaceWebGLRenderingContext
-
validateProgram
- Specified by:
validateProgram
in interfaceWebGLRenderingContext
-
vertexAttrib1f
public void vertexAttrib1f(int indx, double x) - Specified by:
vertexAttrib1f
in interfaceWebGLRenderingContext
-
vertexAttrib1fv
public void vertexAttrib1fv(int indx, double[] values) - Specified by:
vertexAttrib1fv
in interfaceWebGLRenderingContext
-
vertexAttrib2f
public void vertexAttrib2f(int indx, double x, double y) - Specified by:
vertexAttrib2f
in interfaceWebGLRenderingContext
-
vertexAttrib2fv
public void vertexAttrib2fv(int indx, double[] values) - Specified by:
vertexAttrib2fv
in interfaceWebGLRenderingContext
-
vertexAttrib3f
public void vertexAttrib3f(int indx, double x, double y, double z) - Specified by:
vertexAttrib3f
in interfaceWebGLRenderingContext
-
vertexAttrib4f
public void vertexAttrib4f(int indx, double x, double y, double z, double w) - Specified by:
vertexAttrib4f
in interfaceWebGLRenderingContext
-
viewport
public void viewport(int x, int y, int width, int height) - Specified by:
viewport
in interfaceWebGLRenderingContext
-
getExtension
- Specified by:
getExtension
in interfaceWebGLRenderingContext
-
bindFramebuffer
- Specified by:
bindFramebuffer
in interfaceWebGLRenderingContext
-
checkFramebufferStatus
public int checkFramebufferStatus(int target) - Specified by:
checkFramebufferStatus
in interfaceWebGLRenderingContext
-
createFramebuffer
- Specified by:
createFramebuffer
in interfaceWebGLRenderingContext
-
getActiveAttrib
- Specified by:
getActiveAttrib
in interfaceWebGLRenderingContext
-
getActiveUniform
- Specified by:
getActiveUniform
in interfaceWebGLRenderingContext
-
uniform2f
- Specified by:
uniform2f
in interfaceWebGLRenderingContext
-
getDrawingBufferWidth
public int getDrawingBufferWidth()- Specified by:
getDrawingBufferWidth
in interfaceWebGLRenderingContext
-
getDrawingBufferHeight
public int getDrawingBufferHeight()- Specified by:
getDrawingBufferHeight
in interfaceWebGLRenderingContext
-