dart.dom.web_gl


Top-Level Variables
ACTIVE_ATTRIBUTES: int
ACTIVE_TEXTURE: int
ACTIVE_UNIFORMS: int
ALIASED_LINE_WIDTH_RANGE: int
ALIASED_POINT_SIZE_RANGE: int
ALPHA: int
ALPHA_BITS: int
ALWAYS: int
ARRAY_BUFFER: int
ARRAY_BUFFER_BINDING: int
ATTACHED_SHADERS: int
BACK: int
BLEND: int
BLEND_COLOR: int
BLEND_DST_ALPHA: int
BLEND_DST_RGB: int
BLEND_EQUATION: int
BLEND_EQUATION_ALPHA: int
BLEND_EQUATION_RGB: int
BLEND_SRC_ALPHA: int
BLEND_SRC_RGB: int
BLUE_BITS: int
BOOL: int
BOOL_VEC2: int
BOOL_VEC3: int
BOOL_VEC4: int
BROWSER_DEFAULT_WEBGL: int
BUFFER_SIZE: int
BUFFER_USAGE: int
BYTE: int
CCW: int
CLAMP_TO_EDGE: int
COLOR_ATTACHMENT0: int
COLOR_BUFFER_BIT: int
COLOR_CLEAR_VALUE: int
COLOR_WRITEMASK: int
COMPILE_STATUS: int
COMPRESSED_TEXTURE_FORMATS: int
CONSTANT_ALPHA: int
CONSTANT_COLOR: int
CONTEXT_LOST_WEBGL: int
CULL_FACE: int
CULL_FACE_MODE: int
CURRENT_PROGRAM: int
CURRENT_VERTEX_ATTRIB: int
CW: int
DECR: int
DECR_WRAP: int
DELETE_STATUS: int
DEPTH_ATTACHMENT: int
DEPTH_BITS: int
DEPTH_BUFFER_BIT: int
DEPTH_CLEAR_VALUE: int
DEPTH_COMPONENT: int
DEPTH_COMPONENT16: int
DEPTH_FUNC: int
DEPTH_RANGE: int
DEPTH_STENCIL: int
DEPTH_STENCIL_ATTACHMENT: int
DEPTH_TEST: int
DEPTH_WRITEMASK: int
DITHER: int
DONT_CARE: int
DST_ALPHA: int
DST_COLOR: int
DYNAMIC_DRAW: int
ELEMENT_ARRAY_BUFFER: int
ELEMENT_ARRAY_BUFFER_BINDING: int
EQUAL: int
FASTEST: int
FLOAT: int
FLOAT_MAT2: int
FLOAT_MAT3: int
FLOAT_MAT4: int
FLOAT_VEC2: int
FLOAT_VEC3: int
FLOAT_VEC4: int
FRAGMENT_SHADER: int
FRAMEBUFFER: int
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: int
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: int
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: int
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: int
FRAMEBUFFER_BINDING: int
FRAMEBUFFER_COMPLETE: int
FRAMEBUFFER_INCOMPLETE_ATTACHMENT: int
FRAMEBUFFER_INCOMPLETE_DIMENSIONS: int
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: int
FRAMEBUFFER_UNSUPPORTED: int
FRONT: int
FRONT_AND_BACK: int
FRONT_FACE: int
FUNC_ADD: int
FUNC_REVERSE_SUBTRACT: int
FUNC_SUBTRACT: int
GENERATE_MIPMAP_HINT: int
GEQUAL: int
GREATER: int
GREEN_BITS: int
HALF_FLOAT_OES: int
HIGH_FLOAT: int
HIGH_INT: int
INCR: int
INCR_WRAP: int
INT: int
INT_VEC2: int
INT_VEC3: int
INT_VEC4: int
INVALID_ENUM: int
INVALID_FRAMEBUFFER_OPERATION: int
INVALID_OPERATION: int
INVALID_VALUE: int
INVERT: int
KEEP: int
LEQUAL: int
LESS: int
LINEAR: int
LINEAR_MIPMAP_LINEAR: int
LINEAR_MIPMAP_NEAREST: int
LINES: int
LINE_LOOP: int
LINE_STRIP: int
LINE_WIDTH: int
LINK_STATUS: int
LOW_FLOAT: int
LOW_INT: int
LUMINANCE: int
LUMINANCE_ALPHA: int
MAX_COMBINED_TEXTURE_IMAGE_UNITS: int
MAX_CUBE_MAP_TEXTURE_SIZE: int
MAX_FRAGMENT_UNIFORM_VECTORS: int
MAX_RENDERBUFFER_SIZE: int
MAX_TEXTURE_IMAGE_UNITS: int
MAX_TEXTURE_SIZE: int
MAX_VARYING_VECTORS: int
MAX_VERTEX_ATTRIBS: int
MAX_VERTEX_TEXTURE_IMAGE_UNITS: int
MAX_VERTEX_UNIFORM_VECTORS: int
MAX_VIEWPORT_DIMS: int
MEDIUM_FLOAT: int
MEDIUM_INT: int
MIRRORED_REPEAT: int
NEAREST: int
NEAREST_MIPMAP_LINEAR: int
NEAREST_MIPMAP_NEAREST: int
NEVER: int
NICEST: int
NONE: int
NOTEQUAL: int
NO_ERROR: int
ONE: int
ONE_MINUS_CONSTANT_ALPHA: int
ONE_MINUS_CONSTANT_COLOR: int
ONE_MINUS_DST_ALPHA: int
ONE_MINUS_DST_COLOR: int
ONE_MINUS_SRC_ALPHA: int
ONE_MINUS_SRC_COLOR: int
OUT_OF_MEMORY: int
PACK_ALIGNMENT: int
POINTS: int
POLYGON_OFFSET_FACTOR: int
POLYGON_OFFSET_FILL: int
POLYGON_OFFSET_UNITS: int
RED_BITS: int
RENDERBUFFER: int
RENDERBUFFER_ALPHA_SIZE: int
RENDERBUFFER_BINDING: int
RENDERBUFFER_BLUE_SIZE: int
RENDERBUFFER_DEPTH_SIZE: int
RENDERBUFFER_GREEN_SIZE: int
RENDERBUFFER_HEIGHT: int
RENDERBUFFER_INTERNAL_FORMAT: int
RENDERBUFFER_RED_SIZE: int
RENDERBUFFER_STENCIL_SIZE: int
RENDERBUFFER_WIDTH: int
RENDERER: int
REPEAT: int
REPLACE: int
RGB: int
RGB565: int
RGB5_A1: int
RGBA: int
RGBA4: int
SAMPLER_2D: int
SAMPLER_CUBE: int
SAMPLES: int
SAMPLE_ALPHA_TO_COVERAGE: int
SAMPLE_BUFFERS: int
SAMPLE_COVERAGE: int
SAMPLE_COVERAGE_INVERT: int
SAMPLE_COVERAGE_VALUE: int
SCISSOR_BOX: int
SCISSOR_TEST: int
SHADER_TYPE: int
SHADING_LANGUAGE_VERSION: int
SHORT: int
SRC_ALPHA: int
SRC_ALPHA_SATURATE: int
SRC_COLOR: int
STATIC_DRAW: int
STENCIL_ATTACHMENT: int
STENCIL_BACK_FAIL: int
STENCIL_BACK_FUNC: int
STENCIL_BACK_PASS_DEPTH_FAIL: int
STENCIL_BACK_PASS_DEPTH_PASS: int
STENCIL_BACK_REF: int
STENCIL_BACK_VALUE_MASK: int
STENCIL_BACK_WRITEMASK: int
STENCIL_BITS: int
STENCIL_BUFFER_BIT: int
STENCIL_CLEAR_VALUE: int
STENCIL_FAIL: int
STENCIL_FUNC: int
STENCIL_INDEX: int
STENCIL_INDEX8: int
STENCIL_PASS_DEPTH_FAIL: int
STENCIL_PASS_DEPTH_PASS: int
STENCIL_REF: int
STENCIL_TEST: int
STENCIL_VALUE_MASK: int
STENCIL_WRITEMASK: int
STREAM_DRAW: int
SUBPIXEL_BITS: int
TEXTURE: int
TEXTURE0: int
TEXTURE1: int
TEXTURE10: int
TEXTURE11: int
TEXTURE12: int
TEXTURE13: int
TEXTURE14: int
TEXTURE15: int
TEXTURE16: int
TEXTURE17: int
TEXTURE18: int
TEXTURE19: int
TEXTURE2: int
TEXTURE20: int
TEXTURE21: int
TEXTURE22: int
TEXTURE23: int
TEXTURE24: int
TEXTURE25: int
TEXTURE26: int
TEXTURE27: int
TEXTURE28: int
TEXTURE29: int
TEXTURE3: int
TEXTURE30: int
TEXTURE31: int
TEXTURE4: int
TEXTURE5: int
TEXTURE6: int
TEXTURE7: int
TEXTURE8: int
TEXTURE9: int
TEXTURE_2D: int
TEXTURE_BINDING_2D: int
TEXTURE_BINDING_CUBE_MAP: int
TEXTURE_CUBE_MAP: int
TEXTURE_CUBE_MAP_NEGATIVE_X: int
TEXTURE_CUBE_MAP_NEGATIVE_Y: int
TEXTURE_CUBE_MAP_NEGATIVE_Z: int
TEXTURE_CUBE_MAP_POSITIVE_X: int
TEXTURE_CUBE_MAP_POSITIVE_Y: int
TEXTURE_CUBE_MAP_POSITIVE_Z: int
TEXTURE_MAG_FILTER: int
TEXTURE_MIN_FILTER: int
TEXTURE_WRAP_S: int
TEXTURE_WRAP_T: int
TRIANGLES: int
TRIANGLE_FAN: int
TRIANGLE_STRIP: int
UNPACK_ALIGNMENT: int
UNPACK_COLORSPACE_CONVERSION_WEBGL: int
UNPACK_FLIP_Y_WEBGL: int
UNPACK_PREMULTIPLY_ALPHA_WEBGL: int
UNSIGNED_BYTE: int
UNSIGNED_INT: int
UNSIGNED_SHORT: int
UNSIGNED_SHORT_4_4_4_4: int
UNSIGNED_SHORT_5_5_5_1: int
UNSIGNED_SHORT_5_6_5: int
VALIDATE_STATUS: int
VENDOR: int
VERSION: int
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: int
VERTEX_ATTRIB_ARRAY_ENABLED: int
VERTEX_ATTRIB_ARRAY_NORMALIZED: int
VERTEX_ATTRIB_ARRAY_POINTER: int
VERTEX_ATTRIB_ARRAY_SIZE: int
VERTEX_ATTRIB_ARRAY_STRIDE: int
VERTEX_ATTRIB_ARRAY_TYPE: int
VERTEX_SHADER: int
VIEWPORT: int
ZERO: int
Classes
ActiveInfo
AngleInstancedArrays
Buffer
CompressedTextureAtc
CompressedTexturePvrtc
CompressedTextureS3TC
ContextAttributes
ContextEvent
DebugRendererInfo
DebugShaders
DepthTexture
DrawBuffers
ExtFragDepth
ExtTextureFilterAnisotropic
Framebuffer
LoseContext
OesElementIndexUint
OesStandardDerivatives
OesTextureFloat
OesTextureFloatLinear
OesTextureHalfFloat
OesTextureHalfFloatLinear
OesVertexArrayObject
Program
Renderbuffer
RenderingContext
Shader
ShaderPrecisionFormat
Texture
UniformLocation
VertexArrayObject

