The WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.

Documentation WebGL2RenderingContext by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

@:value(35721)staticinlineread onlyACTIVE_ATTRIBUTES:Int = 35721

@:value(34016)staticinlineread onlyACTIVE_TEXTURE:Int = 34016

@:value(35718)staticinlineread onlyACTIVE_UNIFORMS:Int = 35718

@:value(35382)staticinlineread onlyACTIVE_UNIFORM_BLOCKS:Int = 35382

@:value(33902)staticinlineread onlyALIASED_LINE_WIDTH_RANGE:Int = 33902

@:value(33901)staticinlineread onlyALIASED_POINT_SIZE_RANGE:Int = 33901

@:value(6406)staticinlineread onlyALPHA:Int = 6406

@:value(3413)staticinlineread onlyALPHA_BITS:Int = 3413

@:value(37146)staticinlineread onlyALREADY_SIGNALED:Int = 37146

@:value(519)staticinlineread onlyALWAYS:Int = 519

@:value(35887)staticinlineread onlyANY_SAMPLES_PASSED:Int = 35887

@:value(36202)staticinlineread onlyANY_SAMPLES_PASSED_CONSERVATIVE:Int = 36202

@:value(34962)staticinlineread onlyARRAY_BUFFER:Int = 34962

@:value(34964)staticinlineread onlyARRAY_BUFFER_BINDING:Int = 34964

@:value(35717)staticinlineread onlyATTACHED_SHADERS:Int = 35717

@:value(1029)staticinlineread onlyBACK:Int = 1029

@:value(3042)staticinlineread onlyBLEND:Int = 3042

@:value(32773)staticinlineread onlyBLEND_COLOR:Int = 32773

@:value(32970)staticinlineread onlyBLEND_DST_ALPHA:Int = 32970

@:value(32968)staticinlineread onlyBLEND_DST_RGB:Int = 32968

@:value(32777)staticinlineread onlyBLEND_EQUATION:Int = 32777

@:value(34877)staticinlineread onlyBLEND_EQUATION_ALPHA:Int = 34877

@:value(32777)staticinlineread onlyBLEND_EQUATION_RGB:Int = 32777

@:value(32971)staticinlineread onlyBLEND_SRC_ALPHA:Int = 32971

@:value(32969)staticinlineread onlyBLEND_SRC_RGB:Int = 32969

@:value(3412)staticinlineread onlyBLUE_BITS:Int = 3412

@:value(35670)staticinlineread onlyBOOL:Int = 35670

@:value(35671)staticinlineread onlyBOOL_VEC2:Int = 35671

@:value(35672)staticinlineread onlyBOOL_VEC3:Int = 35672

@:value(35673)staticinlineread onlyBOOL_VEC4:Int = 35673

@:value(37444)staticinlineread onlyBROWSER_DEFAULT_WEBGL:Int = 37444

@:value(34660)staticinlineread onlyBUFFER_SIZE:Int = 34660

@:value(34661)staticinlineread onlyBUFFER_USAGE:Int = 34661

@:value(5120)staticinlineread onlyBYTE:Int = 5120

@:value(2305)staticinlineread onlyCCW:Int = 2305

@:value(33071)staticinlineread onlyCLAMP_TO_EDGE:Int = 33071

@:value(6144)staticinlineread onlyCOLOR:Int = 6144

@:value(36064)staticinlineread onlyCOLOR_ATTACHMENT0:Int = 36064

@:value(36065)staticinlineread onlyCOLOR_ATTACHMENT1:Int = 36065

@:value(36074)staticinlineread onlyCOLOR_ATTACHMENT10:Int = 36074

@:value(36075)staticinlineread onlyCOLOR_ATTACHMENT11:Int = 36075

@:value(36076)staticinlineread onlyCOLOR_ATTACHMENT12:Int = 36076

@:value(36077)staticinlineread onlyCOLOR_ATTACHMENT13:Int = 36077

@:value(36078)staticinlineread onlyCOLOR_ATTACHMENT14:Int = 36078

@:value(36079)staticinlineread onlyCOLOR_ATTACHMENT15:Int = 36079

@:value(36066)staticinlineread onlyCOLOR_ATTACHMENT2:Int = 36066

@:value(36067)staticinlineread onlyCOLOR_ATTACHMENT3:Int = 36067

@:value(36068)staticinlineread onlyCOLOR_ATTACHMENT4:Int = 36068

@:value(36069)staticinlineread onlyCOLOR_ATTACHMENT5:Int = 36069

@:value(36070)staticinlineread onlyCOLOR_ATTACHMENT6:Int = 36070

@:value(36071)staticinlineread onlyCOLOR_ATTACHMENT7:Int = 36071

@:value(36072)staticinlineread onlyCOLOR_ATTACHMENT8:Int = 36072

@:value(36073)staticinlineread onlyCOLOR_ATTACHMENT9:Int = 36073

@:value(16384)staticinlineread onlyCOLOR_BUFFER_BIT:Int = 16384

@:value(3106)staticinlineread onlyCOLOR_CLEAR_VALUE:Int = 3106

@:value(3107)staticinlineread onlyCOLOR_WRITEMASK:Int = 3107

@:value(34894)staticinlineread onlyCOMPARE_REF_TO_TEXTURE:Int = 34894

@:value(35713)staticinlineread onlyCOMPILE_STATUS:Int = 35713

@:value(34467)staticinlineread onlyCOMPRESSED_TEXTURE_FORMATS:Int = 34467

@:value(37148)staticinlineread onlyCONDITION_SATISFIED:Int = 37148

@:value(32771)staticinlineread onlyCONSTANT_ALPHA:Int = 32771

@:value(32769)staticinlineread onlyCONSTANT_COLOR:Int = 32769

@:value(37442)staticinlineread onlyCONTEXT_LOST_WEBGL:Int = 37442

@:value(36662)staticinlineread onlyCOPY_READ_BUFFER:Int = 36662

@:value(36662)staticinlineread onlyCOPY_READ_BUFFER_BINDING:Int = 36662

@:value(36663)staticinlineread onlyCOPY_WRITE_BUFFER:Int = 36663

@:value(36663)staticinlineread onlyCOPY_WRITE_BUFFER_BINDING:Int = 36663

@:value(2884)staticinlineread onlyCULL_FACE:Int = 2884

@:value(2885)staticinlineread onlyCULL_FACE_MODE:Int = 2885

@:value(35725)staticinlineread onlyCURRENT_PROGRAM:Int = 35725

@:value(34917)staticinlineread onlyCURRENT_QUERY:Int = 34917

@:value(34342)staticinlineread onlyCURRENT_VERTEX_ATTRIB:Int = 34342

@:value(2304)staticinlineread onlyCW:Int = 2304

@:value(7683)staticinlineread onlyDECR:Int = 7683

@:value(34056)staticinlineread onlyDECR_WRAP:Int = 34056

@:value(35712)staticinlineread onlyDELETE_STATUS:Int = 35712

@:value(6145)staticinlineread onlyDEPTH:Int = 6145

@:value(35056)staticinlineread onlyDEPTH24_STENCIL8:Int = 35056

@:value(36013)staticinlineread onlyDEPTH32F_STENCIL8:Int = 36013

@:value(36096)staticinlineread onlyDEPTH_ATTACHMENT:Int = 36096

@:value(3414)staticinlineread onlyDEPTH_BITS:Int = 3414

@:value(256)staticinlineread onlyDEPTH_BUFFER_BIT:Int = 256

@:value(2931)staticinlineread onlyDEPTH_CLEAR_VALUE:Int = 2931

@:value(6402)staticinlineread onlyDEPTH_COMPONENT:Int = 6402

@:value(33189)staticinlineread onlyDEPTH_COMPONENT16:Int = 33189

@:value(33190)staticinlineread onlyDEPTH_COMPONENT24:Int = 33190

@:value(36012)staticinlineread onlyDEPTH_COMPONENT32F:Int = 36012

