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