Top-Level Variables

static const int ACTIVE_ATTRIBUTES = 35721
static const int ACTIVE_TEXTURE = 34016
static const int ACTIVE_UNIFORMS = 35718
static const int ALIASED_LINE_WIDTH_RANGE = 33902
static const int ALIASED_POINT_SIZE_RANGE = 33901
static const int ALPHA = 6406
static const int ALPHA_BITS = 3413
static const int ALWAYS = 519
static const int ARRAY_BUFFER = 34962
static const int ARRAY_BUFFER_BINDING = 34964
static const int ATTACHED_SHADERS = 35717
static const int BACK = 1029
static const int BLEND = 3042
static const int BLEND_COLOR = 32773
static const int BLEND_DST_ALPHA = 32970
static const int BLEND_DST_RGB = 32968
static const int BLEND_EQUATION = 32777
static const int BLEND_EQUATION_ALPHA = 34877
static const int BLEND_EQUATION_RGB = 32777
static const int BLEND_SRC_ALPHA = 32971
static const int BLEND_SRC_RGB = 32969
static const int BLUE_BITS = 3412
static const int BOOL = 35670
static const int BOOL_VEC2 = 35671
static const int BOOL_VEC3 = 35672
static const int BOOL_VEC4 = 35673
static const int BROWSER_DEFAULT_WEBGL = 37444
static const int BUFFER_SIZE = 34660
static const int BUFFER_USAGE = 34661
static const int BYTE = 5120
static const int CCW = 2305
static const int CLAMP_TO_EDGE = 33071
static const int COLOR_ATTACHMENT0 = 36064
static const int COLOR_BUFFER_BIT = 16384
static const int COLOR_CLEAR_VALUE = 3106
static const int COLOR_WRITEMASK = 3107
static const int COMPILE_STATUS = 35713
static const int COMPRESSED_TEXTURE_FORMATS = 34467
static const int CONSTANT_ALPHA = 32771
static const int CONSTANT_COLOR = 32769
static const int CONTEXT_LOST_WEBGL = 37442
static const int CULL_FACE = 2884
static const int CULL_FACE_MODE = 2885
static const int CURRENT_PROGRAM = 35725
static const int CURRENT_VERTEX_ATTRIB = 34342
static const int CW = 2304
static const int DECR = 7683
static const int DECR_WRAP = 34056
static const int DELETE_STATUS = 35712
static const int DEPTH_ATTACHMENT = 36096
static const int DEPTH_BITS = 3414
static const int DEPTH_BUFFER_BIT = 256
static const int DEPTH_CLEAR_VALUE = 2931
static const int DEPTH_COMPONENT = 6402
static const int DEPTH_COMPONENT16 = 33189
static const int DEPTH_FUNC = 2932
static const int DEPTH_RANGE = 2928
static const int DEPTH_STENCIL = 34041
static const int DEPTH_STENCIL_ATTACHMENT = 33306
static const int DEPTH_TEST = 2929
static const int DEPTH_WRITEMASK = 2930
static const int DITHER = 3024
static const int DONT_CARE = 4352
static const int DST_ALPHA = 772
static const int DST_COLOR = 774
static const int DYNAMIC_DRAW = 35048
static const int ELEMENT_ARRAY_BUFFER = 34963
static const int ELEMENT_ARRAY_BUFFER_BINDING = 34965
static const int EQUAL = 514
static const int FASTEST = 4353
static const int FLOAT = 5126
static const int FLOAT_MAT2 = 35674
static const int FLOAT_MAT3 = 35675
static const int FLOAT_MAT4 = 35676
static const int FLOAT_VEC2 = 35664
static const int FLOAT_VEC3 = 35665
static const int FLOAT_VEC4 = 35666
static const int FRAGMENT_SHADER = 35632
static const int FRAMEBUFFER = 36160
static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 36049
static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 36048
static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 36051
static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 36050
static const int FRAMEBUFFER_BINDING = 36006
static const int FRAMEBUFFER_COMPLETE = 36053
static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 36054
static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 36057
static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 36055
static const int FRAMEBUFFER_UNSUPPORTED = 36061
static const int FRONT = 1028
static const int FRONT_AND_BACK = 1032
static const int FRONT_FACE = 2886
static const int FUNC_ADD = 32774
static const int FUNC_REVERSE_SUBTRACT = 32779
static const int FUNC_SUBTRACT = 32778
static const int GENERATE_MIPMAP_HINT = 33170
static const int GEQUAL = 518
static const int GREATER = 516
static const int GREEN_BITS = 3411
static const int HALF_FLOAT_OES = 36193
static const int HIGH_FLOAT = 36338
static const int HIGH_INT = 36341
static const int INCR = 7682
static const int INCR_WRAP = 34055
static const int INT = 5124
static const int INT_VEC2 = 35667
static const int INT_VEC3 = 35668
static const int INT_VEC4 = 35669
static const int INVALID_ENUM = 1280
static const int INVALID_FRAMEBUFFER_OPERATION = 1286
static const int INVALID_OPERATION = 1282
static const int INVALID_VALUE = 1281
static const int INVERT = 5386
static const int KEEP = 7680
static const int LEQUAL = 515
static const int LESS = 513
static const int LINEAR = 9729
static const int LINEAR_MIPMAP_LINEAR = 9987
static const int LINEAR_MIPMAP_NEAREST = 9985
static const int LINES = 1
static const int LINE_LOOP = 2
static const int LINE_STRIP = 3
static const int LINE_WIDTH = 2849
static const int LINK_STATUS = 35714
static const int LOW_FLOAT = 36336
static const int LOW_INT = 36339
static const int LUMINANCE = 6409
static const int LUMINANCE_ALPHA = 6410
static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 35661
static const int MAX_CUBE_MAP_TEXTURE_SIZE = 34076
static const int MAX_FRAGMENT_UNIFORM_VECTORS = 36349
static const int MAX_RENDERBUFFER_SIZE = 34024
static const int MAX_TEXTURE_IMAGE_UNITS = 34930
static const int MAX_TEXTURE_SIZE = 3379
static const int MAX_VARYING_VECTORS = 36348
static const int MAX_VERTEX_ATTRIBS = 34921
static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 35660
static const int MAX_VERTEX_UNIFORM_VECTORS = 36347
static const int MAX_VIEWPORT_DIMS = 3386
static const int MEDIUM_FLOAT = 36337
static const int MEDIUM_INT = 36340
static const int MIRRORED_REPEAT = 33648
static const int NEAREST = 9728
static const int NEAREST_MIPMAP_LINEAR = 9986
static const int NEAREST_MIPMAP_NEAREST = 9984
static const int NEVER = 512
static const int NICEST = 4354
static const int NONE = 0
static const int NOTEQUAL = 517
static const int NO_ERROR = 0
static const int ONE = 1
static const int ONE_MINUS_CONSTANT_ALPHA = 32772
static const int ONE_MINUS_CONSTANT_COLOR = 32770
static const int ONE_MINUS_DST_ALPHA = 773
static const int ONE_MINUS_DST_COLOR = 775
static const int ONE_MINUS_SRC_ALPHA = 771
static const int ONE_MINUS_SRC_COLOR = 769
static const int OUT_OF_MEMORY = 1285
static const int PACK_ALIGNMENT = 3333
static const int POINTS = 0
static const int POLYGON_OFFSET_FACTOR = 32824
static const int POLYGON_OFFSET_FILL = 32823
static const int POLYGON_OFFSET_UNITS = 10752
static const int RED_BITS = 3410
static const int RENDERBUFFER = 36161
static const int RENDERBUFFER_ALPHA_SIZE = 36179
static const int RENDERBUFFER_BINDING = 36007
static const int RENDERBUFFER_BLUE_SIZE = 36178
static const int RENDERBUFFER_DEPTH_SIZE = 36180
static const int RENDERBUFFER_GREEN_SIZE = 36177
static const int RENDERBUFFER_HEIGHT = 36163
static const int RENDERBUFFER_INTERNAL_FORMAT = 36164
static const int RENDERBUFFER_RED_SIZE = 36176
static const int RENDERBUFFER_STENCIL_SIZE = 36181
static const int RENDERBUFFER_WIDTH = 36162
static const int RENDERER = 7937
static const int REPEAT = 10497
static const int REPLACE = 7681
static const int RGB = 6407
static const int RGB565 = 36194
static const int RGB5_A1 = 32855
static const int RGBA = 6408
static const int RGBA4 = 32854
static const int SAMPLER_2D = 35678
static const int SAMPLER_CUBE = 35680
static const int SAMPLES = 32937
static const int SAMPLE_ALPHA_TO_COVERAGE = 32926
static const int SAMPLE_BUFFERS = 32936
static const int SAMPLE_COVERAGE = 32928
static const int SAMPLE_COVERAGE_INVERT = 32939
static const int SAMPLE_COVERAGE_VALUE = 32938
static const int SCISSOR_BOX = 3088
static const int SCISSOR_TEST = 3089
static const int SHADER_TYPE = 35663
static const int SHADING_LANGUAGE_VERSION = 35724
static const int SHORT = 5122
static const int SRC_ALPHA = 770
static const int SRC_ALPHA_SATURATE = 776
static const int SRC_COLOR = 768
static const int STATIC_DRAW = 35044
static const int STENCIL_ATTACHMENT = 36128
static const int STENCIL_BACK_FAIL = 34817
static const int STENCIL_BACK_FUNC = 34816
static const int STENCIL_BACK_PASS_DEPTH_FAIL = 34818
static const int STENCIL_BACK_PASS_DEPTH_PASS = 34819
static const int STENCIL_BACK_REF = 36003
static const int STENCIL_BACK_VALUE_MASK = 36004
static const int STENCIL_BACK_WRITEMASK = 36005
static const int STENCIL_BITS = 3415
static const int STENCIL_BUFFER_BIT = 1024
static const int STENCIL_CLEAR_VALUE = 2961
static const int STENCIL_FAIL = 2964
static const int STENCIL_FUNC = 2962
static const int STENCIL_INDEX = 6401
static const int STENCIL_INDEX8 = 36168
static const int STENCIL_PASS_DEPTH_FAIL = 2965
static const int STENCIL_PASS_DEPTH_PASS = 2966
static const int STENCIL_REF = 2967
static const int STENCIL_TEST = 2960
static const int STENCIL_VALUE_MASK = 2963
static const int STENCIL_WRITEMASK = 2968
static const int STREAM_DRAW = 35040
static const int SUBPIXEL_BITS = 3408
static const int TEXTURE = 5890
static const int TEXTURE0 = 33984
static const int TEXTURE1 = 33985
static const int TEXTURE10 = 33994
static const int TEXTURE11 = 33995
static const int TEXTURE12 = 33996
static const int TEXTURE13 = 33997
static const int TEXTURE14 = 33998
static const int TEXTURE15 = 33999
static const int TEXTURE16 = 34000
static const int TEXTURE17 = 34001
static const int TEXTURE18 = 34002
static const int TEXTURE19 = 34003
static const int TEXTURE2 = 33986
static const int TEXTURE20 = 34004
static const int TEXTURE21 = 34005
static const int TEXTURE22 = 34006
static const int TEXTURE23 = 34007
static const int TEXTURE24 = 34008
static const int TEXTURE25 = 34009
static const int TEXTURE26 = 34010
static const int TEXTURE27 = 34011
static const int TEXTURE28 = 34012
static const int TEXTURE29 = 34013
static const int TEXTURE3 = 33987
static const int TEXTURE30 = 34014
static const int TEXTURE31 = 34015
static const int TEXTURE4 = 33988
static const int TEXTURE5 = 33989
static const int TEXTURE6 = 33990
static const int TEXTURE7 = 33991
static const int TEXTURE8 = 33992
static const int TEXTURE9 = 33993
static const int TEXTURE_2D = 3553
static const int TEXTURE_BINDING_2D = 32873
static const int TEXTURE_BINDING_CUBE_MAP = 34068
static const int TEXTURE_CUBE_MAP = 34067
static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 34070
static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072
static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074
static const int TEXTURE_CUBE_MAP_POSITIVE_X = 34069
static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 34071
static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 34073
static const int TEXTURE_MAG_FILTER = 10240
static const int TEXTURE_MIN_FILTER = 10241
static const int TEXTURE_WRAP_S = 10242
static const int TEXTURE_WRAP_T = 10243
static const int TRIANGLES = 4
static const int TRIANGLE_FAN = 6
static const int TRIANGLE_STRIP = 5
static const int UNPACK_ALIGNMENT = 3317
static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 37443
static const int UNPACK_FLIP_Y_WEBGL = 37440
static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 37441
static const int UNSIGNED_BYTE = 5121
static const int UNSIGNED_INT = 5125
static const int UNSIGNED_SHORT = 5123
static const int UNSIGNED_SHORT_4_4_4_4 = 32819
static const int UNSIGNED_SHORT_5_5_5_1 = 32820
static const int UNSIGNED_SHORT_5_6_5 = 33635
static const int VALIDATE_STATUS = 35715
static const int VENDOR = 7936
static const int VERSION = 7938
static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 34975
static const int VERTEX_ATTRIB_ARRAY_ENABLED = 34338
static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 34922
static const int VERTEX_ATTRIB_ARRAY_POINTER = 34373
static const int VERTEX_ATTRIB_ARRAY_SIZE = 34339
static const int VERTEX_ATTRIB_ARRAY_STRIDE = 34340
static const int VERTEX_ATTRIB_ARRAY_TYPE = 34341
static const int VERTEX_SHADER = 35633
static const int VIEWPORT = 2978
static const int ZERO = 0