@:value(2932)staticinlineread onlyDEPTH_FUNC:Int = 2932

@:value(2928)staticinlineread onlyDEPTH_RANGE:Int = 2928

@:value(34041)staticinlineread onlyDEPTH_STENCIL:Int = 34041

@:value(33306)staticinlineread onlyDEPTH_STENCIL_ATTACHMENT:Int = 33306

@:value(2929)staticinlineread onlyDEPTH_TEST:Int = 2929

@:value(2930)staticinlineread onlyDEPTH_WRITEMASK:Int = 2930

@:value(3024)staticinlineread onlyDITHER:Int = 3024

@:value(4352)staticinlineread onlyDONT_CARE:Int = 4352

@:value(34853)staticinlineread onlyDRAW_BUFFER0:Int = 34853

@:value(34854)staticinlineread onlyDRAW_BUFFER1:Int = 34854

@:value(34863)staticinlineread onlyDRAW_BUFFER10:Int = 34863

@:value(34864)staticinlineread onlyDRAW_BUFFER11:Int = 34864

@:value(34865)staticinlineread onlyDRAW_BUFFER12:Int = 34865

@:value(34866)staticinlineread onlyDRAW_BUFFER13:Int = 34866

@:value(34867)staticinlineread onlyDRAW_BUFFER14:Int = 34867

@:value(34868)staticinlineread onlyDRAW_BUFFER15:Int = 34868

@:value(34855)staticinlineread onlyDRAW_BUFFER2:Int = 34855

@:value(34856)staticinlineread onlyDRAW_BUFFER3:Int = 34856

@:value(34857)staticinlineread onlyDRAW_BUFFER4:Int = 34857

@:value(34858)staticinlineread onlyDRAW_BUFFER5:Int = 34858

@:value(34859)staticinlineread onlyDRAW_BUFFER6:Int = 34859

@:value(34860)staticinlineread onlyDRAW_BUFFER7:Int = 34860

@:value(34861)staticinlineread onlyDRAW_BUFFER8:Int = 34861

@:value(34862)staticinlineread onlyDRAW_BUFFER9:Int = 34862

@:value(36009)staticinlineread onlyDRAW_FRAMEBUFFER:Int = 36009

@:value(36006)staticinlineread onlyDRAW_FRAMEBUFFER_BINDING:Int = 36006

@:value(772)staticinlineread onlyDST_ALPHA:Int = 772

@:value(774)staticinlineread onlyDST_COLOR:Int = 774

@:value(35050)staticinlineread onlyDYNAMIC_COPY:Int = 35050

@:value(35048)staticinlineread onlyDYNAMIC_DRAW:Int = 35048

@:value(35049)staticinlineread onlyDYNAMIC_READ:Int = 35049

@:value(34963)staticinlineread onlyELEMENT_ARRAY_BUFFER:Int = 34963

@:value(34965)staticinlineread onlyELEMENT_ARRAY_BUFFER_BINDING:Int = 34965

@:value(514)staticinlineread onlyEQUAL:Int = 514

@:value(4353)staticinlineread onlyFASTEST:Int = 4353

@:value(5126)staticinlineread onlyFLOAT:Int = 5126

@:value(36269)staticinlineread onlyFLOAT_32_UNSIGNED_INT_24_8_REV:Int = 36269

@:value(35674)staticinlineread onlyFLOAT_MAT2:Int = 35674

@:value(35685)staticinlineread onlyFLOAT_MAT2x3:Int = 35685

@:value(35686)staticinlineread onlyFLOAT_MAT2x4:Int = 35686

@:value(35675)staticinlineread onlyFLOAT_MAT3:Int = 35675

@:value(35687)staticinlineread onlyFLOAT_MAT3x2:Int = 35687

@:value(35688)staticinlineread onlyFLOAT_MAT3x4:Int = 35688

@:value(35676)staticinlineread onlyFLOAT_MAT4:Int = 35676

@:value(35689)staticinlineread onlyFLOAT_MAT4x2:Int = 35689

@:value(35690)staticinlineread onlyFLOAT_MAT4x3:Int = 35690

@:value(35664)staticinlineread onlyFLOAT_VEC2:Int = 35664

@:value(35665)staticinlineread onlyFLOAT_VEC3:Int = 35665

@:value(35666)staticinlineread onlyFLOAT_VEC4:Int = 35666

@:value(35632)staticinlineread onlyFRAGMENT_SHADER:Int = 35632

@:value(35723)staticinlineread onlyFRAGMENT_SHADER_DERIVATIVE_HINT:Int = 35723

@:value(36160)staticinlineread onlyFRAMEBUFFER:Int = 36160

@:value(33301)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:Int = 33301

@:value(33300)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_BLUE_SIZE:Int = 33300

@:value(33296)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:Int = 33296

@:value(33297)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:Int = 33297

@:value(33302)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:Int = 33302

@:value(33299)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_GREEN_SIZE:Int = 33299

@:value(36049)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_OBJECT_NAME:Int = 36049

@:value(36048)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:Int = 36048

@:value(33298)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_RED_SIZE:Int = 33298

@:value(33303)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:Int = 33303

@:value(36051)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:Int = 36051

@:value(36052)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:Int = 36052

@:value(36050)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:Int = 36050

@:value(36006)staticinlineread onlyFRAMEBUFFER_BINDING:Int = 36006

@:value(36053)staticinlineread onlyFRAMEBUFFER_COMPLETE:Int = 36053

@:value(33304)staticinlineread onlyFRAMEBUFFER_DEFAULT:Int = 33304

@:value(36054)staticinlineread onlyFRAMEBUFFER_INCOMPLETE_ATTACHMENT:Int = 36054

@:value(36057)staticinlineread onlyFRAMEBUFFER_INCOMPLETE_DIMENSIONS:Int = 36057

@:value(36055)staticinlineread onlyFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:Int = 36055

@:value(36182)staticinlineread onlyFRAMEBUFFER_INCOMPLETE_MULTISAMPLE:Int = 36182

@:value(36061)staticinlineread onlyFRAMEBUFFER_UNSUPPORTED:Int = 36061

@:value(1028)staticinlineread onlyFRONT:Int = 1028

@:value(1032)staticinlineread onlyFRONT_AND_BACK:Int = 1032

@:value(2886)staticinlineread onlyFRONT_FACE:Int = 2886

@:value(32774)staticinlineread onlyFUNC_ADD:Int = 32774

@:value(32779)staticinlineread onlyFUNC_REVERSE_SUBTRACT:Int = 32779

@:value(32778)staticinlineread onlyFUNC_SUBTRACT:Int = 32778

@:value(33170)staticinlineread onlyGENERATE_MIPMAP_HINT:Int = 33170

@:value(518)staticinlineread onlyGEQUAL:Int = 518

@:value(516)staticinlineread onlyGREATER:Int = 516

@:value(3411)staticinlineread onlyGREEN_BITS:Int = 3411

@:value(5131)staticinlineread onlyHALF_FLOAT:Int = 5131

@:value(36338)staticinlineread onlyHIGH_FLOAT:Int = 36338

@:value(36341)staticinlineread onlyHIGH_INT:Int = 36341

@:value(35739)staticinlineread onlyIMPLEMENTATION_COLOR_READ_FORMAT:Int = 35739

@:value(35738)staticinlineread onlyIMPLEMENTATION_COLOR_READ_TYPE:Int = 35738

@:value(7682)staticinlineread onlyINCR:Int = 7682

@:value(34055)staticinlineread onlyINCR_WRAP:Int = 34055

@:value(5124)staticinlineread onlyINT:Int = 5124

@:value(35980)staticinlineread onlyINTERLEAVED_ATTRIBS:Int = 35980

@:value(36255)staticinlineread onlyINT_2_10_10_10_REV:Int = 36255

@:value(36298)staticinlineread onlyINT_SAMPLER_2D:Int = 36298

@:value(36303)staticinlineread onlyINT_SAMPLER_2D_ARRAY:Int = 36303

