- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- RenderingContext
- Implements
- Annotations
- @DomName('WebGLRenderingContext')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @Experimental()
- @Unstable()
Constants
- ACTIVE_ATTRIBUTES → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
0x8B89 - ACTIVE_TEXTURE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
0x84E0 - ACTIVE_UNIFORMS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS')
0x8B86 - ALIASED_LINE_WIDTH_RANGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE')
0x846E - ALIASED_POINT_SIZE_RANGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE')
0x846D - ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ALPHA')
0x1906 - ALPHA_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ALPHA_BITS')
0x0D55 - ALWAYS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ALWAYS')
0x0207 - ARRAY_BUFFER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ARRAY_BUFFER')
0x8892 - ARRAY_BUFFER_BINDING → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING')
0x8894 - ATTACHED_SHADERS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ATTACHED_SHADERS')
0x8B85 - BACK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BACK')
0x0405 - BLEND → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND')
0x0BE2 - BLEND_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_COLOR')
0x8005 - BLEND_DST_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_DST_ALPHA')
0x80CA - BLEND_DST_RGB → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_DST_RGB')
0x80C8 - BLEND_EQUATION → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_EQUATION')
0x8009 - BLEND_EQUATION_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA')
0x883D - BLEND_EQUATION_RGB → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB')
0x8009 - BLEND_SRC_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA')
0x80CB - BLEND_SRC_RGB → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLEND_SRC_RGB')
0x80C9 - BLUE_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BLUE_BITS')
0x0D54 - BOOL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BOOL')
0x8B56 - BOOL_VEC2 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BOOL_VEC2')
0x8B57 - BOOL_VEC3 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BOOL_VEC3')
0x8B58 - BOOL_VEC4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BOOL_VEC4')
0x8B59 - BROWSER_DEFAULT_WEBGL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL')
0x9244 - BUFFER_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BUFFER_SIZE')
0x8764 - BUFFER_USAGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BUFFER_USAGE')
0x8765 - BYTE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.BYTE')
0x1400 - CCW → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CCW')
0x0901 - CLAMP_TO_EDGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CLAMP_TO_EDGE')
0x812F - COLOR_ATTACHMENT0 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0')
0x8CE0 - COLOR_BUFFER_BIT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT')
0x00004000 - COLOR_CLEAR_VALUE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE')
0x0C22 - COLOR_WRITEMASK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.COLOR_WRITEMASK')
0x0C23 - COMPILE_STATUS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.COMPILE_STATUS')
0x8B81 - COMPRESSED_TEXTURE_FORMATS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS')
0x86A3 - CONSTANT_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CONSTANT_ALPHA')
0x8003 - CONSTANT_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CONSTANT_COLOR')
0x8001 - CONTEXT_LOST_WEBGL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL')
0x9242 - CULL_FACE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CULL_FACE')
0x0B44 - CULL_FACE_MODE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CULL_FACE_MODE')
0x0B45 - CURRENT_PROGRAM → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CURRENT_PROGRAM')
0x8B8D - CURRENT_VERTEX_ATTRIB → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB')
0x8626 - CW → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.CW')
0x0900 - DECR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DECR')
0x1E03 - DECR_WRAP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DECR_WRAP')
0x8508 - DELETE_STATUS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DELETE_STATUS')
0x8B80 - DEPTH_ATTACHMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT')
0x8D00 - DEPTH_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_BITS')
0x0D56 - DEPTH_BUFFER_BIT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT')
0x00000100 - DEPTH_CLEAR_VALUE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE')
0x0B73 - DEPTH_COMPONENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_COMPONENT')
0x1902 - DEPTH_COMPONENT16 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_COMPONENT16')
0x81A5 - DEPTH_FUNC → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_FUNC')
0x0B74 - DEPTH_RANGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_RANGE')
0x0B70 - DEPTH_STENCIL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_STENCIL')
0x84F9 - DEPTH_STENCIL_ATTACHMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT')
0x821A - DEPTH_TEST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_TEST')
0x0B71 - DEPTH_WRITEMASK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DEPTH_WRITEMASK')
0x0B72 - DITHER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DITHER')
0x0BD0 - DONT_CARE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DONT_CARE')
0x1100 - DST_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DST_ALPHA')
0x0304 - DST_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DST_COLOR')
0x0306 - DYNAMIC_DRAW → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.DYNAMIC_DRAW')
0x88E8 - ELEMENT_ARRAY_BUFFER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER')
0x8893 - ELEMENT_ARRAY_BUFFER_BINDING → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING')
0x8895 - EQUAL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.EQUAL')
0x0202 - FASTEST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FASTEST')
0x1101 - FLOAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT')
0x1406 - FLOAT_MAT2 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT_MAT2')
0x8B5A - FLOAT_MAT3 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT_MAT3')
0x8B5B - FLOAT_MAT4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT_MAT4')
0x8B5C - FLOAT_VEC2 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT_VEC2')
0x8B50 - FLOAT_VEC3 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT_VEC3')
0x8B51 - FLOAT_VEC4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FLOAT_VEC4')
0x8B52 - FRAGMENT_SHADER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAGMENT_SHADER')
0x8B30 - FRAMEBUFFER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER')
0x8D40 - FRAMEBUFFER_ATTACHMENT_OBJECT_NAME → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
0x8CD1 - FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
0x8CD0 - FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
0x8CD3 - FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
0x8CD2 - FRAMEBUFFER_BINDING → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING')
0x8CA6 - FRAMEBUFFER_COMPLETE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE')
0x8CD5 - FRAMEBUFFER_INCOMPLETE_ATTACHMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
0x8CD6 - FRAMEBUFFER_INCOMPLETE_DIMENSIONS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
0x8CD9 - FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
0x8CD7 - FRAMEBUFFER_UNSUPPORTED → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED')
0x8CDD - FRONT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRONT')
0x0404 - FRONT_AND_BACK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRONT_AND_BACK')
0x0408 - FRONT_FACE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FRONT_FACE')
0x0B46 - FUNC_ADD → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FUNC_ADD')
0x8006 - FUNC_REVERSE_SUBTRACT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT')
0x800B - FUNC_SUBTRACT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.FUNC_SUBTRACT')
0x800A - GENERATE_MIPMAP_HINT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT')
0x8192 - GEQUAL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.GEQUAL')
0x0206 - GREATER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.GREATER')
0x0204 - GREEN_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.GREEN_BITS')
0x0D53 - HIGH_FLOAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.HIGH_FLOAT')
0x8DF2 - HIGH_INT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.HIGH_INT')
0x8DF5 - IMPLEMENTATION_COLOR_READ_FORMAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT'), @Experimental()
0x8B9B - IMPLEMENTATION_COLOR_READ_TYPE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE'), @Experimental()
0x8B9A - INCR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INCR')
0x1E02 - INCR_WRAP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INCR_WRAP')
0x8507 - INT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INT')
0x1404 - INT_VEC2 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INT_VEC2')
0x8B53 - INT_VEC3 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INT_VEC3')
0x8B54 - INT_VEC4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INT_VEC4')
0x8B55 - INVALID_ENUM → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INVALID_ENUM')
0x0500 - INVALID_FRAMEBUFFER_OPERATION → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION')
0x0506 - INVALID_OPERATION → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INVALID_OPERATION')
0x0502 - INVALID_VALUE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INVALID_VALUE')
0x0501 - INVERT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.INVERT')
0x150A - KEEP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.KEEP')
0x1E00 - LEQUAL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LEQUAL')
0x0203 - LESS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LESS')
0x0201 - LINE_LOOP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINE_LOOP')
0x0002 - LINE_STRIP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINE_STRIP')
0x0003 - LINE_WIDTH → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINE_WIDTH')
0x0B21 - LINEAR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINEAR')
0x2601 - LINEAR_MIPMAP_LINEAR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR')
0x2703 - LINEAR_MIPMAP_NEAREST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST')
0x2701 - LINES → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINES')
0x0001 - LINK_STATUS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LINK_STATUS')
0x8B82 - LOW_FLOAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LOW_FLOAT')
0x8DF0 - LOW_INT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LOW_INT')
0x8DF3 - LUMINANCE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LUMINANCE')
0x1909 - LUMINANCE_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.LUMINANCE_ALPHA')
0x190A - MAX_COMBINED_TEXTURE_IMAGE_UNITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
0x8B4D - MAX_CUBE_MAP_TEXTURE_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE')
0x851C - MAX_FRAGMENT_UNIFORM_VECTORS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS')
0x8DFD - MAX_RENDERBUFFER_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE')
0x84E8 - MAX_TEXTURE_IMAGE_UNITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS')
0x8872 - MAX_TEXTURE_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE')
0x0D33 - MAX_VARYING_VECTORS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS')
0x8DFC - MAX_VERTEX_ATTRIBS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS')
0x8869 - MAX_VERTEX_TEXTURE_IMAGE_UNITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
0x8B4C - MAX_VERTEX_UNIFORM_VECTORS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS')
0x8DFB - MAX_VIEWPORT_DIMS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS')
0x0D3A - MEDIUM_FLOAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MEDIUM_FLOAT')
0x8DF1 - MEDIUM_INT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MEDIUM_INT')
0x8DF4 - MIRRORED_REPEAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.MIRRORED_REPEAT')
0x8370 - NEAREST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NEAREST')
0x2600 - NEAREST_MIPMAP_LINEAR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR')
0x2702 - NEAREST_MIPMAP_NEAREST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST')
0x2700 - NEVER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NEVER')
0x0200 - NICEST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NICEST')
0x1102 - NO_ERROR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NO_ERROR')
0 - NONE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NONE')
0 - NOTEQUAL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.NOTEQUAL')
0x0205 - ONE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE')
1 - ONE_MINUS_CONSTANT_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA')
0x8004 - ONE_MINUS_CONSTANT_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR')
0x8002 - ONE_MINUS_DST_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA')
0x0305 - ONE_MINUS_DST_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR')
0x0307 - ONE_MINUS_SRC_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA')
0x0303 - ONE_MINUS_SRC_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR')
0x0301 - OUT_OF_MEMORY → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.OUT_OF_MEMORY')
0x0505 - PACK_ALIGNMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.PACK_ALIGNMENT')
0x0D05 - POINTS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.POINTS')
0x0000 - POLYGON_OFFSET_FACTOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR')
0x8038 - POLYGON_OFFSET_FILL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL')
0x8037 - POLYGON_OFFSET_UNITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS')
0x2A00 - RED_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RED_BITS')
0x0D52 - RENDERBUFFER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER')
0x8D41 - RENDERBUFFER_ALPHA_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE')
0x8D53 - RENDERBUFFER_BINDING → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING')
0x8CA7 - RENDERBUFFER_BLUE_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE')
0x8D52 - RENDERBUFFER_DEPTH_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE')
0x8D54 - RENDERBUFFER_GREEN_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE')
0x8D51 - RENDERBUFFER_HEIGHT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT')
0x8D43 - RENDERBUFFER_INTERNAL_FORMAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT')
0x8D44 - RENDERBUFFER_RED_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE')
0x8D50 - RENDERBUFFER_STENCIL_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE')
0x8D55 - RENDERBUFFER_WIDTH → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH')
0x8D42 - RENDERER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RENDERER')
0x1F01 - REPEAT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.REPEAT')
0x2901 - REPLACE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.REPLACE')
0x1E01 - RGB → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RGB')
0x1907 - RGB5_A1 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RGB5_A1')
0x8057 - RGB565 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RGB565')
0x8D62 - RGBA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RGBA')
0x1908 - RGBA4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.RGBA4')
0x8056 - SAMPLE_ALPHA_TO_COVERAGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE')
0x809E - SAMPLE_BUFFERS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLE_BUFFERS')
0x80A8 - SAMPLE_COVERAGE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLE_COVERAGE')
0x80A0 - SAMPLE_COVERAGE_INVERT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT')
0x80AB - SAMPLE_COVERAGE_VALUE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE')
0x80AA - SAMPLER_2D → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLER_2D')
0x8B5E - SAMPLER_CUBE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLER_CUBE')
0x8B60 - SAMPLES → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SAMPLES')
0x80A9 - SCISSOR_BOX → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SCISSOR_BOX')
0x0C10 - SCISSOR_TEST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SCISSOR_TEST')
0x0C11 - SHADER_TYPE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SHADER_TYPE')
0x8B4F - SHADING_LANGUAGE_VERSION → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION')
0x8B8C - SHORT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SHORT')
0x1402 - SRC_ALPHA → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SRC_ALPHA')
0x0302 - SRC_ALPHA_SATURATE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE')
0x0308 - SRC_COLOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SRC_COLOR')
0x0300 - STATIC_DRAW → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STATIC_DRAW')
0x88E4 - STENCIL_ATTACHMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT')
0x8D20 - STENCIL_BACK_FAIL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL')
0x8801 - STENCIL_BACK_FUNC → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC')
0x8800 - STENCIL_BACK_PASS_DEPTH_FAIL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL')
0x8802 - STENCIL_BACK_PASS_DEPTH_PASS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS')
0x8803 - STENCIL_BACK_REF → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_REF')
0x8CA3 - STENCIL_BACK_VALUE_MASK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK')
0x8CA4 - STENCIL_BACK_WRITEMASK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK')
0x8CA5 - STENCIL_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BITS')
0x0D57 - STENCIL_BUFFER_BIT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT')
0x00000400 - STENCIL_CLEAR_VALUE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE')
0x0B91 - STENCIL_FAIL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_FAIL')
0x0B94 - STENCIL_FUNC → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_FUNC')
0x0B92 - STENCIL_INDEX → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_INDEX')
0x1901 - STENCIL_INDEX8 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_INDEX8')
0x8D48 - STENCIL_PASS_DEPTH_FAIL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL')
0x0B95 - STENCIL_PASS_DEPTH_PASS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS')
0x0B96 - STENCIL_REF → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_REF')
0x0B97 - STENCIL_TEST → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_TEST')
0x0B90 - STENCIL_VALUE_MASK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK')
0x0B93 - STENCIL_WRITEMASK → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STENCIL_WRITEMASK')
0x0B98 - STREAM_DRAW → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.STREAM_DRAW')
0x88E0 - SUBPIXEL_BITS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.SUBPIXEL_BITS')
0x0D50 - TEXTURE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE')
0x1702 - TEXTURE0 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE0')
0x84C0 - TEXTURE1 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE1')
0x84C1 - TEXTURE2 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE2')
0x84C2 - TEXTURE3 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE3')
0x84C3 - TEXTURE4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE4')
0x84C4 - TEXTURE5 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE5')
0x84C5 - TEXTURE6 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE6')
0x84C6 - TEXTURE7 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE7')
0x84C7 - TEXTURE8 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE8')
0x84C8 - TEXTURE9 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE9')
0x84C9 - TEXTURE10 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE10')
0x84CA - TEXTURE11 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE11')
0x84CB - TEXTURE12 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE12')
0x84CC - TEXTURE13 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE13')
0x84CD - TEXTURE14 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE14')
0x84CE - TEXTURE15 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE15')
0x84CF - TEXTURE16 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE16')
0x84D0 - TEXTURE17 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE17')
0x84D1 - TEXTURE18 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE18')
0x84D2 - TEXTURE19 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE19')
0x84D3 - TEXTURE20 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE20')
0x84D4 - TEXTURE21 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE21')
0x84D5 - TEXTURE22 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE22')
0x84D6 - TEXTURE23 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE23')
0x84D7 - TEXTURE24 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE24')
0x84D8 - TEXTURE25 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE25')
0x84D9 - TEXTURE26 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE26')
0x84DA - TEXTURE27 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE27')
0x84DB - TEXTURE28 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE28')
0x84DC - TEXTURE29 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE29')
0x84DD - TEXTURE30 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE30')
0x84DE - TEXTURE31 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE31')
0x84DF - TEXTURE_2D → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_2D')
0x0DE1 - TEXTURE_BINDING_2D → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D')
0x8069 - TEXTURE_BINDING_CUBE_MAP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP')
0x8514 - TEXTURE_CUBE_MAP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP')
0x8513 - TEXTURE_CUBE_MAP_NEGATIVE_X → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X')
0x8516 - TEXTURE_CUBE_MAP_NEGATIVE_Y → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y')
0x8518 - TEXTURE_CUBE_MAP_NEGATIVE_Z → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z')
0x851A - TEXTURE_CUBE_MAP_POSITIVE_X → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X')
0x8515 - TEXTURE_CUBE_MAP_POSITIVE_Y → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y')
0x8517 - TEXTURE_CUBE_MAP_POSITIVE_Z → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z')
0x8519 - TEXTURE_MAG_FILTER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER')
0x2800 - TEXTURE_MIN_FILTER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER')
0x2801 - TEXTURE_WRAP_S → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_WRAP_S')
0x2802 - TEXTURE_WRAP_T → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TEXTURE_WRAP_T')
0x2803 - TRIANGLE_FAN → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TRIANGLE_FAN')
0x0006 - TRIANGLE_STRIP → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TRIANGLE_STRIP')
0x0005 - TRIANGLES → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.TRIANGLES')
0x0004 - UNPACK_ALIGNMENT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT')
0x0CF5 - UNPACK_COLORSPACE_CONVERSION_WEBGL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL')
0x9243 - UNPACK_FLIP_Y_WEBGL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL')
0x9240 - UNPACK_PREMULTIPLY_ALPHA_WEBGL → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
0x9241 - UNSIGNED_BYTE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNSIGNED_BYTE')
0x1401 - UNSIGNED_INT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNSIGNED_INT')
0x1405 - UNSIGNED_SHORT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNSIGNED_SHORT')
0x1403 - UNSIGNED_SHORT_4_4_4_4 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4')
0x8033 - UNSIGNED_SHORT_5_5_5_1 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1')
0x8034 - UNSIGNED_SHORT_5_6_5 → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5')
0x8363 - VALIDATE_STATUS → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VALIDATE_STATUS')
0x8B83 - VENDOR → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VENDOR')
0x1F00 - VERSION → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERSION')
0x1F02 - VERTEX_ATTRIB_ARRAY_BUFFER_BINDING → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
0x889F - VERTEX_ATTRIB_ARRAY_ENABLED → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED')
0x8622 - VERTEX_ATTRIB_ARRAY_NORMALIZED → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED')
0x886A - VERTEX_ATTRIB_ARRAY_POINTER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER')
0x8645 - VERTEX_ATTRIB_ARRAY_SIZE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE')
0x8623 - VERTEX_ATTRIB_ARRAY_STRIDE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE')
0x8624 - VERTEX_ATTRIB_ARRAY_TYPE → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE')
0x8625 - VERTEX_SHADER → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VERTEX_SHADER')
0x8B31 - VIEWPORT → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.VIEWPORT')
0x0BA2 - ZERO → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.ZERO')
0
Static Properties
- instanceRuntimeType → Type
-
@Deprecated("Internal Use Only"), read-only
- supported → bool
-
Checks if this type is supported on the current platform.
read-only
Constructors
Properties
- canvas → CanvasElement
-
@DocsEditable(), @DomName('WebGLRenderingContext.canvas'), @Experimental(), read-only
- drawingBufferHeight → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.drawingBufferHeight'), read-only
- drawingBufferWidth → int
-
@DocsEditable(), @DomName('WebGLRenderingContext.drawingBufferWidth'), read-only
- hashCode → int
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
activeTexture(
int texture) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.activeTexture')
-
attachShader(
Program program, Shader shader) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.attachShader')
-
bindAttribLocation(
Program program, int index, String name) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.bindAttribLocation')
-
bindBuffer(
int target, Buffer buffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.bindBuffer')
-
bindFramebuffer(
int target, Framebuffer framebuffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.bindFramebuffer')
-
bindRenderbuffer(
int target, Renderbuffer renderbuffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.bindRenderbuffer')
-
bindTexture(
int target, Texture texture) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.bindTexture')
-
blendColor(
num red, num green, num blue, num alpha) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.blendColor')
-
blendEquation(
int mode) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.blendEquation')
-
blendEquationSeparate(
int modeRGB, int modeAlpha) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.blendEquationSeparate')
-
blendFunc(
int sfactor, int dfactor) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.blendFunc')
-
blendFuncSeparate(
int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.blendFuncSeparate')
-
bufferData(
int target, data_OR_size, int usage) → void -
bufferDataTyped(
int target, TypedData data, int usage) → void -
Set the bufferData to
data.@Deprecated("Use bufferData") -
bufferSubData(
int target, int offset, data) → void -
bufferSubDataTyped(
int target, int offset, TypedData data) → void -
Set the bufferSubData to
data.@Deprecated("Use bufferSubData") -
checkFramebufferStatus(
int target) → int -
@DocsEditable(), @DomName('WebGLRenderingContext.checkFramebufferStatus')
-
clear(
int mask) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.clear')
-
clearColor(
num red, num green, num blue, num alpha) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.clearColor')
-
clearDepth(
num depth) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.clearDepth')
-
clearStencil(
int s) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.clearStencil')
-
colorMask(
bool red, bool green, bool blue, bool alpha) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.colorMask')
-
compileShader(
Shader shader) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.compileShader')
-
compressedTexImage2D(
int target, int level, int internalformat, int width, int height, int border, TypedData data) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.compressedTexImage2D')
-
compressedTexSubImage2D(
int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.compressedTexSubImage2D')
-
copyTexImage2D(
int target, int level, int internalformat, int x, int y, int width, int height, int border) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.copyTexImage2D')
-
copyTexSubImage2D(
int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.copyTexSubImage2D')
-
createBuffer(
) → Buffer -
@DocsEditable(), @DomName('WebGLRenderingContext.createBuffer')
-
createFramebuffer(
) → Framebuffer -
@DocsEditable(), @DomName('WebGLRenderingContext.createFramebuffer')
-
createProgram(
) → Program -
@DocsEditable(), @DomName('WebGLRenderingContext.createProgram')
-
createRenderbuffer(
) → Renderbuffer -
@DocsEditable(), @DomName('WebGLRenderingContext.createRenderbuffer')
-
createShader(
int type) → Shader -
@DocsEditable(), @DomName('WebGLRenderingContext.createShader')
-
createTexture(
) → Texture -
@DocsEditable(), @DomName('WebGLRenderingContext.createTexture')
-
cullFace(
int mode) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.cullFace')
-
deleteBuffer(
Buffer buffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.deleteBuffer')
-
deleteFramebuffer(
Framebuffer framebuffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.deleteFramebuffer')
-
deleteProgram(
Program program) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.deleteProgram')
-
deleteRenderbuffer(
Renderbuffer renderbuffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.deleteRenderbuffer')
-
deleteShader(
Shader shader) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.deleteShader')
-
deleteTexture(
Texture texture) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.deleteTexture')
-
depthFunc(
int func) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.depthFunc')
-
depthMask(
bool flag) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.depthMask')
-
depthRange(
num zNear, num zFar) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.depthRange')
-
detachShader(
Program program, Shader shader) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.detachShader')
-
disable(
int cap) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.disable')
-
disableVertexAttribArray(
int index) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.disableVertexAttribArray')
-
drawArrays(
int mode, int first, int count) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.drawArrays')
-
drawElements(
int mode, int count, int type, int offset) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.drawElements')
-
enable(
int cap) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.enable')
-
enableVertexAttribArray(
int index) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.enableVertexAttribArray')
-
finish(
) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.finish')
-
flush(
) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.flush')
-
framebufferRenderbuffer(
int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.framebufferRenderbuffer')
-
framebufferTexture2D(
int target, int attachment, int textarget, Texture texture, int level) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.framebufferTexture2D')
-
frontFace(
int mode) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.frontFace')
-
generateMipmap(
int target) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.generateMipmap')
-
getActiveAttrib(
Program program, int index) → ActiveInfo -
@DocsEditable(), @DomName('WebGLRenderingContext.getActiveAttrib')
-
getActiveUniform(
Program program, int index) → ActiveInfo -
@DocsEditable(), @DomName('WebGLRenderingContext.getActiveUniform')
-
getAttachedShaders(
Program program) → List<Shader> -
@DocsEditable(), @DomName('WebGLRenderingContext.getAttachedShaders')
-
getAttribLocation(
Program program, String name) → int -
@DocsEditable(), @DomName('WebGLRenderingContext.getAttribLocation')
-
getBufferParameter(
int target, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getBufferParameter')
-
getContextAttributes(
) → dynamic -
@DocsEditable(), @DomName('WebGLRenderingContext.getContextAttributes')
-
getError(
) → int -
@DocsEditable(), @DomName('WebGLRenderingContext.getError')
-
getExtension(
String name) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getExtension')
-
getFramebufferAttachmentParameter(
int target, int attachment, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
-
getParameter(
int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getParameter')
-
getProgramInfoLog(
Program program) → String -
@DocsEditable(), @DomName('WebGLRenderingContext.getProgramInfoLog')
-
getProgramParameter(
Program program, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getProgramParameter')
-
getRenderbufferParameter(
int target, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getRenderbufferParameter')
-
getShaderInfoLog(
Shader shader) → String -
@DocsEditable(), @DomName('WebGLRenderingContext.getShaderInfoLog')
-
getShaderParameter(
Shader shader, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getShaderParameter')
-
getShaderPrecisionFormat(
int shadertype, int precisiontype) → ShaderPrecisionFormat -
@DocsEditable(), @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
-
getShaderSource(
Shader shader) → String -
@DocsEditable(), @DomName('WebGLRenderingContext.getShaderSource')
-
getSupportedExtensions(
) → List<String> -
@DocsEditable(), @DomName('WebGLRenderingContext.getSupportedExtensions')
-
getTexParameter(
int target, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getTexParameter')
-
getUniform(
Program program, UniformLocation location) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getUniform')
-
getUniformLocation(
Program program, String name) → UniformLocation -
@DocsEditable(), @DomName('WebGLRenderingContext.getUniformLocation')
-
getVertexAttrib(
int index, int pname) → Object -
@DocsEditable(), @DomName('WebGLRenderingContext.getVertexAttrib')
-
getVertexAttribOffset(
int index, int pname) → int -
@DocsEditable(), @DomName('WebGLRenderingContext.getVertexAttribOffset')
-
hint(
int target, int mode) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.hint')
-
isBuffer(
Buffer buffer) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isBuffer')
-
isContextLost(
) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isContextLost')
-
isEnabled(
int cap) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isEnabled')
-
isFramebuffer(
Framebuffer framebuffer) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isFramebuffer')
-
isProgram(
Program program) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isProgram')
-
isRenderbuffer(
Renderbuffer renderbuffer) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isRenderbuffer')
-
isShader(
Shader shader) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isShader')
-
isTexture(
Texture texture) → bool -
@DocsEditable(), @DomName('WebGLRenderingContext.isTexture')
-
lineWidth(
num width) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.lineWidth')
-
linkProgram(
Program program) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.linkProgram')
-
pixelStorei(
int pname, int param) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.pixelStorei')
-
polygonOffset(
num factor, num units) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.polygonOffset')
-
readPixels(
int x, int y, int width, int height, int format, int type, TypedData pixels) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.readPixels')
-
renderbufferStorage(
int target, int internalformat, int width, int height) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.renderbufferStorage')
-
sampleCoverage(
num value, bool invert) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.sampleCoverage')
-
scissor(
int x, int y, int width, int height) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.scissor')
-
shaderSource(
Shader shader, String string) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.shaderSource')
-
stencilFunc(
int func, int ref, int mask) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.stencilFunc')
-
stencilFuncSeparate(
int face, int func, int ref, int mask) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.stencilFuncSeparate')
-
stencilMask(
int mask) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.stencilMask')
-
stencilMaskSeparate(
int face, int mask) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.stencilMaskSeparate')
-
stencilOp(
int fail, int zfail, int zpass) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.stencilOp')
-
stencilOpSeparate(
int face, int fail, int zfail, int zpass) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.stencilOpSeparate')
-
texImage2D(
int target, int level, int internalformat, int format_OR_width, int height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, [ int format, int type, TypedData pixels ]) → void -
texImage2DTyped(
int targetTexture, int levelOfDetail, int internalFormat, int width, int height, int border, int format, int type, TypedData data) → void -
Sets the currently bound texture to
data.@Deprecated("Use texImage2D") -
texImage2DUntyped(
int targetTexture, int levelOfDetail, int internalFormat, int format, int type, data) → void -
Sets the currently bound texture to
data.@Deprecated("Use texImage2D") -
texParameterf(
int target, int pname, num param) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.texParameterf')
-
texParameteri(
int target, int pname, int param) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.texParameteri')
-
texSubImage2D(
int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, [ int type, TypedData pixels ]) → void -
texSubImage2DTyped(
int targetTexture, int levelOfDetail, int xOffset, int yOffset, int width, int height, int border, int format, int type, TypedData data) → void -
Updates a sub-rectangle of the currently bound texture to
data.@Deprecated("Use texSubImage2D") -
texSubImage2DUntyped(
int targetTexture, int levelOfDetail, int xOffset, int yOffset, int format, int type, data) → void -
Updates a sub-rectangle of the currently bound texture to
data.@Deprecated("Use texSubImage2D") -
uniform1f(
UniformLocation location, num x) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform1f')
-
uniform1fv(
UniformLocation location, v) → void -
uniform1i(
UniformLocation location, int x) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform1i')
-
uniform1iv(
UniformLocation location, v) → void -
uniform2f(
UniformLocation location, num x, num y) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform2f')
-
uniform2fv(
UniformLocation location, v) → void -
uniform2i(
UniformLocation location, int x, int y) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform2i')
-
uniform2iv(
UniformLocation location, v) → void -
uniform3f(
UniformLocation location, num x, num y, num z) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform3f')
-
uniform3fv(
UniformLocation location, v) → void -
uniform3i(
UniformLocation location, int x, int y, int z) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform3i')
-
uniform3iv(
UniformLocation location, v) → void -
uniform4f(
UniformLocation location, num x, num y, num z, num w) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform4f')
-
uniform4fv(
UniformLocation location, v) → void -
uniform4i(
UniformLocation location, int x, int y, int z, int w) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.uniform4i')
-
uniform4iv(
UniformLocation location, v) → void -
uniformMatrix2fv(
UniformLocation location, bool transpose, array) → void -
uniformMatrix3fv(
UniformLocation location, bool transpose, array) → void -
uniformMatrix4fv(
UniformLocation location, bool transpose, array) → void -
useProgram(
Program program) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.useProgram')
-
validateProgram(
Program program) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.validateProgram')
-
vertexAttrib1f(
int indx, num x) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.vertexAttrib1f')
-
vertexAttrib1fv(
int indx, values) → void -
vertexAttrib2f(
int indx, num x, num y) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.vertexAttrib2f')
-
vertexAttrib2fv(
int indx, values) → void -
vertexAttrib3f(
int indx, num x, num y, num z) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.vertexAttrib3f')
-
vertexAttrib3fv(
int indx, values) → void -
vertexAttrib4f(
int indx, num x, num y, num z, num w) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.vertexAttrib4f')
-
vertexAttrib4fv(
int indx, values) → void -
vertexAttribPointer(
int indx, int size, int type, bool normalized, int stride, int offset) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.vertexAttribPointer')
-
viewport(
int x, int y, int width, int height) → void -
@DocsEditable(), @DomName('WebGLRenderingContext.viewport')
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns the result of the JavaScript objects
toStringmethod.inherited