@ @ @
Class ActiveInfo extends NativeFieldWrapperClass1

Fields
name: String
size: int
type: int
Getters and Setters
name: String
size: int
type: int
Constructors
ActiveInfo()

Fields

final String name
final int size
final int type

Getters and Setters

@ @
String get name
@ @
int get size
@ @
int get type

Constructors

ActiveInfo()

@ @ @
Class AngleInstancedArrays extends NativeFieldWrapperClass1

Static Fields
VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: int
Constructors
AngleInstancedArrays()
Methods
drawArraysInstancedAngle(int mode, int first, int count, int primcount): void
drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount): void
vertexAttribDivisorAngle(int index, int divisor): void

Static Fields

@ @ @
static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 35070

Constructors

AngleInstancedArrays()

Methods

@ @ @
void drawArraysInstancedAngle(int mode, int first, int count, int primcount)
@ @ @
void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount)
@ @ @
void vertexAttribDivisorAngle(int index, int divisor)

@ @ @
Class Buffer extends NativeFieldWrapperClass1

Constructors
Buffer()

Constructors

Buffer()

@ @ @
Class CompressedTextureAtc extends NativeFieldWrapperClass1

Static Fields
COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL: int
COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL: int
COMPRESSED_RGB_ATC_WEBGL: int
Constructors
CompressedTextureAtc()