@:value(36299)staticinlineread onlyINT_SAMPLER_3D:Int = 36299

@:value(36300)staticinlineread onlyINT_SAMPLER_CUBE:Int = 36300

@:value(35667)staticinlineread onlyINT_VEC2:Int = 35667

@:value(35668)staticinlineread onlyINT_VEC3:Int = 35668

@:value(35669)staticinlineread onlyINT_VEC4:Int = 35669

@:value(1280)staticinlineread onlyINVALID_ENUM:Int = 1280

@:value(1286)staticinlineread onlyINVALID_FRAMEBUFFER_OPERATION:Int = 1286

@:value(cast 4294967295)staticinlineread onlyINVALID_INDEX:Int = cast 4294967295

@:value(1282)staticinlineread onlyINVALID_OPERATION:Int = 1282

@:value(1281)staticinlineread onlyINVALID_VALUE:Int = 1281

@:value(5386)staticinlineread onlyINVERT:Int = 5386

@:value(7680)staticinlineread onlyKEEP:Int = 7680

@:value(515)staticinlineread onlyLEQUAL:Int = 515

@:value(513)staticinlineread onlyLESS:Int = 513

@:value(9729)staticinlineread onlyLINEAR:Int = 9729

@:value(9987)staticinlineread onlyLINEAR_MIPMAP_LINEAR:Int = 9987

@:value(9985)staticinlineread onlyLINEAR_MIPMAP_NEAREST:Int = 9985

@:value(1)staticinlineread onlyLINES:Int = 1

@:value(2)staticinlineread onlyLINE_LOOP:Int = 2

@:value(3)staticinlineread onlyLINE_STRIP:Int = 3

@:value(2849)staticinlineread onlyLINE_WIDTH:Int = 2849

@:value(35714)staticinlineread onlyLINK_STATUS:Int = 35714

@:value(36336)staticinlineread onlyLOW_FLOAT:Int = 36336

@:value(36339)staticinlineread onlyLOW_INT:Int = 36339

@:value(6409)staticinlineread onlyLUMINANCE:Int = 6409

@:value(6410)staticinlineread onlyLUMINANCE_ALPHA:Int = 6410

@:value(32776)staticinlineread onlyMAX:Int = 32776

@:value(32883)staticinlineread onlyMAX_3D_TEXTURE_SIZE:Int = 32883

@:value(35071)staticinlineread onlyMAX_ARRAY_TEXTURE_LAYERS:Int = 35071

@:value(37447)staticinlineread onlyMAX_CLIENT_WAIT_TIMEOUT_WEBGL:Int = 37447

@:value(36063)staticinlineread onlyMAX_COLOR_ATTACHMENTS:Int = 36063

@:value(35379)staticinlineread onlyMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:Int = 35379

@:value(35661)staticinlineread onlyMAX_COMBINED_TEXTURE_IMAGE_UNITS:Int = 35661

@:value(35374)staticinlineread onlyMAX_COMBINED_UNIFORM_BLOCKS:Int = 35374

@:value(35377)staticinlineread onlyMAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:Int = 35377

@:value(34076)staticinlineread onlyMAX_CUBE_MAP_TEXTURE_SIZE:Int = 34076

@:value(34852)staticinlineread onlyMAX_DRAW_BUFFERS:Int = 34852

@:value(33001)staticinlineread onlyMAX_ELEMENTS_INDICES:Int = 33001

@:value(33000)staticinlineread onlyMAX_ELEMENTS_VERTICES:Int = 33000

@:value(36203)staticinlineread onlyMAX_ELEMENT_INDEX:Int = 36203

@:value(37157)staticinlineread onlyMAX_FRAGMENT_INPUT_COMPONENTS:Int = 37157

@:value(35373)staticinlineread onlyMAX_FRAGMENT_UNIFORM_BLOCKS:Int = 35373

@:value(35657)staticinlineread onlyMAX_FRAGMENT_UNIFORM_COMPONENTS:Int = 35657

@:value(36349)staticinlineread onlyMAX_FRAGMENT_UNIFORM_VECTORS:Int = 36349

@:value(35077)staticinlineread onlyMAX_PROGRAM_TEXEL_OFFSET:Int = 35077

@:value(34024)staticinlineread onlyMAX_RENDERBUFFER_SIZE:Int = 34024

@:value(36183)staticinlineread onlyMAX_SAMPLES:Int = 36183

@:value(37137)staticinlineread onlyMAX_SERVER_WAIT_TIMEOUT:Int = 37137

@:value(34930)staticinlineread onlyMAX_TEXTURE_IMAGE_UNITS:Int = 34930

@:value(34045)staticinlineread onlyMAX_TEXTURE_LOD_BIAS:Int = 34045

@:value(3379)staticinlineread onlyMAX_TEXTURE_SIZE:Int = 3379

@:value(35978)staticinlineread onlyMAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:Int = 35978

@:value(35979)staticinlineread onlyMAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:Int = 35979

@:value(35968)staticinlineread onlyMAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:Int = 35968

@:value(35376)staticinlineread onlyMAX_UNIFORM_BLOCK_SIZE:Int = 35376

@:value(35375)staticinlineread onlyMAX_UNIFORM_BUFFER_BINDINGS:Int = 35375

@:value(35659)staticinlineread onlyMAX_VARYING_COMPONENTS:Int = 35659

@:value(36348)staticinlineread onlyMAX_VARYING_VECTORS:Int = 36348

@:value(34921)staticinlineread onlyMAX_VERTEX_ATTRIBS:Int = 34921

@:value(37154)staticinlineread onlyMAX_VERTEX_OUTPUT_COMPONENTS:Int = 37154

@:value(35660)staticinlineread onlyMAX_VERTEX_TEXTURE_IMAGE_UNITS:Int = 35660

@:value(35371)staticinlineread onlyMAX_VERTEX_UNIFORM_BLOCKS:Int = 35371

@:value(35658)staticinlineread onlyMAX_VERTEX_UNIFORM_COMPONENTS:Int = 35658

@:value(36347)staticinlineread onlyMAX_VERTEX_UNIFORM_VECTORS:Int = 36347

@:value(3386)staticinlineread onlyMAX_VIEWPORT_DIMS:Int = 3386

@:value(36337)staticinlineread onlyMEDIUM_FLOAT:Int = 36337

@:value(36340)staticinlineread onlyMEDIUM_INT:Int = 36340

@:value(32775)staticinlineread onlyMIN:Int = 32775

@:value(35076)staticinlineread onlyMIN_PROGRAM_TEXEL_OFFSET:Int = 35076

@:value(33648)staticinlineread onlyMIRRORED_REPEAT:Int = 33648

@:value(9728)staticinlineread onlyNEAREST:Int = 9728

@:value(9986)staticinlineread onlyNEAREST_MIPMAP_LINEAR:Int = 9986

@:value(9984)staticinlineread onlyNEAREST_MIPMAP_NEAREST:Int = 9984

@:value(512)staticinlineread onlyNEVER:Int = 512

@:value(4354)staticinlineread onlyNICEST:Int = 4354

@:value(0)staticinlineread onlyNONE:Int = 0

@:value(517)staticinlineread onlyNOTEQUAL:Int = 517

@:value(0)staticinlineread onlyNO_ERROR:Int = 0

@:value(37138)staticinlineread onlyOBJECT_TYPE:Int = 37138

@:value(1)staticinlineread onlyONE:Int = 1

@:value(32772)staticinlineread onlyONE_MINUS_CONSTANT_ALPHA:Int = 32772

@:value(32770)staticinlineread onlyONE_MINUS_CONSTANT_COLOR:Int = 32770

@:value(773)staticinlineread onlyONE_MINUS_DST_ALPHA:Int = 773

@:value(775)staticinlineread onlyONE_MINUS_DST_COLOR:Int = 775

@:value(771)staticinlineread onlyONE_MINUS_SRC_ALPHA:Int = 771

