Clear Up
SharpKit Reference

WebGLRenderingContext Class

Namespace: SharpKit.Html

Base Types

System.Object

Constructors

Name Description
WebGLRenderingContext()

Fields

Name Description
ACTIVE_ATTRIBUTE_MAX_LENGTH
ACTIVE_ATTRIBUTES
ACTIVE_TEXTURE
ACTIVE_UNIFORM_MAX_LENGTH
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
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
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
EXTENSIONS
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
HIGH_FLOAT
HIGH_INT
IMPLEMENTATION_COLOR_READ_FORMAT
IMPLEMENTATION_COLOR_READ_TYPE
INCR
INCR_WRAP
INFO_LOG_LENGTH
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
NUM_COMPRESSED_TEXTURE_FORMATS
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
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
RGB
RGB5_A1
RGB565
RGBA
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_COMPILER
SHADER_SOURCE_LENGTH
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_INDEX
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
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

Methods

Name Description
activeTexture(int)
attachShader(WebGLProgram, WebGLShader)
bindAttribLocation(WebGLProgram, int, string)
bindBuffer(int, WebGLBuffer)
bindFramebuffer(int, WebGLFramebuffer)
bindRenderbuffer(int, WebGLRenderbuffer)
bindTexture(int, WebGLTexture)
blendColor(Single, Single, Single, Single)
blendEquation(int)
blendEquationSeparate(int, int)
blendFunc(int, int)
blendFuncSeparate(int, int, int, int)
bufferData(int, int, int)
bufferData(int, WebGLArray, int)
bufferData(int, WebGLArrayBuffer, int)
bufferSubData(int, int, WebGLArray)
bufferSubData(int, int, WebGLArrayBuffer)
checkFramebufferStatus(int)
clear(int)
clearColor(Single, Single, Single, Single)
clearDepth(Single)
clearStencil(int)
colorMask(bool, bool, bool, bool)
compileShader(WebGLShader)
copyTexImage2D(int, int, int, int, int, int, int, int)
copyTexSubImage2D(int, int, int, int, int, int, int, int)
createBuffer()
createFramebuffer()
createProgram()
createRenderbuffer()
createShader(int)
createTexture()
cullFace(int)
deleteBuffer(WebGLBuffer)
deleteFramebuffer(WebGLFramebuffer)
deleteProgram(WebGLProgram)
deleteRenderbuffer(WebGLRenderbuffer)
deleteShader(WebGLShader)
deleteTexture(WebGLTexture)
depthFunc(int)
depthMask(bool)
depthRange(Single, Single)
detachShader(WebGLProgram, WebGLShader)
disable(int)
disableVertexAttribArray(int)
drawArrays(int, int, int)
drawElements(int, int, int, int)
enable(int)
enableVertexAttribArray(int)
finish()
flush()
framebufferRenderbuffer(int, int, int, WebGLRenderbuffer)
framebufferTexture2D(int, int, int, WebGLTexture, int)
frontFace(int)
generateMipmap(int)
getActiveAttrib(WebGLProgram, int)
getActiveUniform(WebGLProgram, int)
getAttachedShaders(WebGLProgram)
getAttribLocation(WebGLProgram, string)
getBufferParameter(int, int)
getFramebufferAttachmentParameter(int, int, int)
getParameter(int)
getProgramInfoLog(WebGLProgram)
getProgramParameter(WebGLProgram, int)
getRenderbufferParameter(int, int)
getShaderInfoLog(WebGLShader)
getShaderParameter(WebGLShader, int)
getShaderSource(WebGLShader)
getString(int)
getTexParameter(int, int)
getUniform(WebGLProgram, WebGLUniformLocation)
getUniformLocation(WebGLProgram, string)
getVertexAttrib(int, int)
getVertexAttribOffset(int, int)
hint(int, int)
isBuffer(WebGLBuffer)
isContextLost()
isEnabled(int)
isFramebuffer(WebGLFramebuffer)
isProgram(WebGLProgram)
isRenderbuffer(WebGLRenderbuffer)
isShader(WebGLShader)
isTexture(WebGLTexture)
lineWidth(Single)
linkProgram(WebGLProgram)
pixelStorei(int, int)
polygonOffset(Single, Single)
readPixels(int, int, int, int, int, int)
renderbufferStorage(int, int, int, int)
resetContext()
sampleCoverage(Single, bool)
scissor(int, int, int, int)
shaderSource(WebGLShader, string)
stencilFunc(int, int, int)
stencilFuncSeparate(int, int, int, int)
stencilMask(int)
stencilMaskSeparate(int, int)
stencilOp(int, int, int)
stencilOpSeparate(int, int, int, int)
texImage2D(int, int, int, int, int, int, int, int, WebGLArray)
texImage2D(int, int, ImageData)
texImage2D(int, int, ImageData, bool)
texImage2D(int, int, ImageData, bool, bool)
texImage2D(int, int, HtmlImageElement)
texImage2D(int, int, HtmlImageElement, bool)
texImage2D(int, int, HtmlImageElement, bool, bool)
texImage2D(int, int, HtmlCanvasElement)
texImage2D(int, int, HtmlCanvasElement, bool)
texImage2D(int, int, HtmlCanvasElement, bool, bool)
texImage2D(int, int, HtmlVideoElement)
texImage2D(int, int, HtmlVideoElement, bool)
texImage2D(int, int, HtmlVideoElement, bool, bool)
texParameterf(int, int, Single)
texParameteri(int, int, int)
texSubImage2D(int, int, int, int, HtmlCanvasElement, bool)
texSubImage2D(int, int, int, int, HtmlCanvasElement, bool, bool)
texSubImage2D(int, int, int, int, HtmlVideoElement)
texSubImage2D(int, int, int, int, HtmlVideoElement, bool)
texSubImage2D(int, int, int, int, HtmlVideoElement, bool, bool)
texSubImage2D(int, int, int, int, int, int, int, int, WebGLArray)
texSubImage2D(int, int, int, int, ImageData)
texSubImage2D(int, int, int, int, ImageData, bool)
texSubImage2D(int, int, int, int, ImageData, bool, bool)
texSubImage2D(int, int, int, int, HtmlImageElement)
texSubImage2D(int, int, int, int, HtmlImageElement, bool)
texSubImage2D(int, int, int, int, HtmlImageElement, bool, bool)
texSubImage2D(int, int, int, int, HtmlCanvasElement)
uniform1f(WebGLUniformLocation, Single)
uniform1fv(WebGLUniformLocation, WebGLFloatArray)
uniform1fv(WebGLUniformLocation, Single[])
uniform1i(WebGLUniformLocation, int)
uniform1iv(WebGLUniformLocation, WebGLIntArray)
uniform1iv(WebGLUniformLocation, Int32[])
uniform2f(WebGLUniformLocation, Single, Single)
uniform2fv(WebGLUniformLocation, WebGLFloatArray)
uniform2fv(WebGLUniformLocation, Single[])
uniform2i(WebGLUniformLocation, int, int)
uniform2iv(WebGLUniformLocation, WebGLIntArray)
uniform2iv(WebGLUniformLocation, Int32[])
uniform3f(WebGLUniformLocation, Single, Single, Single)
uniform3fv(WebGLUniformLocation, WebGLFloatArray)
uniform3fv(WebGLUniformLocation, Single[])
uniform3i(WebGLUniformLocation, int, int, int)
uniform3iv(WebGLUniformLocation, WebGLIntArray)
uniform3iv(WebGLUniformLocation, Int32[])
uniform4f(WebGLUniformLocation, Single, Single, Single, Single)
uniform4fv(WebGLUniformLocation, WebGLFloatArray)
uniform4fv(WebGLUniformLocation, Single[])
uniform4i(WebGLUniformLocation, int, int, int, int)
uniform4iv(WebGLUniformLocation, WebGLIntArray)
uniform4iv(WebGLUniformLocation, Int32[])
uniformMatrix2fv(WebGLUniformLocation, bool, WebGLFloatArray)
uniformMatrix2fv(WebGLUniformLocation, bool, Single[])
uniformMatrix3fv(WebGLUniformLocation, bool, WebGLFloatArray)
uniformMatrix3fv(WebGLUniformLocation, bool, Single[])
uniformMatrix4fv(WebGLUniformLocation, bool, WebGLFloatArray)
uniformMatrix4fv(WebGLUniformLocation, bool, Single[])
useProgram(WebGLProgram)
validateProgram(WebGLProgram)
vertexAttrib1f(int, Single)
vertexAttrib1fv(int, WebGLFloatArray)
vertexAttrib1fv(int, Single[])
vertexAttrib2f(int, Single, Single)
vertexAttrib2fv(int, WebGLFloatArray)
vertexAttrib2fv(int, Single[])
vertexAttrib3f(int, Single, Single, Single)
vertexAttrib3fv(int, WebGLFloatArray)
vertexAttrib3fv(int, Single[])
vertexAttrib4f(int, Single, Single, Single, Single)
vertexAttrib4fv(int, WebGLFloatArray)
vertexAttrib4fv(int, Single[])
vertexAttribPointer(int, int, int, bool, int, int)
viewport(int, int, int, int)

Properties

Name Description
canvas
contextAttributes
error
© Copyright 2005-2011 SharpKit. All rights reserved.