Static Fields

@ @
static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 35987
@ @
static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 34798
@ @
static const int COMPRESSED_RGB_ATC_WEBGL = 35986

Constructors

CompressedTextureAtc()

@ @ @
Class CompressedTexturePvrtc extends NativeFieldWrapperClass1

Static Fields
COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: int
COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: int
COMPRESSED_RGB_PVRTC_2BPPV1_IMG: int
COMPRESSED_RGB_PVRTC_4BPPV1_IMG: int
Constructors
CompressedTexturePvrtc()

Static Fields

@ @
static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 35843
@ @
static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 35842
@ @
static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 35841
@ @
static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 35840

Constructors

CompressedTexturePvrtc()

@ @ @
Class CompressedTextureS3TC extends NativeFieldWrapperClass1

Static Fields
COMPRESSED_RGBA_S3TC_DXT1_EXT: int
COMPRESSED_RGBA_S3TC_DXT3_EXT: int
COMPRESSED_RGBA_S3TC_DXT5_EXT: int
COMPRESSED_RGB_S3TC_DXT1_EXT: int
Constructors
CompressedTextureS3TC()

Static Fields

@ @
static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 33777
@ @
static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 33778
@ @
static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 33779
@ @
static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 33776

Constructors

CompressedTextureS3TC()

@ @ @
Class ContextAttributes extends NativeFieldWrapperClass1

Fields
alpha: bool
antialias: bool
depth: bool
premultipliedAlpha: bool
preserveDrawingBuffer: bool
stencil: bool
Getters and Setters
alpha: bool
alpha=(bool value)
antialias: bool
antialias=(bool value)
depth: bool
depth=(bool value)
premultipliedAlpha: bool
premultipliedAlpha=(bool value)
preserveDrawingBuffer: bool
preserveDrawingBuffer=(bool value)
stencil: bool
stencil=(bool value)
Constructors
ContextAttributes()

Fields

bool alpha
bool antialias
bool depth
bool premultipliedAlpha
bool preserveDrawingBuffer
bool stencil

Getters and Setters

@ @
bool get alpha
@ @
set alpha=(bool value)
@ @
bool get antialias
@ @
set antialias=(bool value)
@ @
bool get depth
@ @
set depth=(bool value)
@ @
bool get premultipliedAlpha
@ @
set premultipliedAlpha=(bool value)
@ @
bool get preserveDrawingBuffer
@ @
set preserveDrawingBuffer=(bool value)
@ @
bool get stencil
@ @
set stencil=(bool value)

Constructors

ContextAttributes()

@ @ @
Class ContextEvent extends Event

Fields
statusMessage: String
Getters and Setters
statusMessage: String

Fields

final String statusMessage

Getters and Setters

@ @
String get statusMessage

@ @ @
Class DebugRendererInfo extends NativeFieldWrapperClass1

Static Fields
UNMASKED_RENDERER_WEBGL: int
UNMASKED_VENDOR_WEBGL: int
Constructors
DebugRendererInfo()

Static Fields

@ @
static const int UNMASKED_RENDERER_WEBGL = 37446
@ @
static const int UNMASKED_VENDOR_WEBGL = 37445

Constructors

DebugRendererInfo()

@ @ @
Class DebugShaders extends NativeFieldWrapperClass1

Constructors
DebugShaders()
Methods
getTranslatedShaderSource(Shader shader): String

Constructors

DebugShaders()

Methods

@ @
String getTranslatedShaderSource(Shader shader)

@ @ @
Class DepthTexture extends NativeFieldWrapperClass1

Static Fields
UNSIGNED_INT_24_8_WEBGL: int
Constructors
DepthTexture()

Static Fields

@ @
static const int UNSIGNED_INT_24_8_WEBGL = 34042

Constructors

DepthTexture()

@ @ @
Class DrawBuffers extends NativeFieldWrapperClass1

Static Fields
COLOR_ATTACHMENT0_WEBGL: int
COLOR_ATTACHMENT10_WEBGL: int
COLOR_ATTACHMENT11_WEBGL: int
COLOR_ATTACHMENT12_WEBGL: int
COLOR_ATTACHMENT13_WEBGL: int
COLOR_ATTACHMENT14_WEBGL: int
COLOR_ATTACHMENT15_WEBGL: int
COLOR_ATTACHMENT1_WEBGL: int
COLOR_ATTACHMENT2_WEBGL: int
COLOR_ATTACHMENT3_WEBGL: int
COLOR_ATTACHMENT4_WEBGL: int
COLOR_ATTACHMENT5_WEBGL: int
COLOR_ATTACHMENT6_WEBGL: int
COLOR_ATTACHMENT7_WEBGL: int
COLOR_ATTACHMENT8_WEBGL: int
COLOR_ATTACHMENT9_WEBGL: int
DRAW_BUFFER0_WEBGL: int
DRAW_BUFFER10_WEBGL: int
DRAW_BUFFER11_WEBGL: int
DRAW_BUFFER12_WEBGL: int
DRAW_BUFFER13_WEBGL: int
DRAW_BUFFER14_WEBGL: int
DRAW_BUFFER15_WEBGL: int
DRAW_BUFFER1_WEBGL: int
DRAW_BUFFER2_WEBGL: int
DRAW_BUFFER3_WEBGL: int
DRAW_BUFFER4_WEBGL: int
DRAW_BUFFER5_WEBGL: int
DRAW_BUFFER6_WEBGL: int
DRAW_BUFFER7_WEBGL: int
DRAW_BUFFER8_WEBGL: int
DRAW_BUFFER9_WEBGL: int
MAX_COLOR_ATTACHMENTS_WEBGL: int
MAX_DRAW_BUFFERS_WEBGL: int
Constructors
DrawBuffers()
Methods
drawBuffersWebgl(List<int> buffers): void