@:value(769)staticinlineread onlyONE_MINUS_SRC_COLOR:Int = 769

@:value(1285)staticinlineread onlyOUT_OF_MEMORY:Int = 1285

@:value(3333)staticinlineread onlyPACK_ALIGNMENT:Int = 3333

@:value(3330)staticinlineread onlyPACK_ROW_LENGTH:Int = 3330

@:value(3332)staticinlineread onlyPACK_SKIP_PIXELS:Int = 3332

@:value(3331)staticinlineread onlyPACK_SKIP_ROWS:Int = 3331

@:value(35051)staticinlineread onlyPIXEL_PACK_BUFFER:Int = 35051

@:value(35053)staticinlineread onlyPIXEL_PACK_BUFFER_BINDING:Int = 35053

@:value(35052)staticinlineread onlyPIXEL_UNPACK_BUFFER:Int = 35052

@:value(35055)staticinlineread onlyPIXEL_UNPACK_BUFFER_BINDING:Int = 35055

@:value(0)staticinlineread onlyPOINTS:Int = 0

@:value(32824)staticinlineread onlyPOLYGON_OFFSET_FACTOR:Int = 32824

@:value(32823)staticinlineread onlyPOLYGON_OFFSET_FILL:Int = 32823

@:value(10752)staticinlineread onlyPOLYGON_OFFSET_UNITS:Int = 10752

@:value(34918)staticinlineread onlyQUERY_RESULT:Int = 34918

@:value(34919)staticinlineread onlyQUERY_RESULT_AVAILABLE:Int = 34919

@:value(35898)staticinlineread onlyR11F_G11F_B10F:Int = 35898

@:value(33325)staticinlineread onlyR16F:Int = 33325

@:value(33331)staticinlineread onlyR16I:Int = 33331

@:value(33332)staticinlineread onlyR16UI:Int = 33332

@:value(33326)staticinlineread onlyR32F:Int = 33326

@:value(33333)staticinlineread onlyR32I:Int = 33333

@:value(33334)staticinlineread onlyR32UI:Int = 33334

@:value(33321)staticinlineread onlyR8:Int = 33321

@:value(33329)staticinlineread onlyR8I:Int = 33329

@:value(33330)staticinlineread onlyR8UI:Int = 33330

@:value(36756)staticinlineread onlyR8_SNORM:Int = 36756

@:value(35977)staticinlineread onlyRASTERIZER_DISCARD:Int = 35977

@:value(3074)staticinlineread onlyREAD_BUFFER:Int = 3074

@:value(36008)staticinlineread onlyREAD_FRAMEBUFFER:Int = 36008

@:value(36010)staticinlineread onlyREAD_FRAMEBUFFER_BINDING:Int = 36010

@:value(6403)staticinlineread onlyRED:Int = 6403

@:value(3410)staticinlineread onlyRED_BITS:Int = 3410

@:value(36244)staticinlineread onlyRED_INTEGER:Int = 36244

@:value(36161)staticinlineread onlyRENDERBUFFER:Int = 36161

@:value(36179)staticinlineread onlyRENDERBUFFER_ALPHA_SIZE:Int = 36179

@:value(36007)staticinlineread onlyRENDERBUFFER_BINDING:Int = 36007

@:value(36178)staticinlineread onlyRENDERBUFFER_BLUE_SIZE:Int = 36178

@:value(36180)staticinlineread onlyRENDERBUFFER_DEPTH_SIZE:Int = 36180

@:value(36177)staticinlineread onlyRENDERBUFFER_GREEN_SIZE:Int = 36177

@:value(36163)staticinlineread onlyRENDERBUFFER_HEIGHT:Int = 36163

@:value(36164)staticinlineread onlyRENDERBUFFER_INTERNAL_FORMAT:Int = 36164

@:value(36176)staticinlineread onlyRENDERBUFFER_RED_SIZE:Int = 36176

@:value(36011)staticinlineread onlyRENDERBUFFER_SAMPLES:Int = 36011

@:value(36181)staticinlineread onlyRENDERBUFFER_STENCIL_SIZE:Int = 36181

@:value(36162)staticinlineread onlyRENDERBUFFER_WIDTH:Int = 36162

@:value(7937)staticinlineread onlyRENDERER:Int = 7937

@:value(10497)staticinlineread onlyREPEAT:Int = 10497

@:value(7681)staticinlineread onlyREPLACE:Int = 7681

@:value(33319)staticinlineread onlyRG:Int = 33319

@:value(33327)staticinlineread onlyRG16F:Int = 33327

@:value(33337)staticinlineread onlyRG16I:Int = 33337

@:value(33338)staticinlineread onlyRG16UI:Int = 33338

@:value(33328)staticinlineread onlyRG32F:Int = 33328

@:value(33339)staticinlineread onlyRG32I:Int = 33339

@:value(33340)staticinlineread onlyRG32UI:Int = 33340

@:value(33323)staticinlineread onlyRG8:Int = 33323

@:value(33335)staticinlineread onlyRG8I:Int = 33335

@:value(33336)staticinlineread onlyRG8UI:Int = 33336

@:value(36757)staticinlineread onlyRG8_SNORM:Int = 36757

@:value(6407)staticinlineread onlyRGB:Int = 6407

@:value(32857)staticinlineread onlyRGB10_A2:Int = 32857

@:value(36975)staticinlineread onlyRGB10_A2UI:Int = 36975

@:value(34843)staticinlineread onlyRGB16F:Int = 34843

@:value(36233)staticinlineread onlyRGB16I:Int = 36233

@:value(36215)staticinlineread onlyRGB16UI:Int = 36215

@:value(34837)staticinlineread onlyRGB32F:Int = 34837

@:value(36227)staticinlineread onlyRGB32I:Int = 36227

@:value(36209)staticinlineread onlyRGB32UI:Int = 36209

@:value(36194)staticinlineread onlyRGB565:Int = 36194

@:value(32855)staticinlineread onlyRGB5_A1:Int = 32855

@:value(32849)staticinlineread onlyRGB8:Int = 32849

@:value(36239)staticinlineread onlyRGB8I:Int = 36239

@:value(36221)staticinlineread onlyRGB8UI:Int = 36221

@:value(36758)staticinlineread onlyRGB8_SNORM:Int = 36758

@:value(35901)staticinlineread onlyRGB9_E5:Int = 35901

@:value(6408)staticinlineread onlyRGBA:Int = 6408

@:value(34842)staticinlineread onlyRGBA16F:Int = 34842

@:value(36232)staticinlineread onlyRGBA16I:Int = 36232

@:value(36214)staticinlineread onlyRGBA16UI:Int = 36214

@:value(34836)staticinlineread onlyRGBA32F:Int = 34836

@:value(36226)staticinlineread onlyRGBA32I:Int = 36226

@:value(36208)staticinlineread onlyRGBA32UI:Int = 36208

@:value(32854)staticinlineread onlyRGBA4:Int = 32854

@:value(32856)staticinlineread onlyRGBA8:Int = 32856

@:value(36238)staticinlineread onlyRGBA8I:Int = 36238

@:value(36220)staticinlineread onlyRGBA8UI:Int = 36220

@:value(36759)staticinlineread onlyRGBA8_SNORM:Int = 36759

@:value(36249)staticinlineread onlyRGBA_INTEGER:Int = 36249

@:value(36248)staticinlineread onlyRGB_INTEGER:Int = 36248

@:value(33320)staticinlineread onlyRG_INTEGER:Int = 33320

@:value(35678)staticinlineread onlySAMPLER_2D:Int = 35678

@:value(36289)staticinlineread onlySAMPLER_2D_ARRAY:Int = 36289

@:value(36292)staticinlineread onlySAMPLER_2D_ARRAY_SHADOW:Int = 36292

@:value(35682)staticinlineread onlySAMPLER_2D_SHADOW:Int = 35682

@:value(35679)staticinlineread onlySAMPLER_3D:Int = 35679

@:value(35097)staticinlineread onlySAMPLER_BINDING:Int = 35097

