public interface WebGLRenderingContext extends CanvasRenderingContext
Modifier and Type | Method and Description |
---|---|
void |
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 framebuffer) |
void |
bindRenderbuffer(int target,
WebGLRenderbuffer renderbuffer) |
void |
bindTexture(int target,
WebGLTexture texture) |
void |
blendColor(float red,
float green,
float blue,
float 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,
ArrayBuffer data,
int usage) |
void |
bufferData(int target,
ArrayBufferView data,
int usage) |
void |
bufferData(int target,
double size,
int usage) |
void |
bufferSubData(int target,
double offset,
ArrayBuffer data) |
void |
bufferSubData(int target,
double offset,
ArrayBufferView data) |
int |
checkFramebufferStatus(int target) |
void |
clear(int mask) |
void |
clearColor(float red,
float green,
float blue,
float alpha) |
void |
clearDepth(float depth) |
void |
clearStencil(int s) |
void |
colorMask(boolean red,
boolean green,
boolean blue,
boolean alpha) |
void |
compileShader(WebGLShader shader) |
void |
compressedTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
ArrayBufferView data) |
void |
compressedTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
ArrayBufferView data) |
void |
copyTexImage2D(int target,
int level,
int internalformat,
int x,
int y,
int width,
int height,
int border) |
void |
copyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height) |
WebGLBuffer |
createBuffer() |
WebGLFramebuffer |
createFramebuffer() |
WebGLProgram |
createProgram() |
WebGLRenderbuffer |
createRenderbuffer() |
WebGLShader |
createShader(int type) |
WebGLTexture |
createTexture() |
void |
cullFace(int mode) |
void |
deleteBuffer(WebGLBuffer buffer) |
void |
deleteFramebuffer(WebGLFramebuffer framebuffer) |
void |
deleteProgram(WebGLProgram program) |
void |
deleteRenderbuffer(WebGLRenderbuffer renderbuffer) |
void |
deleteShader(WebGLShader shader) |
void |
deleteTexture(WebGLTexture texture) |
void |
depthFunc(int func) |
void |
depthMask(boolean flag) |
void |
depthRange(float zNear,
float zFar) |
void |
detachShader(WebGLProgram program,
WebGLShader shader) |
void |
disable(int cap) |
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) |
void |
finish() |
void |
flush() |
void |
framebufferRenderbuffer(int target,
int attachment,
int renderbuffertarget,
WebGLRenderbuffer renderbuffer) |
void |
framebufferTexture2D(int target,
int attachment,
int textarget,
WebGLTexture texture,
int level) |
void |
frontFace(int mode) |
void |
generateMipmap(int target) |
WebGLActiveInfo |
getActiveAttrib(WebGLProgram program,
int index) |
WebGLActiveInfo |
getActiveUniform(WebGLProgram program,
int index) |
Indexable |
getAttachedShaders(WebGLProgram program) |
int |
getAttribLocation(WebGLProgram program,
String name) |
Object |
getBufferParameter(int target,
int pname) |
WebGLContextAttributes |
getContextAttributes() |
int |
getDrawingBufferHeight() |
int |
getDrawingBufferWidth() |
int |
getError() |
Object |
getExtension(String name) |
Object |
getFramebufferAttachmentParameter(int target,
int attachment,
int pname) |
Object |
getParameter(int pname) |
String |
getProgramInfoLog(WebGLProgram program) |
Object |
getProgramParameter(WebGLProgram program,
int pname) |
Object |
getRenderbufferParameter(int target,
int pname) |
String |
getShaderInfoLog(WebGLShader shader) |
Object |
getShaderParameter(WebGLShader shader,
int pname) |
WebGLShaderPrecisionFormat |
getShaderPrecisionFormat(int shadertype,
int precisiontype) |
String |
getShaderSource(WebGLShader shader) |
Object |
getTexParameter(int target,
int pname) |
Object |
getUniform(WebGLProgram program,
WebGLUniformLocation location) |
WebGLUniformLocation |
getUniformLocation(WebGLProgram program,
String name) |
Object |
getVertexAttrib(int index,
int pname) |
double |
getVertexAttribOffset(int index,
int pname) |
void |
hint(int target,
int mode) |
boolean |
isBuffer(WebGLBuffer buffer) |
boolean |
isContextLost() |
boolean |
isEnabled(int cap) |
boolean |
isFramebuffer(WebGLFramebuffer framebuffer) |
boolean |
isProgram(WebGLProgram program) |
boolean |
isRenderbuffer(WebGLRenderbuffer renderbuffer) |
boolean |
isShader(WebGLShader shader) |
boolean |
isTexture(WebGLTexture texture) |
void |
lineWidth(float width) |
void |
linkProgram(WebGLProgram program) |
void |
pixelStorei(int pname,
int param) |
void |
polygonOffset(float factor,
float units) |
void |
readPixels(int x,
int y,
int width,
int height,
int format,
int type,
ArrayBufferView pixels) |
void |
releaseShaderCompiler() |
void |
renderbufferStorage(int target,
int internalformat,
int width,
int height) |
void |
sampleCoverage(float value,
boolean invert) |
void |
scissor(int x,
int y,
int width,
int height) |
void |
shaderSource(WebGLShader shader,
String string) |
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,
CanvasElement canvas) |
void |
texImage2D(int target,
int level,
int internalformat,
int format,
int type,
ImageData pixels) |
void |
texImage2D(int target,
int level,
int internalformat,
int format,
int type,
ImageElement image) |
void |
texImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
ArrayBufferView pixels) |
void |
texImage2D(int target,
int level,
int internalformat,
int format,
int type,
VideoElement video) |
void |
texParameterf(int target,
int pname,
float param) |
void |
texParameteri(int target,
int pname,
int param) |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int format,
int type,
CanvasElement canvas) |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int format,
int type,
ImageData pixels) |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int format,
int type,
ImageElement image) |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
ArrayBufferView pixels) |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int format,
int type,
VideoElement video) |
void |
uniform1f(WebGLUniformLocation location,
float x) |
void |
uniform1fv(WebGLUniformLocation location,
Float32Array v) |
void |
uniform1i(WebGLUniformLocation location,
int x) |
void |
uniform1iv(WebGLUniformLocation location,
Int32Array v) |
void |
uniform2f(WebGLUniformLocation location,
float x,
float y) |
void |
uniform2fv(WebGLUniformLocation location,
Float32Array v) |
void |
uniform2i(WebGLUniformLocation location,
int x,
int y) |
void |
uniform2iv(WebGLUniformLocation location,
Int32Array v) |
void |
uniform3f(WebGLUniformLocation location,
float x,
float y,
float z) |
void |
uniform3fv(WebGLUniformLocation location,
Float32Array v) |
void |
uniform3i(WebGLUniformLocation location,
int x,
int y,
int z) |
void |
uniform3iv(WebGLUniformLocation location,
Int32Array v) |
void |
uniform4f(WebGLUniformLocation location,
float x,
float y,
float z,
float w) |
void |
uniform4fv(WebGLUniformLocation location,
Float32Array v) |
void |
uniform4i(WebGLUniformLocation location,
int x,
int y,
int z,
int w) |
void |
uniform4iv(WebGLUniformLocation location,
Int32Array v) |
void |
uniformMatrix2fv(WebGLUniformLocation location,
boolean transpose,
Float32Array array) |
void |
uniformMatrix3fv(WebGLUniformLocation location,
boolean transpose,
Float32Array array) |
void |
uniformMatrix4fv(WebGLUniformLocation location,
boolean transpose,
Float32Array array) |
void |
useProgram(WebGLProgram program) |
void |
validateProgram(WebGLProgram program) |
void |
vertexAttrib1f(int indx,
float x) |
void |
vertexAttrib1fv(int indx,
Float32Array values) |
void |
vertexAttrib2f(int indx,
float x,
float y) |
void |
vertexAttrib2fv(int indx,
Float32Array values) |
void |
vertexAttrib3f(int indx,
float x,
float y,
float z) |
void |
vertexAttrib3fv(int indx,
Float32Array values) |
void |
vertexAttrib4f(int indx,
float x,
float y,
float z,
float w) |
void |
vertexAttrib4fv(int indx,
Float32Array values) |
void |
vertexAttribPointer(int indx,
int size,
int type,
boolean normalized,
int stride,
double offset) |
void |
viewport(int x,
int y,
int width,
int height) |
getCanvas
static final int ACTIVE_ATTRIBUTES
static final int ACTIVE_TEXTURE
static final int ACTIVE_UNIFORMS
static final int ALIASED_LINE_WIDTH_RANGE
static final int ALIASED_POINT_SIZE_RANGE
static final int ALPHA
static final int ALPHA_BITS
static final int ALWAYS
static final int ARRAY_BUFFER
static final int ARRAY_BUFFER_BINDING
static final int ATTACHED_SHADERS
static final int BACK
static final int BLEND
static final int BLEND_COLOR
static final int BLEND_DST_ALPHA
static final int BLEND_DST_RGB
static final int BLEND_EQUATION
static final int BLEND_EQUATION_ALPHA
static final int BLEND_EQUATION_RGB
static final int BLEND_SRC_ALPHA
static final int BLEND_SRC_RGB
static final int BLUE_BITS
static final int BOOL
static final int BOOL_VEC2
static final int BOOL_VEC3
static final int BOOL_VEC4
static final int BROWSER_DEFAULT_WEBGL
static final int BUFFER_SIZE
static final int BUFFER_USAGE
static final int BYTE
static final int CCW
static final int CLAMP_TO_EDGE
static final int COLOR_ATTACHMENT0
static final int COLOR_BUFFER_BIT
static final int COLOR_CLEAR_VALUE
static final int COLOR_WRITEMASK
static final int COMPILE_STATUS
static final int COMPRESSED_TEXTURE_FORMATS
static final int CONSTANT_ALPHA
static final int CONSTANT_COLOR
static final int CONTEXT_LOST_WEBGL
static final int CULL_FACE
static final int CULL_FACE_MODE
static final int CURRENT_PROGRAM
static final int CURRENT_VERTEX_ATTRIB
static final int CW
static final int DECR
static final int DECR_WRAP
static final int DELETE_STATUS
static final int DEPTH_ATTACHMENT
static final int DEPTH_BITS
static final int DEPTH_BUFFER_BIT
static final int DEPTH_CLEAR_VALUE
static final int DEPTH_COMPONENT
static final int DEPTH_COMPONENT16
static final int DEPTH_FUNC
static final int DEPTH_RANGE
static final int DEPTH_STENCIL
static final int DEPTH_STENCIL_ATTACHMENT
static final int DEPTH_TEST
static final int DEPTH_WRITEMASK
static final int DITHER
static final int DONT_CARE
static final int DST_ALPHA
static final int DST_COLOR
static final int DYNAMIC_DRAW
static final int ELEMENT_ARRAY_BUFFER
static final int ELEMENT_ARRAY_BUFFER_BINDING
static final int EQUAL
static final int FASTEST
static final int FLOAT
static final int FLOAT_MAT2
static final int FLOAT_MAT3
static final int FLOAT_MAT4
static final int FLOAT_VEC2
static final int FLOAT_VEC3
static final int FLOAT_VEC4
static final int FRAGMENT_SHADER
static final int FRAMEBUFFER
static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
static final int FRAMEBUFFER_BINDING
static final int FRAMEBUFFER_COMPLETE
static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT
static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS
static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
static final int FRAMEBUFFER_UNSUPPORTED
static final int FRONT
static final int FRONT_AND_BACK
static final int FRONT_FACE
static final int FUNC_ADD
static final int FUNC_REVERSE_SUBTRACT
static final int FUNC_SUBTRACT
static final int GENERATE_MIPMAP_HINT
static final int GEQUAL
static final int GREATER
static final int GREEN_BITS
static final int HIGH_FLOAT
static final int HIGH_INT
static final int INCR
static final int INCR_WRAP
static final int INT
static final int INT_VEC2
static final int INT_VEC3
static final int INT_VEC4
static final int INVALID_ENUM
static final int INVALID_FRAMEBUFFER_OPERATION
static final int INVALID_OPERATION
static final int INVALID_VALUE
static final int INVERT
static final int KEEP
static final int LEQUAL
static final int LESS
static final int LINEAR
static final int LINEAR_MIPMAP_LINEAR
static final int LINEAR_MIPMAP_NEAREST
static final int LINES
static final int LINE_LOOP
static final int LINE_STRIP
static final int LINE_WIDTH
static final int LINK_STATUS
static final int LOW_FLOAT
static final int LOW_INT
static final int LUMINANCE
static final int LUMINANCE_ALPHA
static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS
static final int MAX_CUBE_MAP_TEXTURE_SIZE
static final int MAX_FRAGMENT_UNIFORM_VECTORS
static final int MAX_RENDERBUFFER_SIZE
static final int MAX_TEXTURE_IMAGE_UNITS
static final int MAX_TEXTURE_SIZE
static final int MAX_VARYING_VECTORS
static final int MAX_VERTEX_ATTRIBS
static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS
static final int MAX_VERTEX_UNIFORM_VECTORS
static final int MAX_VIEWPORT_DIMS
static final int MEDIUM_FLOAT
static final int MEDIUM_INT
static final int MIRRORED_REPEAT
static final int NEAREST
static final int NEAREST_MIPMAP_LINEAR
static final int NEAREST_MIPMAP_NEAREST
static final int NEVER
static final int NICEST
static final int NONE
static final int NOTEQUAL
static final int NO_ERROR
static final int ONE
static final int ONE_MINUS_CONSTANT_ALPHA
static final int ONE_MINUS_CONSTANT_COLOR
static final int ONE_MINUS_DST_ALPHA
static final int ONE_MINUS_DST_COLOR
static final int ONE_MINUS_SRC_ALPHA
static final int ONE_MINUS_SRC_COLOR
static final int OUT_OF_MEMORY
static final int PACK_ALIGNMENT
static final int POINTS
static final int POLYGON_OFFSET_FACTOR
static final int POLYGON_OFFSET_FILL
static final int POLYGON_OFFSET_UNITS
static final int RED_BITS
static final int RENDERBUFFER
static final int RENDERBUFFER_ALPHA_SIZE
static final int RENDERBUFFER_BINDING
static final int RENDERBUFFER_BLUE_SIZE
static final int RENDERBUFFER_DEPTH_SIZE
static final int RENDERBUFFER_GREEN_SIZE
static final int RENDERBUFFER_HEIGHT
static final int RENDERBUFFER_INTERNAL_FORMAT
static final int RENDERBUFFER_RED_SIZE
static final int RENDERBUFFER_STENCIL_SIZE
static final int RENDERBUFFER_WIDTH
static final int RENDERER
static final int REPEAT
static final int REPLACE
static final int RGB
static final int RGB565
static final int RGB5_A1
static final int RGBA
static final int RGBA4
static final int SAMPLER_2D
static final int SAMPLER_CUBE
static final int SAMPLES
static final int SAMPLE_ALPHA_TO_COVERAGE
static final int SAMPLE_BUFFERS
static final int SAMPLE_COVERAGE
static final int SAMPLE_COVERAGE_INVERT
static final int SAMPLE_COVERAGE_VALUE
static final int SCISSOR_BOX
static final int SCISSOR_TEST
static final int SHADER_TYPE
static final int SHADING_LANGUAGE_VERSION
static final int SHORT
static final int SRC_ALPHA
static final int SRC_ALPHA_SATURATE
static final int SRC_COLOR
static final int STATIC_DRAW
static final int STENCIL_ATTACHMENT
static final int STENCIL_BACK_FAIL
static final int STENCIL_BACK_FUNC
static final int STENCIL_BACK_PASS_DEPTH_FAIL
static final int STENCIL_BACK_PASS_DEPTH_PASS
static final int STENCIL_BACK_REF
static final int STENCIL_BACK_VALUE_MASK
static final int STENCIL_BACK_WRITEMASK
static final int STENCIL_BITS
static final int STENCIL_BUFFER_BIT
static final int STENCIL_CLEAR_VALUE
static final int STENCIL_FAIL
static final int STENCIL_FUNC
static final int STENCIL_INDEX
static final int STENCIL_INDEX8
static final int STENCIL_PASS_DEPTH_FAIL
static final int STENCIL_PASS_DEPTH_PASS
static final int STENCIL_REF
static final int STENCIL_TEST
static final int STENCIL_VALUE_MASK
static final int STENCIL_WRITEMASK
static final int STREAM_DRAW
static final int SUBPIXEL_BITS
static final int TEXTURE
static final int TEXTURE0
static final int TEXTURE1
static final int TEXTURE10
static final int TEXTURE11
static final int TEXTURE12
static final int TEXTURE13
static final int TEXTURE14
static final int TEXTURE15
static final int TEXTURE16
static final int TEXTURE17
static final int TEXTURE18
static final int TEXTURE19
static final int TEXTURE2
static final int TEXTURE20
static final int TEXTURE21
static final int TEXTURE22
static final int TEXTURE23
static final int TEXTURE24
static final int TEXTURE25
static final int TEXTURE26
static final int TEXTURE27
static final int TEXTURE28
static final int TEXTURE29
static final int TEXTURE3
static final int TEXTURE30
static final int TEXTURE31
static final int TEXTURE4
static final int TEXTURE5
static final int TEXTURE6
static final int TEXTURE7
static final int TEXTURE8
static final int TEXTURE9
static final int TEXTURE_2D
static final int TEXTURE_BINDING_2D
static final int TEXTURE_BINDING_CUBE_MAP
static final int TEXTURE_CUBE_MAP
static final int TEXTURE_CUBE_MAP_NEGATIVE_X
static final int TEXTURE_CUBE_MAP_NEGATIVE_Y
static final int TEXTURE_CUBE_MAP_NEGATIVE_Z
static final int TEXTURE_CUBE_MAP_POSITIVE_X
static final int TEXTURE_CUBE_MAP_POSITIVE_Y
static final int TEXTURE_CUBE_MAP_POSITIVE_Z
static final int TEXTURE_MAG_FILTER
static final int TEXTURE_MIN_FILTER
static final int TEXTURE_WRAP_S
static final int TEXTURE_WRAP_T
static final int TRIANGLES
static final int TRIANGLE_FAN
static final int TRIANGLE_STRIP
static final int UNPACK_ALIGNMENT
static final int UNPACK_COLORSPACE_CONVERSION_WEBGL
static final int UNPACK_FLIP_Y_WEBGL
static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL
static final int UNSIGNED_BYTE
static final int UNSIGNED_INT
static final int UNSIGNED_SHORT
static final int UNSIGNED_SHORT_4_4_4_4
static final int UNSIGNED_SHORT_5_5_5_1
static final int UNSIGNED_SHORT_5_6_5
static final int VALIDATE_STATUS
static final int VENDOR
static final int VERSION
static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
static final int VERTEX_ATTRIB_ARRAY_ENABLED
static final int VERTEX_ATTRIB_ARRAY_NORMALIZED
static final int VERTEX_ATTRIB_ARRAY_POINTER
static final int VERTEX_ATTRIB_ARRAY_SIZE
static final int VERTEX_ATTRIB_ARRAY_STRIDE
static final int VERTEX_ATTRIB_ARRAY_TYPE
static final int VERTEX_SHADER
static final int VIEWPORT
static final int ZERO
int getDrawingBufferHeight()
int getDrawingBufferWidth()
void 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 framebuffer)
void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer)
void bindTexture(int target, WebGLTexture texture)
void blendColor(float red, float green, float blue, float 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, ArrayBuffer data, int usage)
void bufferData(int target, ArrayBufferView data, int usage)
void bufferData(int target, double size, int usage)
void bufferSubData(int target, double offset, ArrayBuffer data)
void bufferSubData(int target, double offset, ArrayBufferView data)
int checkFramebufferStatus(int target)
void clear(int mask)
void clearColor(float red, float green, float blue, float alpha)
void clearDepth(float depth)
void clearStencil(int s)
void colorMask(boolean red, boolean green, boolean blue, boolean alpha)
void compileShader(WebGLShader shader)
void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ArrayBufferView data)
void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data)
void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
WebGLBuffer createBuffer()
WebGLFramebuffer createFramebuffer()
WebGLProgram createProgram()
WebGLRenderbuffer createRenderbuffer()
WebGLShader createShader(int type)
WebGLTexture createTexture()
void cullFace(int mode)
void deleteBuffer(WebGLBuffer buffer)
void deleteFramebuffer(WebGLFramebuffer framebuffer)
void deleteProgram(WebGLProgram program)
void deleteRenderbuffer(WebGLRenderbuffer renderbuffer)
void deleteShader(WebGLShader shader)
void deleteTexture(WebGLTexture texture)
void depthFunc(int func)
void depthMask(boolean flag)
void depthRange(float zNear, float zFar)
void detachShader(WebGLProgram program, WebGLShader shader)
void disable(int cap)
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)
void finish()
void flush()
void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, WebGLRenderbuffer renderbuffer)
void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture texture, int level)
void frontFace(int mode)
void generateMipmap(int target)
WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index)
WebGLActiveInfo getActiveUniform(WebGLProgram program, int index)
Indexable getAttachedShaders(WebGLProgram program)
int getAttribLocation(WebGLProgram program, String name)
Object getBufferParameter(int target, int pname)
WebGLContextAttributes getContextAttributes()
int getError()
Object getFramebufferAttachmentParameter(int target, int attachment, int pname)
Object getParameter(int pname)
String getProgramInfoLog(WebGLProgram program)
Object getProgramParameter(WebGLProgram program, int pname)
Object getRenderbufferParameter(int target, int pname)
String getShaderInfoLog(WebGLShader shader)
Object getShaderParameter(WebGLShader shader, int pname)
WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype)
String getShaderSource(WebGLShader shader)
Object getTexParameter(int target, int pname)
Object getUniform(WebGLProgram program, WebGLUniformLocation location)
WebGLUniformLocation getUniformLocation(WebGLProgram program, String name)
Object getVertexAttrib(int index, int pname)
double getVertexAttribOffset(int index, int pname)
void hint(int target, int mode)
boolean isBuffer(WebGLBuffer buffer)
boolean isContextLost()
boolean isEnabled(int cap)
boolean isFramebuffer(WebGLFramebuffer framebuffer)
boolean isProgram(WebGLProgram program)
boolean isRenderbuffer(WebGLRenderbuffer renderbuffer)
boolean isShader(WebGLShader shader)
boolean isTexture(WebGLTexture texture)
void lineWidth(float width)
void linkProgram(WebGLProgram program)
void pixelStorei(int pname, int param)
void polygonOffset(float factor, float units)
void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels)
void releaseShaderCompiler()
void renderbufferStorage(int target, int internalformat, int width, int height)
void sampleCoverage(float value, boolean invert)
void scissor(int x, int y, int width, int height)
void shaderSource(WebGLShader shader, String string)
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 width, int height, int border, int format, int type, ArrayBufferView pixels)
void texImage2D(int target, int level, int internalformat, int format, int type, ImageData pixels)
void texImage2D(int target, int level, int internalformat, int format, int type, ImageElement image)
void texImage2D(int target, int level, int internalformat, int format, int type, CanvasElement canvas)
void texImage2D(int target, int level, int internalformat, int format, int type, VideoElement video)
void texParameterf(int target, int pname, float param)
void texParameteri(int target, int pname, int param)
void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, ArrayBufferView pixels)
void texSubImage2D(int target, int level, int xoffset, int yoffset, int format, int type, ImageData pixels)
void texSubImage2D(int target, int level, int xoffset, int yoffset, int format, int type, ImageElement image)
void texSubImage2D(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas)
void texSubImage2D(int target, int level, int xoffset, int yoffset, int format, int type, VideoElement video)
void uniform1f(WebGLUniformLocation location, float x)
void uniform1fv(WebGLUniformLocation location, Float32Array v)
void uniform1i(WebGLUniformLocation location, int x)
void uniform1iv(WebGLUniformLocation location, Int32Array v)
void uniform2f(WebGLUniformLocation location, float x, float y)
void uniform2fv(WebGLUniformLocation location, Float32Array v)
void uniform2i(WebGLUniformLocation location, int x, int y)
void uniform2iv(WebGLUniformLocation location, Int32Array v)
void uniform3f(WebGLUniformLocation location, float x, float y, float z)
void uniform3fv(WebGLUniformLocation location, Float32Array v)
void uniform3i(WebGLUniformLocation location, int x, int y, int z)
void uniform3iv(WebGLUniformLocation location, Int32Array v)
void uniform4f(WebGLUniformLocation location, float x, float y, float z, float w)
void uniform4fv(WebGLUniformLocation location, Float32Array v)
void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w)
void uniform4iv(WebGLUniformLocation location, Int32Array v)
void uniformMatrix2fv(WebGLUniformLocation location, boolean transpose, Float32Array array)
void uniformMatrix3fv(WebGLUniformLocation location, boolean transpose, Float32Array array)
void uniformMatrix4fv(WebGLUniformLocation location, boolean transpose, Float32Array array)
void useProgram(WebGLProgram program)
void validateProgram(WebGLProgram program)
void vertexAttrib1f(int indx, float x)
void vertexAttrib1fv(int indx, Float32Array values)
void vertexAttrib2f(int indx, float x, float y)
void vertexAttrib2fv(int indx, Float32Array values)
void vertexAttrib3f(int indx, float x, float y, float z)
void vertexAttrib3fv(int indx, Float32Array values)
void vertexAttrib4f(int indx, float x, float y, float z, float w)
void vertexAttrib4fv(int indx, Float32Array values)
void vertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, double offset)
void viewport(int x, int y, int width, int height)
Copyright © 2016. All rights reserved.