Static Fields

@ @
static const int COLOR_ATTACHMENT0_WEBGL = 36064
@ @
static const int COLOR_ATTACHMENT10_WEBGL = 36074
@ @
static const int COLOR_ATTACHMENT11_WEBGL = 36075
@ @
static const int COLOR_ATTACHMENT12_WEBGL = 36076
@ @
static const int COLOR_ATTACHMENT13_WEBGL = 36077
@ @
static const int COLOR_ATTACHMENT14_WEBGL = 36078
@ @
static const int COLOR_ATTACHMENT15_WEBGL = 36079
@ @
static const int COLOR_ATTACHMENT1_WEBGL = 36065
@ @
static const int COLOR_ATTACHMENT2_WEBGL = 36066
@ @
static const int COLOR_ATTACHMENT3_WEBGL = 36067
@ @
static const int COLOR_ATTACHMENT4_WEBGL = 36068
@ @
static const int COLOR_ATTACHMENT5_WEBGL = 36069
@ @
static const int COLOR_ATTACHMENT6_WEBGL = 36070
@ @
static const int COLOR_ATTACHMENT7_WEBGL = 36071
@ @
static const int COLOR_ATTACHMENT8_WEBGL = 36072
@ @
static const int COLOR_ATTACHMENT9_WEBGL = 36073
@ @
static const int DRAW_BUFFER0_WEBGL = 34853
@ @
static const int DRAW_BUFFER10_WEBGL = 34863
@ @
static const int DRAW_BUFFER11_WEBGL = 34864
@ @
static const int DRAW_BUFFER12_WEBGL = 34865
@ @
static const int DRAW_BUFFER13_WEBGL = 34866
@ @
static const int DRAW_BUFFER14_WEBGL = 34867
@ @
static const int DRAW_BUFFER15_WEBGL = 34868
@ @
static const int DRAW_BUFFER1_WEBGL = 34854
@ @
static const int DRAW_BUFFER2_WEBGL = 34855
@ @
static const int DRAW_BUFFER3_WEBGL = 34856
@ @
static const int DRAW_BUFFER4_WEBGL = 34857
@ @
static const int DRAW_BUFFER5_WEBGL = 34858
@ @
static const int DRAW_BUFFER6_WEBGL = 34859
@ @
static const int DRAW_BUFFER7_WEBGL = 34860
@ @
static const int DRAW_BUFFER8_WEBGL = 34861
@ @
static const int DRAW_BUFFER9_WEBGL = 34862
@ @
static const int MAX_COLOR_ATTACHMENTS_WEBGL = 36063
@ @
static const int MAX_DRAW_BUFFERS_WEBGL = 34852

Constructors

DrawBuffers()

Methods

@ @
void drawBuffersWebgl(List<int> buffers)

@ @ @
Class ExtFragDepth extends NativeFieldWrapperClass1

Constructors
ExtFragDepth()

Constructors

ExtFragDepth()

@ @ @
Class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1

Static Fields
MAX_TEXTURE_MAX_ANISOTROPY_EXT: int
TEXTURE_MAX_ANISOTROPY_EXT: int
Constructors
ExtTextureFilterAnisotropic()

Static Fields

@ @
static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 34047
@ @
static const int TEXTURE_MAX_ANISOTROPY_EXT = 34046

Constructors

ExtTextureFilterAnisotropic()

@ @ @
Class Framebuffer extends NativeFieldWrapperClass1

Constructors
Framebuffer()

Constructors

Framebuffer()

@ @ @
Class LoseContext extends NativeFieldWrapperClass1

Constructors
LoseContext()
Methods
loseContext(): void
restoreContext(): void

Constructors

LoseContext()

Methods

@ @
void loseContext()
@ @
void restoreContext()

@ @ @
Class OesElementIndexUint extends NativeFieldWrapperClass1

Constructors
OesElementIndexUint()

Constructors

OesElementIndexUint()

@ @ @
Class OesStandardDerivatives extends NativeFieldWrapperClass1

Static Fields
FRAGMENT_SHADER_DERIVATIVE_HINT_OES: int
Constructors
OesStandardDerivatives()

Static Fields

@ @
static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 35723

Constructors

OesStandardDerivatives()

@ @ @
Class OesTextureFloat extends NativeFieldWrapperClass1

Constructors
OesTextureFloat()

Constructors

OesTextureFloat()

@ @ @
Class OesTextureFloatLinear extends NativeFieldWrapperClass1

Constructors
OesTextureFloatLinear()

Constructors

OesTextureFloatLinear()

@ @ @
Class OesTextureHalfFloat extends NativeFieldWrapperClass1

Static Fields
HALF_FLOAT_OES: int
Constructors
OesTextureHalfFloat()

Static Fields

@ @
static const int HALF_FLOAT_OES = 36193

Constructors

OesTextureHalfFloat()

@ @ @
Class OesTextureHalfFloatLinear extends NativeFieldWrapperClass1

Constructors
OesTextureHalfFloatLinear()

Constructors

OesTextureHalfFloatLinear()

@ @ @
Class OesVertexArrayObject extends NativeFieldWrapperClass1

Static Fields
VERTEX_ARRAY_BINDING_OES: int
Constructors
OesVertexArrayObject()
Methods
bindVertexArray(VertexArrayObject arrayObject): void
createVertexArray(): VertexArrayObject
deleteVertexArray(VertexArrayObject arrayObject): void
isVertexArray(VertexArrayObject arrayObject): bool

Static Fields

@ @
static const int VERTEX_ARRAY_BINDING_OES = 34229

Constructors

OesVertexArrayObject()

Methods

@ @
void bindVertexArray(VertexArrayObject arrayObject)
@ @
VertexArrayObject createVertexArray()
@ @
void deleteVertexArray(VertexArrayObject arrayObject)
@ @
bool isVertexArray(VertexArrayObject arrayObject)

@ @ @
Class Program extends NativeFieldWrapperClass1

Constructors
Program()

Constructors

Program()

@ @ @
Class Renderbuffer extends NativeFieldWrapperClass1

Constructors
Renderbuffer()

Constructors

Renderbuffer()

@ @ @ @ @
Class RenderingContext extends CanvasRenderingContext

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

Static Fields