@:value(35680)staticinlineread onlySAMPLER_CUBE:Int = 35680

@:value(36293)staticinlineread onlySAMPLER_CUBE_SHADOW:Int = 36293

@:value(32937)staticinlineread onlySAMPLES:Int = 32937

@:value(32926)staticinlineread onlySAMPLE_ALPHA_TO_COVERAGE:Int = 32926

@:value(32936)staticinlineread onlySAMPLE_BUFFERS:Int = 32936

@:value(32928)staticinlineread onlySAMPLE_COVERAGE:Int = 32928

@:value(32939)staticinlineread onlySAMPLE_COVERAGE_INVERT:Int = 32939

@:value(32938)staticinlineread onlySAMPLE_COVERAGE_VALUE:Int = 32938

@:value(3088)staticinlineread onlySCISSOR_BOX:Int = 3088

@:value(3089)staticinlineread onlySCISSOR_TEST:Int = 3089

@:value(35981)staticinlineread onlySEPARATE_ATTRIBS:Int = 35981

@:value(35663)staticinlineread onlySHADER_TYPE:Int = 35663

@:value(35724)staticinlineread onlySHADING_LANGUAGE_VERSION:Int = 35724

@:value(5122)staticinlineread onlySHORT:Int = 5122

@:value(37145)staticinlineread onlySIGNALED:Int = 37145

@:value(36764)staticinlineread onlySIGNED_NORMALIZED:Int = 36764

@:value(770)staticinlineread onlySRC_ALPHA:Int = 770

@:value(776)staticinlineread onlySRC_ALPHA_SATURATE:Int = 776

@:value(768)staticinlineread onlySRC_COLOR:Int = 768

@:value(35904)staticinlineread onlySRGB:Int = 35904

@:value(35905)staticinlineread onlySRGB8:Int = 35905

@:value(35907)staticinlineread onlySRGB8_ALPHA8:Int = 35907

@:value(35046)staticinlineread onlySTATIC_COPY:Int = 35046

@:value(35044)staticinlineread onlySTATIC_DRAW:Int = 35044

@:value(35045)staticinlineread onlySTATIC_READ:Int = 35045

@:value(6146)staticinlineread onlySTENCIL:Int = 6146

@:value(36128)staticinlineread onlySTENCIL_ATTACHMENT:Int = 36128

@:value(34817)staticinlineread onlySTENCIL_BACK_FAIL:Int = 34817

@:value(34816)staticinlineread onlySTENCIL_BACK_FUNC:Int = 34816

@:value(34818)staticinlineread onlySTENCIL_BACK_PASS_DEPTH_FAIL:Int = 34818

@:value(34819)staticinlineread onlySTENCIL_BACK_PASS_DEPTH_PASS:Int = 34819

@:value(36003)staticinlineread onlySTENCIL_BACK_REF:Int = 36003

@:value(36004)staticinlineread onlySTENCIL_BACK_VALUE_MASK:Int = 36004

@:value(36005)staticinlineread onlySTENCIL_BACK_WRITEMASK:Int = 36005

@:value(3415)staticinlineread onlySTENCIL_BITS:Int = 3415

@:value(1024)staticinlineread onlySTENCIL_BUFFER_BIT:Int = 1024

@:value(2961)staticinlineread onlySTENCIL_CLEAR_VALUE:Int = 2961

@:value(2964)staticinlineread onlySTENCIL_FAIL:Int = 2964

@:value(2962)staticinlineread onlySTENCIL_FUNC:Int = 2962

@:value(36168)staticinlineread onlySTENCIL_INDEX8:Int = 36168

@:value(2965)staticinlineread onlySTENCIL_PASS_DEPTH_FAIL:Int = 2965

@:value(2966)staticinlineread onlySTENCIL_PASS_DEPTH_PASS:Int = 2966

@:value(2967)staticinlineread onlySTENCIL_REF:Int = 2967

@:value(2960)staticinlineread onlySTENCIL_TEST:Int = 2960

@:value(2963)staticinlineread onlySTENCIL_VALUE_MASK:Int = 2963

@:value(2968)staticinlineread onlySTENCIL_WRITEMASK:Int = 2968

@:value(35042)staticinlineread onlySTREAM_COPY:Int = 35042

@:value(35040)staticinlineread onlySTREAM_DRAW:Int = 35040

@:value(35041)staticinlineread onlySTREAM_READ:Int = 35041

@:value(3408)staticinlineread onlySUBPIXEL_BITS:Int = 3408

@:value(37139)staticinlineread onlySYNC_CONDITION:Int = 37139

@:value(37142)staticinlineread onlySYNC_FENCE:Int = 37142

@:value(37141)staticinlineread onlySYNC_FLAGS:Int = 37141

@:value(1)staticinlineread onlySYNC_FLUSH_COMMANDS_BIT:Int = 1

@:value(37143)staticinlineread onlySYNC_GPU_COMMANDS_COMPLETE:Int = 37143

@:value(37140)staticinlineread onlySYNC_STATUS:Int = 37140

@:value(5890)staticinlineread onlyTEXTURE:Int = 5890

@:value(33984)staticinlineread onlyTEXTURE0:Int = 33984

@:value(33985)staticinlineread onlyTEXTURE1:Int = 33985

@:value(33994)staticinlineread onlyTEXTURE10:Int = 33994

@:value(33995)staticinlineread onlyTEXTURE11:Int = 33995

@:value(33996)staticinlineread onlyTEXTURE12:Int = 33996

@:value(33997)staticinlineread onlyTEXTURE13:Int = 33997

@:value(33998)staticinlineread onlyTEXTURE14:Int = 33998

@:value(33999)staticinlineread onlyTEXTURE15:Int = 33999

@:value(34000)staticinlineread onlyTEXTURE16:Int = 34000

@:value(34001)staticinlineread onlyTEXTURE17:Int = 34001

@:value(34002)staticinlineread onlyTEXTURE18:Int = 34002

@:value(34003)staticinlineread onlyTEXTURE19:Int = 34003

@:value(33986)staticinlineread onlyTEXTURE2:Int = 33986

@:value(34004)staticinlineread onlyTEXTURE20:Int = 34004

@:value(34005)staticinlineread onlyTEXTURE21:Int = 34005

@:value(34006)staticinlineread onlyTEXTURE22:Int = 34006

@:value(34007)staticinlineread onlyTEXTURE23:Int = 34007

@:value(34008)staticinlineread onlyTEXTURE24:Int = 34008

@:value(34009)staticinlineread onlyTEXTURE25:Int = 34009

@:value(34010)staticinlineread onlyTEXTURE26:Int = 34010

@:value(34011)staticinlineread onlyTEXTURE27:Int = 34011

@:value(34012)staticinlineread onlyTEXTURE28:Int = 34012

@:value(34013)staticinlineread onlyTEXTURE29:Int = 34013

@:value(33987)staticinlineread onlyTEXTURE3:Int = 33987

@:value(34014)staticinlineread onlyTEXTURE30:Int = 34014

@:value(34015)staticinlineread onlyTEXTURE31:Int = 34015

@:value(33988)staticinlineread onlyTEXTURE4:Int = 33988

@:value(33989)staticinlineread onlyTEXTURE5:Int = 33989

@:value(33990)staticinlineread onlyTEXTURE6:Int = 33990

@:value(33991)staticinlineread onlyTEXTURE7:Int = 33991

@:value(33992)staticinlineread onlyTEXTURE8:Int = 33992

@:value(33993)staticinlineread onlyTEXTURE9:Int = 33993

@:value(3553)staticinlineread onlyTEXTURE_2D:Int = 3553

@:value(35866)staticinlineread onlyTEXTURE_2D_ARRAY:Int = 35866

@:value(32879)staticinlineread onlyTEXTURE_3D:Int = 32879

@:value(33084)staticinlineread onlyTEXTURE_BASE_LEVEL:Int = 33084