@ @
static const int ACTIVE_ATTRIBUTES = 35721
@ @
static const int ACTIVE_TEXTURE = 34016
@ @
static const int ACTIVE_UNIFORMS = 35718
@ @
static const int ALIASED_LINE_WIDTH_RANGE = 33902
@ @
static const int ALIASED_POINT_SIZE_RANGE = 33901
@ @
static const int ALPHA = 6406
@ @
static const int ALPHA_BITS = 3413
@ @
static const int ALWAYS = 519
@ @
static const int ARRAY_BUFFER = 34962
@ @
static const int ARRAY_BUFFER_BINDING = 34964
@ @
static const int ATTACHED_SHADERS = 35717
@ @
static const int BACK = 1029
@ @
static const int BLEND = 3042
@ @
static const int BLEND_COLOR = 32773
@ @
static const int BLEND_DST_ALPHA = 32970
@ @
static const int BLEND_DST_RGB = 32968
@ @
static const int BLEND_EQUATION = 32777
@ @
static const int BLEND_EQUATION_ALPHA = 34877
@ @
static const int BLEND_EQUATION_RGB = 32777
@ @
static const int BLEND_SRC_ALPHA = 32971
@ @
static const int BLEND_SRC_RGB = 32969
@ @
static const int BLUE_BITS = 3412
@ @
static const int BOOL = 35670
@ @
static const int BOOL_VEC2 = 35671
@ @
static const int BOOL_VEC3 = 35672
@ @
static const int BOOL_VEC4 = 35673
@ @
static const int BROWSER_DEFAULT_WEBGL = 37444
@ @
static const int BUFFER_SIZE = 34660
@ @
static const int BUFFER_USAGE = 34661
@ @
static const int BYTE = 5120
@ @
static const int CCW = 2305
@ @
static const int CLAMP_TO_EDGE = 33071
@ @
static const int COLOR_ATTACHMENT0 = 36064
@ @
static const int COLOR_BUFFER_BIT = 16384
@ @
static const int COLOR_CLEAR_VALUE = 3106
@ @
static const int COLOR_WRITEMASK = 3107
@ @
static const int COMPILE_STATUS = 35713
@ @
static const int COMPRESSED_TEXTURE_FORMATS = 34467
@ @
static const int CONSTANT_ALPHA = 32771
@ @
static const int CONSTANT_COLOR = 32769
@ @
static const int CONTEXT_LOST_WEBGL = 37442
@ @
static const int CULL_FACE = 2884
@ @
static const int CULL_FACE_MODE = 2885
@ @
static const int CURRENT_PROGRAM = 35725
@ @
static const int CURRENT_VERTEX_ATTRIB = 34342
@ @
static const int CW = 2304
@ @
static const int DECR = 7683
@ @
static const int DECR_WRAP = 34056
@ @
static const int DELETE_STATUS = 35712
@ @
static const int DEPTH_ATTACHMENT = 36096
@ @
static const int DEPTH_BITS = 3414
@ @
static const int DEPTH_BUFFER_BIT = 256
@ @
static const int DEPTH_CLEAR_VALUE = 2931
@ @
static const int DEPTH_COMPONENT = 6402
@ @
static const int DEPTH_COMPONENT16 = 33189
@ @
static const int DEPTH_FUNC = 2932
@ @
static const int DEPTH_RANGE = 2928
@ @
static const int DEPTH_STENCIL = 34041
@ @
static const int DEPTH_STENCIL_ATTACHMENT = 33306
@ @
static const int DEPTH_TEST = 2929
@ @
static const int DEPTH_WRITEMASK = 2930
@ @
static const int DITHER = 3024
@ @
static const int DONT_CARE = 4352
@ @
static const int DST_ALPHA = 772
@ @
static const int DST_COLOR = 774
@ @
static const int DYNAMIC_DRAW = 35048
@ @
static const int ELEMENT_ARRAY_BUFFER = 34963
@ @
static const int ELEMENT_ARRAY_BUFFER_BINDING = 34965
@ @
static const int EQUAL = 514
@ @
static const int FASTEST = 4353
@ @
static const int FLOAT = 5126
@ @
static const int FLOAT_MAT2 = 35674
@ @
static const int FLOAT_MAT3 = 35675
@ @
static const int FLOAT_MAT4 = 35676
@ @
static const int FLOAT_VEC2 = 35664
@ @
static const int FLOAT_VEC3 = 35665
@ @
static const int FLOAT_VEC4 = 35666
@ @
static const int FRAGMENT_SHADER = 35632
@ @
static const int FRAMEBUFFER = 36160
@ @
static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 36049
@ @
static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 36048
@ @
static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 36051
@ @
static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 36050
@ @
static const int FRAMEBUFFER_BINDING = 36006
@ @
static const int FRAMEBUFFER_COMPLETE = 36053
@ @
static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 36054
@ @
static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 36057
@ @
static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 36055
@ @
static const int FRAMEBUFFER_UNSUPPORTED = 36061
@ @
static const int FRONT = 1028
@ @
static const int FRONT_AND_BACK = 1032
@ @
static const int FRONT_FACE = 2886
@ @
static const int FUNC_ADD = 32774
@ @
static const int FUNC_REVERSE_SUBTRACT = 32779
@ @
static const int FUNC_SUBTRACT = 32778
@ @
static const int GENERATE_MIPMAP_HINT = 33170
@ @
static const int GEQUAL = 518
@ @
static const int GREATER = 516
@ @
static const int GREEN_BITS = 3411
@ @
static const int HIGH_FLOAT = 36338
@ @
static const int HIGH_INT = 36341
@ @
static const int INCR = 7682
@ @
static const int INCR_WRAP = 34055
@ @
static const int INT = 5124
@ @
static const int INT_VEC2 = 35667
@ @
static const int INT_VEC3 = 35668
@ @
static const int INT_VEC4 = 35669
@ @
static const int INVALID_ENUM = 1280
@ @
static const int INVALID_FRAMEBUFFER_OPERATION = 1286
@ @
static const int INVALID_OPERATION = 1282
@ @
static const int INVALID_VALUE = 1281
@ @
static const int INVERT = 5386
@ @
static const int KEEP = 7680
@ @
static const int LEQUAL = 515
@ @
static const int LESS = 513
@ @
static const int LINEAR = 9729
@ @
static const int LINEAR_MIPMAP_LINEAR = 9987
@ @
static const int LINEAR_MIPMAP_NEAREST = 9985
@ @
static const int LINES = 1
@ @
static const int LINE_LOOP = 2
@ @
static const int LINE_STRIP = 3
@ @
static const int LINE_WIDTH = 2849
@ @
static const int LINK_STATUS = 35714
@ @
static const int LOW_FLOAT = 36336
@ @
static const int LOW_INT = 36339
@ @
static const int LUMINANCE = 6409
@ @
static const int LUMINANCE_ALPHA = 6410
@ @
static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 35661
@ @
static const int MAX_CUBE_MAP_TEXTURE_SIZE = 34076
@ @
static const int MAX_FRAGMENT_UNIFORM_VECTORS = 36349
@ @
static const int MAX_RENDERBUFFER_SIZE = 34024
@ @
static const int MAX_TEXTURE_IMAGE_UNITS = 34930
@ @
static const int MAX_TEXTURE_SIZE = 3379
@ @
static const int MAX_VARYING_VECTORS = 36348
@ @
static const int MAX_VERTEX_ATTRIBS = 34921
@ @
static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 35660
@ @
static const int MAX_VERTEX_UNIFORM_VECTORS = 36347
@ @
static const int MAX_VIEWPORT_DIMS = 3386
@ @
static const int MEDIUM_FLOAT = 36337
@ @
static const int MEDIUM_INT = 36340
@ @
static const int MIRRORED_REPEAT = 33648
@ @
static const int NEAREST = 9728
@ @
static const int NEAREST_MIPMAP_LINEAR = 9986
@ @
static const int NEAREST_MIPMAP_NEAREST = 9984
@ @
static const int NEVER = 512
@ @
static const int NICEST = 4354
@ @
static const int NONE = 0
@ @
static const int NOTEQUAL = 517
@ @
static const int NO_ERROR = 0
@ @
static const int ONE = 1
@ @
static const int ONE_MINUS_CONSTANT_ALPHA = 32772
@ @
static const int ONE_MINUS_CONSTANT_COLOR = 32770
@ @
static const int ONE_MINUS_DST_ALPHA = 773
@ @
static const int ONE_MINUS_DST_COLOR = 775
@ @
static const int ONE_MINUS_SRC_ALPHA = 771
@ @
static const int ONE_MINUS_SRC_COLOR = 769
@ @
static const int OUT_OF_MEMORY = 1285
@ @
static const int PACK_ALIGNMENT = 3333
@ @
static const int POINTS = 0
@ @
static const int POLYGON_OFFSET_FACTOR = 32824
@ @
static const int POLYGON_OFFSET_FILL = 32823
@ @
static const int POLYGON_OFFSET_UNITS = 10752
@ @
static const int RED_BITS = 3410
@ @
static const int RENDERBUFFER = 36161
@ @
static const int RENDERBUFFER_ALPHA_SIZE = 36179
@ @
static const int RENDERBUFFER_BINDING = 36007
@ @
static const int RENDERBUFFER_BLUE_SIZE = 36178
@ @
static const int RENDERBUFFER_DEPTH_SIZE = 36180
@ @
static const int RENDERBUFFER_GREEN_SIZE = 36177
@ @
static const int RENDERBUFFER_HEIGHT = 36163
@ @
static const int RENDERBUFFER_INTERNAL_FORMAT = 36164
@ @
static const int RENDERBUFFER_RED_SIZE = 36176
@ @
static const int RENDERBUFFER_STENCIL_SIZE = 36181
@ @
static const int RENDERBUFFER_WIDTH = 36162
@ @
static const int RENDERER = 7937
@ @
static const int REPEAT = 10497
@ @
static const int REPLACE = 7681
@ @
static const int RGB = 6407
@ @
static const int RGB565 = 36194
@ @
static const int RGB5_A1 = 32855
@ @
static const int RGBA = 6408
@ @
static const int RGBA4 = 32854
@ @
static const int SAMPLER_2D = 35678
@ @
static const int SAMPLER_CUBE = 35680
@ @
static const int SAMPLES = 32937
@ @
static const int SAMPLE_ALPHA_TO_COVERAGE = 32926
@ @
static const int SAMPLE_BUFFERS = 32936
@ @
static const int SAMPLE_COVERAGE = 32928
@ @
static const int SAMPLE_COVERAGE_INVERT = 32939
@ @
static const int SAMPLE_COVERAGE_VALUE = 32938
@ @
static const int SCISSOR_BOX = 3088
@ @
static const int SCISSOR_TEST = 3089
@ @
static const int SHADER_TYPE = 35663
@ @
static const int SHADING_LANGUAGE_VERSION = 35724
@ @
static const int SHORT = 5122
@ @
static const int SRC_ALPHA = 770
@ @
static const int SRC_ALPHA_SATURATE = 776
@ @
static const int SRC_COLOR = 768
@ @
static const int STATIC_DRAW = 35044
@ @
static const int STENCIL_ATTACHMENT = 36128
@ @
static const int STENCIL_BACK_FAIL = 34817
@ @
static const int STENCIL_BACK_FUNC = 34816
@ @
static const int STENCIL_BACK_PASS_DEPTH_FAIL = 34818
@ @
static const int STENCIL_BACK_PASS_DEPTH_PASS = 34819
@ @
static const int STENCIL_BACK_REF = 36003
@ @
static const int STENCIL_BACK_VALUE_MASK = 36004
@ @
static const int STENCIL_BACK_WRITEMASK = 36005
@ @
static const int STENCIL_BITS = 3415
@ @
static const int STENCIL_BUFFER_BIT = 1024
@ @
static const int STENCIL_CLEAR_VALUE = 2961
@ @
static const int STENCIL_FAIL = 2964
@ @
static const int STENCIL_FUNC = 2962
@ @
static const int STENCIL_INDEX = 6401
@ @
static const int STENCIL_INDEX8 = 36168
@ @
static const int STENCIL_PASS_DEPTH_FAIL = 2965
@ @
static const int STENCIL_PASS_DEPTH_PASS = 2966
@ @
static const int STENCIL_REF = 2967
@ @
static const int STENCIL_TEST = 2960
@ @
static const int STENCIL_VALUE_MASK = 2963
@ @
static const int STENCIL_WRITEMASK = 2968
@ @
static const int STREAM_DRAW = 35040
@ @
static const int SUBPIXEL_BITS = 3408
@ @
static const int TEXTURE = 5890
@ @
static const int TEXTURE0 = 33984
@ @
static const int TEXTURE1 = 33985
@ @
static const int TEXTURE10 = 33994
@ @
static const int TEXTURE11 = 33995
@ @
static const int TEXTURE12 = 33996
@ @
static const int TEXTURE13 = 33997
@ @
static const int TEXTURE14 = 33998
@ @
static const int TEXTURE15 = 33999
@ @
static const int TEXTURE16 = 34000
@ @
static const int TEXTURE17 = 34001
@ @
static const int TEXTURE18 = 34002
@ @
static const int TEXTURE19 = 34003
@ @
static const int TEXTURE2 = 33986
@ @
static const int TEXTURE20 = 34004
@ @
static const int TEXTURE21 = 34005
@ @
static const int TEXTURE22 = 34006
@ @
static const int TEXTURE23 = 34007
@ @
static const int TEXTURE24 = 34008
@ @
static const int TEXTURE25 = 34009
@ @
static const int TEXTURE26 = 34010
@ @
static const int TEXTURE27 = 34011
@ @
static const int TEXTURE28 = 34012
@ @
static const int TEXTURE29 = 34013
@ @
static const int TEXTURE3 = 33987
@ @
static const int TEXTURE30 = 34014
@ @
static const int TEXTURE31 = 34015
@ @
static const int TEXTURE4 = 33988
@ @
static const int TEXTURE5 = 33989
@ @
static const int TEXTURE6 = 33990
@ @
static const int TEXTURE7 = 33991
@ @
static const int TEXTURE8 = 33992
@ @
static const int TEXTURE9 = 33993
@ @
static const int TEXTURE_2D = 3553
@ @
static const int TEXTURE_BINDING_2D = 32873
@ @
static const int TEXTURE_BINDING_CUBE_MAP = 34068
@ @
static const int TEXTURE_CUBE_MAP = 34067
@ @
static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 34070
@ @
static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072
@ @
static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074
@ @
static const int TEXTURE_CUBE_MAP_POSITIVE_X = 34069
@ @
static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 34071
@ @
static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 34073
@ @
static const int TEXTURE_MAG_FILTER = 10240
@ @
static const int TEXTURE_MIN_FILTER = 10241
@ @
static const int TEXTURE_WRAP_S = 10242
@ @
static const int TEXTURE_WRAP_T = 10243
@ @
static const int TRIANGLES = 4
@ @
static const int TRIANGLE_FAN = 6
@ @
static const int TRIANGLE_STRIP = 5
@ @
static const int UNPACK_ALIGNMENT = 3317
@ @
static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 37443
@ @
static const int UNPACK_FLIP_Y_WEBGL = 37440
@ @
static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 37441
@ @
static const int UNSIGNED_BYTE = 5121
@ @
static const int UNSIGNED_INT = 5125
@ @
static const int UNSIGNED_SHORT = 5123
@ @
static const int UNSIGNED_SHORT_4_4_4_4 = 32819
@ @
static const int UNSIGNED_SHORT_5_5_5_1 = 32820
@ @
static const int UNSIGNED_SHORT_5_6_5 = 33635
@ @
static const int VALIDATE_STATUS = 35715
@ @
static const int VENDOR = 7936
@ @
static const int VERSION = 7938
@ @
static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 34975
@ @
static const int VERTEX_ATTRIB_ARRAY_ENABLED = 34338
@ @
static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 34922
@ @
static const int VERTEX_ATTRIB_ARRAY_POINTER = 34373
@ @
static const int VERTEX_ATTRIB_ARRAY_SIZE = 34339
@ @
static const int VERTEX_ATTRIB_ARRAY_STRIDE = 34340
@ @
static const int VERTEX_ATTRIB_ARRAY_TYPE = 34341
@ @
static const int VERTEX_SHADER = 35633
@ @
static const int VIEWPORT = 2978
@ @
static const int ZERO = 0
static final bool supported

Fields

final int drawingBufferHeight
final int drawingBufferWidth

Getters and Setters

@ @
int get drawingBufferHeight
@ @
int get drawingBufferWidth
static bool get supported

Checks if this type is supported on the current platform.

Methods

@ @
void activeTexture(int texture)
@ @
void attachShader(Program program, Shader shader)
@ @
void bindAttribLocation(Program program, int index, String name)
@ @
void bindBuffer(int target, Buffer buffer)
@ @
void bindFramebuffer(int target, Framebuffer framebuffer)
@ @
void bindRenderbuffer(int target, Renderbuffer renderbuffer)
@ @
void bindTexture(int target, Texture texture)
@ @
void blendColor(num red, num green, num blue, num 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 bufferByteData(int target, ByteBuffer data, int usage)
@ @
void bufferData(int target, int size, int usage)
@ @
void bufferDataTyped(int target, TypedData data, int usage)
@ @
void bufferSubByteData(int target, int offset, ByteBuffer data)
@ @
void bufferSubDataTyped(int target, int offset, TypedData data)
@ @
int checkFramebufferStatus(int target)
@ @
void clear(int mask)
@ @
void clearColor(num red, num green, num blue, num alpha)
@ @
void clearDepth(num depth)
@ @
void clearStencil(int s)
@ @
void colorMask(bool red, bool green, bool blue, bool alpha)
@ @
void compileShader(Shader shader)
@ @
void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data)
@ @
void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData 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)
@ @
Buffer createBuffer()
@ @
Framebuffer createFramebuffer()
@ @
Program createProgram()
@ @
Renderbuffer createRenderbuffer()
@ @
Shader createShader(int type)
@ @
Texture createTexture()
@ @
void cullFace(int mode)
@ @
void deleteBuffer(Buffer buffer)
@ @
void deleteFramebuffer(Framebuffer framebuffer)
@ @
void deleteProgram(Program program)
@ @
void deleteRenderbuffer(Renderbuffer renderbuffer)
@ @
void deleteShader(Shader shader)
@ @
void deleteTexture(Texture texture)
@ @
void depthFunc(int func)
@ @
void depthMask(bool flag)
@ @
void depthRange(num zNear, num zFar)
@ @
void detachShader(Program program, Shader 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, int offset)
@ @
void enable(int cap)
@ @
void enableVertexAttribArray(int index)
@ @
void finish()
@ @
void flush()
@ @
void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer)
@ @
void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level)
@ @
void frontFace(int mode)
@ @
void generateMipmap(int target)
@ @
ActiveInfo getActiveAttrib(Program program, int index)
@ @
ActiveInfo getActiveUniform(Program program, int index)
@ @
void getAttachedShaders(Program program)
@ @
int getAttribLocation(Program program, String name)
@ @
Object getBufferParameter(int target, int pname)
@ @
ContextAttributes getContextAttributes()
@ @
int getError()
@ @
Object getExtension(String name)
@ @
Object getFramebufferAttachmentParameter(int target, int attachment, int pname)
@ @
Object getParameter(int pname)
@ @
String getProgramInfoLog(Program program)
@ @
Object getProgramParameter(Program program, int pname)
@ @
Object getRenderbufferParameter(int target, int pname)
@ @
String getShaderInfoLog(Shader shader)
@ @
Object getShaderParameter(Shader shader, int pname)
@ @
ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype)
@ @
String getShaderSource(Shader shader)
@ @
List<String> getSupportedExtensions()
@ @
Object getTexParameter(int target, int pname)
@ @
Object getUniform(Program program, UniformLocation location)
@ @
UniformLocation getUniformLocation(Program program, String name)
@ @
Object getVertexAttrib(int index, int pname)
@ @
int getVertexAttribOffset(int index, int pname)
@ @
void hint(int target, int mode)
@ @
bool isBuffer(Buffer buffer)
@ @
bool isContextLost()
@ @
bool isEnabled(int cap)
@ @
bool isFramebuffer(Framebuffer framebuffer)
@ @
bool isProgram(Program program)
@ @
bool isRenderbuffer(Renderbuffer renderbuffer)
@ @
bool isShader(Shader shader)
@ @
bool isTexture(Texture texture)
@ @
void lineWidth(num width)
@ @
void linkProgram(Program program)
@ @
void pixelStorei(int pname, int param)
@ @
void polygonOffset(num factor, num units)
@ @
void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels)
@ @
void renderbufferStorage(int target, int internalformat, int width, int height)
@ @
void sampleCoverage(num value, bool invert)
@ @
void scissor(int x, int y, int width, int height)
@ @
void shaderSource(Shader 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 targetTexture, int levelOfDetail, int internalFormat, int format, int type, dynamic data)