@:value(32873)staticinlineread onlyTEXTURE_BINDING_2D:Int = 32873

@:value(35869)staticinlineread onlyTEXTURE_BINDING_2D_ARRAY:Int = 35869

@:value(32874)staticinlineread onlyTEXTURE_BINDING_3D:Int = 32874

@:value(34068)staticinlineread onlyTEXTURE_BINDING_CUBE_MAP:Int = 34068

@:value(34893)staticinlineread onlyTEXTURE_COMPARE_FUNC:Int = 34893

@:value(34892)staticinlineread onlyTEXTURE_COMPARE_MODE:Int = 34892

@:value(34067)staticinlineread onlyTEXTURE_CUBE_MAP:Int = 34067

@:value(34070)staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_X:Int = 34070

@:value(34072)staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_Y:Int = 34072

@:value(34074)staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_Z:Int = 34074

@:value(34069)staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_X:Int = 34069

@:value(34071)staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_Y:Int = 34071

@:value(34073)staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_Z:Int = 34073

@:value(37167)staticinlineread onlyTEXTURE_IMMUTABLE_FORMAT:Int = 37167

@:value(33503)staticinlineread onlyTEXTURE_IMMUTABLE_LEVELS:Int = 33503

@:value(10240)staticinlineread onlyTEXTURE_MAG_FILTER:Int = 10240

@:value(33085)staticinlineread onlyTEXTURE_MAX_LEVEL:Int = 33085

@:value(33083)staticinlineread onlyTEXTURE_MAX_LOD:Int = 33083

@:value(10241)staticinlineread onlyTEXTURE_MIN_FILTER:Int = 10241

@:value(33082)staticinlineread onlyTEXTURE_MIN_LOD:Int = 33082

@:value(32882)staticinlineread onlyTEXTURE_WRAP_R:Int = 32882

@:value(10242)staticinlineread onlyTEXTURE_WRAP_S:Int = 10242

@:value(10243)staticinlineread onlyTEXTURE_WRAP_T:Int = 10243

@:value(37147)staticinlineread onlyTIMEOUT_EXPIRED:Int = 37147

@:value(-1)staticinlineread onlyTIMEOUT_IGNORED:Int = -1

@:value(36386)staticinlineread onlyTRANSFORM_FEEDBACK:Int = 36386

@:value(36388)staticinlineread onlyTRANSFORM_FEEDBACK_ACTIVE:Int = 36388

@:value(36389)staticinlineread onlyTRANSFORM_FEEDBACK_BINDING:Int = 36389

@:value(35982)staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER:Int = 35982

@:value(35983)staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_BINDING:Int = 35983

@:value(35967)staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_MODE:Int = 35967

@:value(35973)staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_SIZE:Int = 35973

@:value(35972)staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_START:Int = 35972

@:value(36387)staticinlineread onlyTRANSFORM_FEEDBACK_PAUSED:Int = 36387

@:value(35976)staticinlineread onlyTRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:Int = 35976

@:value(35971)staticinlineread onlyTRANSFORM_FEEDBACK_VARYINGS:Int = 35971

@:value(4)staticinlineread onlyTRIANGLES:Int = 4

@:value(6)staticinlineread onlyTRIANGLE_FAN:Int = 6

@:value(5)staticinlineread onlyTRIANGLE_STRIP:Int = 5

@:value(35388)staticinlineread onlyUNIFORM_ARRAY_STRIDE:Int = 35388

@:value(35394)staticinlineread onlyUNIFORM_BLOCK_ACTIVE_UNIFORMS:Int = 35394

@:value(35395)staticinlineread onlyUNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:Int = 35395

@:value(35391)staticinlineread onlyUNIFORM_BLOCK_BINDING:Int = 35391

@:value(35392)staticinlineread onlyUNIFORM_BLOCK_DATA_SIZE:Int = 35392

@:value(35386)staticinlineread onlyUNIFORM_BLOCK_INDEX:Int = 35386

@:value(35398)staticinlineread onlyUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:Int = 35398

@:value(35396)staticinlineread onlyUNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:Int = 35396

@:value(35345)staticinlineread onlyUNIFORM_BUFFER:Int = 35345

@:value(35368)staticinlineread onlyUNIFORM_BUFFER_BINDING:Int = 35368

@:value(35380)staticinlineread onlyUNIFORM_BUFFER_OFFSET_ALIGNMENT:Int = 35380

@:value(35370)staticinlineread onlyUNIFORM_BUFFER_SIZE:Int = 35370

@:value(35369)staticinlineread onlyUNIFORM_BUFFER_START:Int = 35369

@:value(35390)staticinlineread onlyUNIFORM_IS_ROW_MAJOR:Int = 35390

@:value(35389)staticinlineread onlyUNIFORM_MATRIX_STRIDE:Int = 35389

@:value(35387)staticinlineread onlyUNIFORM_OFFSET:Int = 35387

@:value(35384)staticinlineread onlyUNIFORM_SIZE:Int = 35384

@:value(35383)staticinlineread onlyUNIFORM_TYPE:Int = 35383

@:value(3317)staticinlineread onlyUNPACK_ALIGNMENT:Int = 3317

@:value(37443)staticinlineread onlyUNPACK_COLORSPACE_CONVERSION_WEBGL:Int = 37443

@:value(37440)staticinlineread onlyUNPACK_FLIP_Y_WEBGL:Int = 37440

@:value(32878)staticinlineread onlyUNPACK_IMAGE_HEIGHT:Int = 32878

@:value(37441)staticinlineread onlyUNPACK_PREMULTIPLY_ALPHA_WEBGL:Int = 37441

@:value(3314)staticinlineread onlyUNPACK_ROW_LENGTH:Int = 3314

@:value(32877)staticinlineread onlyUNPACK_SKIP_IMAGES:Int = 32877

@:value(3316)staticinlineread onlyUNPACK_SKIP_PIXELS:Int = 3316

@:value(3315)staticinlineread onlyUNPACK_SKIP_ROWS:Int = 3315

@:value(37144)staticinlineread onlyUNSIGNALED:Int = 37144

@:value(5121)staticinlineread onlyUNSIGNED_BYTE:Int = 5121

@:value(5125)staticinlineread onlyUNSIGNED_INT:Int = 5125

@:value(35899)staticinlineread onlyUNSIGNED_INT_10F_11F_11F_REV:Int = 35899

@:value(34042)staticinlineread onlyUNSIGNED_INT_24_8:Int = 34042

@:value(33640)staticinlineread onlyUNSIGNED_INT_2_10_10_10_REV:Int = 33640

@:value(35902)staticinlineread onlyUNSIGNED_INT_5_9_9_9_REV:Int = 35902

@:value(36306)staticinlineread onlyUNSIGNED_INT_SAMPLER_2D:Int = 36306

@:value(36311)staticinlineread onlyUNSIGNED_INT_SAMPLER_2D_ARRAY:Int = 36311

@:value(36307)staticinlineread onlyUNSIGNED_INT_SAMPLER_3D:Int = 36307

@:value(36308)staticinlineread onlyUNSIGNED_INT_SAMPLER_CUBE:Int = 36308

@:value(36294)staticinlineread onlyUNSIGNED_INT_VEC2:Int = 36294

@:value(36295)staticinlineread onlyUNSIGNED_INT_VEC3:Int = 36295

@:value(36296)staticinlineread onlyUNSIGNED_INT_VEC4:Int = 36296

@:value(35863)staticinlineread onlyUNSIGNED_NORMALIZED:Int = 35863

@:value(5123)staticinlineread onlyUNSIGNED_SHORT:Int = 5123

@:value(32819)staticinlineread onlyUNSIGNED_SHORT_4_4_4_4:Int = 32819

@:value(32820)staticinlineread onlyUNSIGNED_SHORT_5_5_5_1:Int = 32820

@:value(33635)staticinlineread onlyUNSIGNED_SHORT_5_6_5:Int = 33635