Sets the currently bound texture to data.

data can be either an ImageElement, a CanvasElement, a VideoElement, or an ImageData object.

To use texImage2d with a TypedData object, use texImage2dTyped.

@ @
void texImage2DCanvas(int target, int level, int internalformat, int format, int type, CanvasElement canvas)
@ @
void texImage2DImage(int target, int level, int internalformat, int format, int type, ImageElement image)
@ @
void texImage2DImageData(int target, int level, int internalformat, int format, int type, ImageData pixels)
void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, int width, int height, int border, int format, int type, TypedData data)

Sets the currently bound texture to data.

@ @
void texImage2DVideo(int target, int level, int internalformat, int format, int type, VideoElement video)
@ @
void texParameterf(int target, int pname, num param)
@ @
void texParameteri(int target, int pname, int param)
@
void texSubImage2D(int targetTexture, int levelOfDetail, int internalFormat, int format, int type, dynamic data)

Updates a sub-rectangle of the currently bound texture to data.

data can be either an ImageElement, a CanvasElement, a VideoElement, or an ImageData object.

To use texSubImage2d with a TypedData object, use texSubImage2dTyped.

@ @
void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas)
@ @
void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int format, int type, ImageElement image)
@ @
void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, int format, int type, ImageData pixels)
void texSubImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, int width, int height, int border, int format, int type, TypedData data)

Updates a sub-rectangle of the currently bound texture to data.

@ @
void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int format, int type, VideoElement video)
@ @
void uniform1f(UniformLocation location, num x)
@ @
void uniform1fv(UniformLocation location, Float32List v)
@ @
void uniform1i(UniformLocation location, int x)
@ @
void uniform1iv(UniformLocation location, Int32List v)
@ @
void uniform2f(UniformLocation location, num x, num y)
@ @
void uniform2fv(UniformLocation location, Float32List v)
@ @
void uniform2i(UniformLocation location, int x, int y)
@ @
void uniform2iv(UniformLocation location, Int32List v)
@ @
void uniform3f(UniformLocation location, num x, num y, num z)
@ @
void uniform3fv(UniformLocation location, Float32List v)
@ @
void uniform3i(UniformLocation location, int x, int y, int z)
@ @
void uniform3iv(UniformLocation location, Int32List v)
@ @
void uniform4f(UniformLocation location, num x, num y, num z, num w)
@ @
void uniform4fv(UniformLocation location, Float32List v)
@ @
void uniform4i(UniformLocation location, int x, int y, int z, int w)
@ @
void uniform4iv(UniformLocation location, Int32List v)
@ @
void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List array)
@ @
void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List array)
@ @
void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List array)
@ @
void useProgram(Program program)
@ @
void validateProgram(Program program)
@ @
void vertexAttrib1f(int indx, num x)
@ @
void vertexAttrib1fv(int indx, Float32List values)
@ @
void vertexAttrib2f(int indx, num x, num y)
@ @
void vertexAttrib2fv(int indx, Float32List values)
@ @
void vertexAttrib3f(int indx, num x, num y, num z)
@ @
void vertexAttrib3fv(int indx, Float32List values)
@ @
void vertexAttrib4f(int indx, num x, num y, num z, num w)
@ @
void vertexAttrib4fv(int indx, Float32List values)
@ @
void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset)
@ @
void viewport(int x, int y, int width, int height)

@ @
Class Shader extends NativeFieldWrapperClass1

Constructors
Shader()

Constructors

Shader()

@ @
Class ShaderPrecisionFormat extends NativeFieldWrapperClass1

Fields
precision: int
rangeMax: int
rangeMin: int
Getters and Setters
precision: int
rangeMax: int
rangeMin: int
Constructors
ShaderPrecisionFormat()

Fields

final int precision
final int rangeMax
final int rangeMin

Getters and Setters

@ @
int get precision
@ @
int get rangeMax
@ @
int get rangeMin

Constructors

ShaderPrecisionFormat()

@ @
Class Texture extends NativeFieldWrapperClass1

Constructors
Texture()

Constructors

Texture()

@ @
Class UniformLocation extends NativeFieldWrapperClass1

Constructors
UniformLocation()

Constructors

UniformLocation()

@ @ @
Class VertexArrayObject extends NativeFieldWrapperClass1

Constructors
VertexArrayObject()

Constructors

VertexArrayObject()