@:value(35715)staticinlineread onlyVALIDATE_STATUS:Int = 35715

@:value(7936)staticinlineread onlyVENDOR:Int = 7936

@:value(7938)staticinlineread onlyVERSION:Int = 7938

@:value(34229)staticinlineread onlyVERTEX_ARRAY_BINDING:Int = 34229

@:value(34975)staticinlineread onlyVERTEX_ATTRIB_ARRAY_BUFFER_BINDING:Int = 34975

@:value(35070)staticinlineread onlyVERTEX_ATTRIB_ARRAY_DIVISOR:Int = 35070

@:value(34338)staticinlineread onlyVERTEX_ATTRIB_ARRAY_ENABLED:Int = 34338

@:value(35069)staticinlineread onlyVERTEX_ATTRIB_ARRAY_INTEGER:Int = 35069

@:value(34922)staticinlineread onlyVERTEX_ATTRIB_ARRAY_NORMALIZED:Int = 34922

@:value(34373)staticinlineread onlyVERTEX_ATTRIB_ARRAY_POINTER:Int = 34373

@:value(34339)staticinlineread onlyVERTEX_ATTRIB_ARRAY_SIZE:Int = 34339

@:value(34340)staticinlineread onlyVERTEX_ATTRIB_ARRAY_STRIDE:Int = 34340

@:value(34341)staticinlineread onlyVERTEX_ATTRIB_ARRAY_TYPE:Int = 34341

@:value(35633)staticinlineread onlyVERTEX_SHADER:Int = 35633

@:value(2978)staticinlineread onlyVIEWPORT:Int = 2978

@:value(37149)staticinlineread onlyWAIT_FAILED:Int = 37149

@:value(0)staticinlineread onlyZERO:Int = 0

Methods

beginQuery(target:Int, query:Query):Void

Begins an asynchronous query.

beginTransformFeedback(primitiveMode:Int):Void

Starts a transform feedback operation.

bindBufferBase(target:Int, index:Int, buffer:Buffer):Void

Binds a given WebGLBuffer to a given binding point (target) at a given index.

bindBufferRange(target:Int, index:Int, buffer:Buffer, offset:Int, size:Int):Void

Binds a range of a given WebGLBuffer to a given binding point (target) at a given index.

bindSampler(unit:Int, sampler:Sampler):Void

Binds a given WebGLSampler to a texture unit.

bindTransformFeedback(target:Int, tf:TransformFeedback):Void

Binds a passed WebGLTransformFeedback object to the current GL state.

bindVertexArray(array:VertexArrayObject):Void

Binds a given WebGLVertexArrayObject to the buffer.

blitFramebuffer(srcX0:Int, srcY0:Int, srcX1:Int, srcY1:Int, dstX0:Int, dstY0:Int, dstX1:Int, dstY1:Int, mask:Int, filter:Int):Void

Transfers a block of pixels from the read framebuffer to the draw framebuffer.

@:value({ length : 0 })bufferData(target:Int, srcData:ArrayBufferView, usage:Int, srcOffset:Int, length:Int = 0):Void

bufferData(target:Int, size:Int, usage:Int):Void

bufferData(target:Int, srcData:ArrayBuffer, usage:Int):Void

bufferData(target:Int, srcData:ArrayBufferView, usage:Int):Void

Initializes and creates the buffer object's data store.

@:value({ length : 0 })bufferSubData(target:Int, dstByteOffset:Int, srcData:ArrayBufferView, srcOffset:Int, length:Int = 0):Void

bufferSubData(target:Int, offset:Int, srcData:ArrayBuffer):Void

bufferSubData(target:Int, offset:Int, srcData:ArrayBufferView):Void

Updates a subset of a buffer object's data store.

clearBufferfi(buffer:Int, drawbuffer:Int, depth:Float, stencil:Int):Void

@:value({ srcOffset : 0 })clearBufferfv(buffer:Int, drawbuffer:Int, values:Float32Array, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })clearBufferfv(buffer:Int, drawbuffer:Int, values:Array<Float>, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })clearBufferiv(buffer:Int, drawbuffer:Int, values:Int32Array, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })clearBufferiv(buffer:Int, drawbuffer:Int, values:Array<Int>, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })clearBufferuiv(buffer:Int, drawbuffer:Int, values:Uint32Array, srcOffset:Int = 0):Void

@:value({ srcOffset : 0 })clearBufferuiv(buffer:Int, drawbuffer:Int, values:Array<Int>, srcOffset:Int = 0):Void

clientWaitSync(sync:Sync, flags:Int, timeout:Int):Int

Blocks and waits for a WebGLSync object to become signaled or a given timeout to be passed.

@:value({ srcLengthOverride : 0, srcOffset : 0 })compressedTexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, srcData:ArrayBufferView, srcOffset:Int = 0, srcLengthOverride:Int = 0):Void

compressedTexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, imageSize:Int, offset:Int):Void

Specifies a three-dimensional texture image in a compressed format.

@:value({ srcLengthOverride : 0, srcOffset : 0 })compressedTexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, srcData:ArrayBufferView, srcOffset:Int = 0, srcLengthOverride:Int = 0):Void

compressedTexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, imageSize:Int, offset:Int):Void

Specifies a three-dimensional sub-rectangle for a texture image in a compressed format.

copyBufferSubData(readTarget:Int, writeTarget:Int, readOffset:Int, writeOffset:Int, size:Int):Void

Copies part of the data of a buffer to another buffer.

copyTexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, x:Int, y:Int, width:Int, height:Int):Void

Copies pixels from the current WebGLFramebuffer into an existing 3D texture sub-image.

createQuery():Query

Creates a new WebGLQuery object.

createSampler():Sampler

Creates a new WebGLSampler object.

createTransformFeedback():TransformFeedback

Creates and initializes WebGLTransformFeedback objects.

createVertexArray():VertexArrayObject

Creates a new WebGLVertexArrayObject.

deleteQuery(query:Query):Void

Deletes a given WebGLQuery object.

deleteSampler(sampler:Sampler):Void

Deletes a given WebGLSampler object.

deleteSync(sync:Sync):Void

Deletes a given WebGLSync object.

deleteTransformFeedback(tf:TransformFeedback):Void

Deletes a given WebGLTransformFeedback object.

deleteVertexArray(vertexArray:VertexArrayObject):Void

Deletes a given WebGLVertexArrayObject.

drawArraysInstanced(mode:Int, first:Int, count:Int, instanceCount:Int):Void

Renders primitives from array data. In addition, it can execute multiple instances of the range of elements.

drawBuffers(buffers:Array<Int>):Void

Specifies a list of color buffers to be drawn into.

drawElementsInstanced(mode:Int, count:Int, type:Int, offset:Int, instanceCount:Int):Void

Renders primitives from array data. In addition, it can execute multiple instances of a set of elements.

drawRangeElements(mode:Int, start:Int, end:Int, count:Int, type:Int, offset:Int):Void

Renders primitives from array data in a given range.

endQuery(target:Int):Void

Marks the end of an asynchronous query.

endTransformFeedback():Void

Ends a transform feedback operation.

fenceSync(condition:Int, flags:Int):Sync

Creates a new WebGLSync object and inserts it into the GL command stream.

framebufferTextureLayer(target:Int, attachment:Int, texture:Texture, level:Int, layer:Int):Void

Attaches a single layer of a texture to a framebuffer.

getActiveUniformBlockName(program:Program, uniformBlockIndex:Int):String

Retrieves the name of the active uniform block at a given index within a WebGLProgram.

getActiveUniformBlockParameter(program:Program, uniformBlockIndex:Int, pname:Int):Dynamic

Retrieves information about an active uniform block within a WebGLProgram.

Throws:

null

DOMError

getActiveUniforms(program:Program, uniformIndices:Array<Int>, pname:Int):Dynamic

Retrieves information about active uniforms within a WebGLProgram.

@:value({ length : 0, dstOffset : 0 })getBufferSubData(target:Int, srcByteOffset:Int, dstData:ArrayBufferView, dstOffset:Int = 0, length:Int = 0):Void

Reads data from a buffer and writes them to an ArrayBuffer or SharedArrayBuffer.

getExtension<T>(name:Extension<T>):T

Throws:

null

DOMError

getFragDataLocation(program:Program, name:String):Int

Returns the binding of color numbers to user-defined varying out variables.

getFramebufferAttachmentParameter(target:Int, attachment:Int, pname:Int):Dynamic

Throws:

null

DOMError

getIndexedParameter(target:Int, index:Int):Dynamic

Returns the indexed value for the given target.

Throws:

null

DOMError

getInternalformatParameter(target:Int, internalformat:Int, pname:Int):Dynamic

Returns information about implementation-dependent support for internal formats.

Throws:

null

DOMError

getParameter(pname:Int):Dynamic

Throws:

null

DOMError

getQuery(target:Int, pname:Int):Dynamic

Returns a WebGLQuery object for a given target.

getQueryParameter(query:Query, pname:Int):Dynamic

Returns information about a query.

getSamplerParameter(sampler:Sampler, pname:Int):Dynamic

Returns sampler parameter information.

getSyncParameter(sync:Sync, pname:Int):Dynamic

Returns parameter information of a WebGLSync object.

getTransformFeedbackVarying(program:Program, index:Int):ActiveInfo

Returns information about varying variables from WebGLTransformFeedback buffers.

getUniformBlockIndex(program:Program, uniformBlockName:String):Int

Retrieves the index of a uniform block within a WebGLProgram.

getUniformIndices(program:Program, uniformNames:Array<String>):Array<Int>

Retrieves the indices of a number of uniforms within a WebGLProgram.

getVertexAttrib(index:Int, pname:Int):Dynamic

Throws:

null

DOMError

invalidateFramebuffer(target:Int, attachments:Array<Int>):Void

Invalidates the contents of attachments in a framebuffer.

Throws:

null

DOMError

invalidateSubFramebuffer(target:Int, attachments:Array<Int>, x:Int, y:Int, width:Int, height:Int):Void

Invalidates portions of the contents of attachments in a framebuffer

Throws:

null

DOMError

isQuery(query:Query):Bool

Returns true if a given object is a valid WebGLQuery object.

isSampler(sampler:Sampler):Bool

Returns true if a given object is a valid WebGLSampler object.

isSync(sync:Sync):Bool

Returns true if the passed object is a valid WebGLSync object.

isTransformFeedback(tf:TransformFeedback):Bool

Returns true if the passed object is a valid WebGLTransformFeedback object.

isVertexArray(vertexArray:VertexArrayObject):Bool

Returns true if a given object is a valid WebGLVertexArrayObject.

pauseTransformFeedback():Void

Pauses a transform feedback operation.

readBuffer(src:Int):Void

Selects a color buffer as the source for pixels.

readPixels(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, dstData:ArrayBufferView, dstOffset:Int):Void

readPixels(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, dstData:ArrayBufferView):Void

readPixels(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, offset:Int):Void

Throws:

null

DOMError

renderbufferStorageMultisample(target:Int, samples:Int, internalformat:Int, width:Int, height:Int):Void

Creates and initializes a renderbuffer object's data store and allows specifying the number of samples to be used.

resumeTransformFeedback():Void

Resumes a transform feedback operation.

samplerParameterf(sampler:Sampler, pname:Int, param:Float):Void

samplerParameteri(sampler:Sampler, pname:Int, param:Int):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:CanvasElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:ImageElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:VideoElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:ImageBitmap):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:ImageData):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pboOffset:Int):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:CanvasElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:ImageElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:VideoElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:ImageBitmap):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:ImageData):Void

Throws:

null

DOMError

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, pboOffset:Int):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:CanvasElement):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:ImageElement):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:VideoElement):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:ImageBitmap):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:ImageData):Void

texImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView):Void

Specifies a three-dimensional texture image.

Throws:

null

DOMError

texStorage2D(target:Int, levels:Int, internalformat:Int, width:Int, height:Int):Void

Specifies all levels of two-dimensional texture storage.

texStorage3D(target:Int, levels:Int, internalformat:Int, width:Int, height:Int, depth:Int):Void

Specifies all levels of a three-dimensional texture or two-dimensional array texture.

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:CanvasElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:ImageElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:VideoElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:ImageBitmap):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:ImageData):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pboOffset:Int):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:CanvasElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:ImageElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:VideoElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:ImageBitmap):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:ImageData):Void

Throws:

null

DOMError

@:value({ srcOffset : 0 })texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int = 0):Void

texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, pboOffset:Int):Void

texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:CanvasElement):Void

texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:ImageElement):Void

texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:VideoElement):Void

texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:ImageBitmap):Void

texSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:ImageData):Void

Specifies a sub-rectangle of the current 3D texture.

Throws:

null

DOMError

transformFeedbackVaryings(program:Program, varyings:Array<String>, bufferMode:Int):Void

Specifies values to record in WebGLTransformFeedback buffers.

@:value({ srcLength : 0, srcOffset : 0 })uniform1uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform1uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform2uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform2uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Void

uniform3ui(location:UniformLocation, v0:Int, v1:Int, v2:Int):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform3uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform3uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Void

uniform4ui(location:UniformLocation, v0:Int, v1:Int, v2:Int, v3:Int):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform4uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniform4uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Void

uniformBlockBinding(program:Program, uniformBlockIndex:Int, uniformBlockBinding:Int):Void

Assigns binding points for active uniform blocks.

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix2x3fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix2x3fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix2x4fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix2x4fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix3x2fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix3x2fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix3x4fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix3x4fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix4x2fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix4x2fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix4x3fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

@:value({ srcLength : 0, srcOffset : 0 })uniformMatrix4x3fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):Void

vertexAttribDivisor(index:Int, divisor:Int):Void

Modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with WebGL2RenderingContext.drawArraysInstanced() and WebGL2RenderingContext.drawElementsInstanced().

vertexAttribI4i(index:Int, x:Int, y:Int, z:Int, w:Int):Void

vertexAttribI4ui(index:Int, x:Int, y:Int, z:Int, w:Int):Void

vertexAttribIPointer(index:Int, size:Int, type:Int, stride:Int, offset:Int):Void

Specifies integer data formats and locations of vertex attributes in a vertex attributes array.

waitSync(sync:Sync, flags:Int, timeout:Int):Void

Returns immediately, but waits on the GL server until the given WebGLSync object is signaled.

Inherited Variables

Defined by RenderingContext

read onlycanvas:CanvasElement

A read-only back-reference to the HTMLCanvasElement. Might be null if it is not associated with a canvas element.

read onlydrawingBufferHeight:Int

The read-only height of the current drawing buffer. Should match the height of the canvas element associated with this context.

read onlydrawingBufferWidth:Int

The read-only width of the current drawing buffer. Should match the width of the canvas element associated with this context.

Inherited Methods

Defined by RenderingContext

bufferData(target:Int, data:ArrayBufferView, usage:Int):Void

bufferData(target:Int, size:Int, usage:Int):Void

bufferData(target:Int, data:ArrayBuffer, usage:Int):Void

Updates buffer data.

bufferSubData(target:Int, offset:Int, data:ArrayBufferView):Void

bufferSubData(target:Int, offset:Int, data:ArrayBuffer):Void

Updates buffer data starting at a passed offset.

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, video:VideoElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, pixels:ImageBitmap):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, pixels:ImageData):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, image:ImageElement):Void

texImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, canvas:CanvasElement):Void

Specifies a 2D texture image.

Throws:

null

DOMError

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, video:VideoElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, pixels:ImageBitmap):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, pixels:ImageData):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, image:ImageElement):Void

texSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, canvas:CanvasElement):Void

Updates a sub-rectangle of the current WebGLTexture.

Throws:

null

DOMError