W3cubDocs

/Haxe JavaScript

WebGL2RenderingContext

package js.html.webgl

extends RenderingContext

Available on js

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

staticinlineread onlyACTIVE_ATTRIBUTES:Int = 35721

staticinlineread onlyACTIVE_TEXTURE:Int = 34016

staticinlineread onlyACTIVE_UNIFORMS:Int = 35718

staticinlineread onlyACTIVE_UNIFORM_BLOCKS:Int = 35382

staticinlineread onlyALIASED_LINE_WIDTH_RANGE:Int = 33902

staticinlineread onlyALIASED_POINT_SIZE_RANGE:Int = 33901

staticinlineread onlyALPHA:Int = 6406

staticinlineread onlyALPHA_BITS:Int = 3413

staticinlineread onlyALREADY_SIGNALED:Int = 37146

staticinlineread onlyALWAYS:Int = 519

staticinlineread onlyANY_SAMPLES_PASSED:Int = 35887

staticinlineread onlyANY_SAMPLES_PASSED_CONSERVATIVE:Int = 36202

staticinlineread onlyARRAY_BUFFER:Int = 34962

staticinlineread onlyARRAY_BUFFER_BINDING:Int = 34964

staticinlineread onlyATTACHED_SHADERS:Int = 35717

staticinlineread onlyBACK:Int = 1029

staticinlineread onlyBLEND:Int = 3042

staticinlineread onlyBLEND_COLOR:Int = 32773

staticinlineread onlyBLEND_DST_ALPHA:Int = 32970

staticinlineread onlyBLEND_DST_RGB:Int = 32968

staticinlineread onlyBLEND_EQUATION:Int = 32777

staticinlineread onlyBLEND_EQUATION_ALPHA:Int = 34877

staticinlineread onlyBLEND_EQUATION_RGB:Int = 32777

staticinlineread onlyBLEND_SRC_ALPHA:Int = 32971

staticinlineread onlyBLEND_SRC_RGB:Int = 32969

staticinlineread onlyBLUE_BITS:Int = 3412

staticinlineread onlyBOOL:Int = 35670

staticinlineread onlyBOOL_VEC2:Int = 35671

staticinlineread onlyBOOL_VEC3:Int = 35672

staticinlineread onlyBOOL_VEC4:Int = 35673

staticinlineread onlyBROWSER_DEFAULT_WEBGL:Int = 37444

staticinlineread onlyBUFFER_SIZE:Int = 34660

staticinlineread onlyBUFFER_USAGE:Int = 34661

staticinlineread onlyBYTE:Int = 5120

staticinlineread onlyCCW:Int = 2305

staticinlineread onlyCLAMP_TO_EDGE:Int = 33071

staticinlineread onlyCOLOR:Int = 6144

staticinlineread onlyCOLOR_ATTACHMENT0:Int = 36064

staticinlineread onlyCOLOR_ATTACHMENT1:Int = 36065

staticinlineread onlyCOLOR_ATTACHMENT10:Int = 36074

staticinlineread onlyCOLOR_ATTACHMENT11:Int = 36075

staticinlineread onlyCOLOR_ATTACHMENT12:Int = 36076

staticinlineread onlyCOLOR_ATTACHMENT13:Int = 36077

staticinlineread onlyCOLOR_ATTACHMENT14:Int = 36078

staticinlineread onlyCOLOR_ATTACHMENT15:Int = 36079

staticinlineread onlyCOLOR_ATTACHMENT2:Int = 36066

staticinlineread onlyCOLOR_ATTACHMENT3:Int = 36067

staticinlineread onlyCOLOR_ATTACHMENT4:Int = 36068

staticinlineread onlyCOLOR_ATTACHMENT5:Int = 36069

staticinlineread onlyCOLOR_ATTACHMENT6:Int = 36070

staticinlineread onlyCOLOR_ATTACHMENT7:Int = 36071

staticinlineread onlyCOLOR_ATTACHMENT8:Int = 36072

staticinlineread onlyCOLOR_ATTACHMENT9:Int = 36073

staticinlineread onlyCOLOR_BUFFER_BIT:Int = 16384

staticinlineread onlyCOLOR_CLEAR_VALUE:Int = 3106

staticinlineread onlyCOLOR_WRITEMASK:Int = 3107

staticinlineread onlyCOMPARE_REF_TO_TEXTURE:Int = 34894

staticinlineread onlyCOMPILE_STATUS:Int = 35713

staticinlineread onlyCOMPRESSED_TEXTURE_FORMATS:Int = 34467

staticinlineread onlyCONDITION_SATISFIED:Int = 37148

staticinlineread onlyCONSTANT_ALPHA:Int = 32771

staticinlineread onlyCONSTANT_COLOR:Int = 32769

staticinlineread onlyCONTEXT_LOST_WEBGL:Int = 37442

staticinlineread onlyCOPY_READ_BUFFER:Int = 36662

staticinlineread onlyCOPY_READ_BUFFER_BINDING:Int = 36662

staticinlineread onlyCOPY_WRITE_BUFFER:Int = 36663

staticinlineread onlyCOPY_WRITE_BUFFER_BINDING:Int = 36663

staticinlineread onlyCULL_FACE:Int = 2884

staticinlineread onlyCULL_FACE_MODE:Int = 2885

staticinlineread onlyCURRENT_PROGRAM:Int = 35725

staticinlineread onlyCURRENT_QUERY:Int = 34917

staticinlineread onlyCURRENT_VERTEX_ATTRIB:Int = 34342

staticinlineread onlyCW:Int = 2304

staticinlineread onlyDECR:Int = 7683

staticinlineread onlyDECR_WRAP:Int = 34056

staticinlineread onlyDELETE_STATUS:Int = 35712

staticinlineread onlyDEPTH:Int = 6145

staticinlineread onlyDEPTH24_STENCIL8:Int = 35056

staticinlineread onlyDEPTH32F_STENCIL8:Int = 36013

staticinlineread onlyDEPTH_ATTACHMENT:Int = 36096

staticinlineread onlyDEPTH_BITS:Int = 3414

staticinlineread onlyDEPTH_BUFFER_BIT:Int = 256

staticinlineread onlyDEPTH_CLEAR_VALUE:Int = 2931

staticinlineread onlyDEPTH_COMPONENT:Int = 6402

staticinlineread onlyDEPTH_COMPONENT16:Int = 33189

staticinlineread onlyDEPTH_COMPONENT24:Int = 33190

staticinlineread onlyDEPTH_COMPONENT32F:Int = 36012

staticinlineread onlyDEPTH_FUNC:Int = 2932

staticinlineread onlyDEPTH_RANGE:Int = 2928

staticinlineread onlyDEPTH_STENCIL:Int = 34041

staticinlineread onlyDEPTH_STENCIL_ATTACHMENT:Int = 33306

staticinlineread onlyDEPTH_TEST:Int = 2929

staticinlineread onlyDEPTH_WRITEMASK:Int = 2930

staticinlineread onlyDITHER:Int = 3024

staticinlineread onlyDONT_CARE:Int = 4352

staticinlineread onlyDRAW_BUFFER0:Int = 34853

staticinlineread onlyDRAW_BUFFER1:Int = 34854

staticinlineread onlyDRAW_BUFFER10:Int = 34863

staticinlineread onlyDRAW_BUFFER11:Int = 34864

staticinlineread onlyDRAW_BUFFER12:Int = 34865

staticinlineread onlyDRAW_BUFFER13:Int = 34866

staticinlineread onlyDRAW_BUFFER14:Int = 34867

staticinlineread onlyDRAW_BUFFER15:Int = 34868

staticinlineread onlyDRAW_BUFFER2:Int = 34855

staticinlineread onlyDRAW_BUFFER3:Int = 34856

staticinlineread onlyDRAW_BUFFER4:Int = 34857

staticinlineread onlyDRAW_BUFFER5:Int = 34858

staticinlineread onlyDRAW_BUFFER6:Int = 34859

staticinlineread onlyDRAW_BUFFER7:Int = 34860

staticinlineread onlyDRAW_BUFFER8:Int = 34861

staticinlineread onlyDRAW_BUFFER9:Int = 34862

staticinlineread onlyDRAW_FRAMEBUFFER:Int = 36009

staticinlineread onlyDRAW_FRAMEBUFFER_BINDING:Int = 36006

staticinlineread onlyDST_ALPHA:Int = 772

staticinlineread onlyDST_COLOR:Int = 774

staticinlineread onlyDYNAMIC_COPY:Int = 35050

staticinlineread onlyDYNAMIC_DRAW:Int = 35048

staticinlineread onlyDYNAMIC_READ:Int = 35049

staticinlineread onlyELEMENT_ARRAY_BUFFER:Int = 34963

staticinlineread onlyELEMENT_ARRAY_BUFFER_BINDING:Int = 34965

staticinlineread onlyEQUAL:Int = 514

staticinlineread onlyFASTEST:Int = 4353

staticinlineread onlyFLOAT:Int = 5126

staticinlineread onlyFLOAT_32_UNSIGNED_INT_24_8_REV:Int = 36269

staticinlineread onlyFLOAT_MAT2:Int = 35674

staticinlineread onlyFLOAT_MAT2x3:Int = 35685

staticinlineread onlyFLOAT_MAT2x4:Int = 35686

staticinlineread onlyFLOAT_MAT3:Int = 35675

staticinlineread onlyFLOAT_MAT3x2:Int = 35687

staticinlineread onlyFLOAT_MAT3x4:Int = 35688

staticinlineread onlyFLOAT_MAT4:Int = 35676

staticinlineread onlyFLOAT_MAT4x2:Int = 35689

staticinlineread onlyFLOAT_MAT4x3:Int = 35690

staticinlineread onlyFLOAT_VEC2:Int = 35664

staticinlineread onlyFLOAT_VEC3:Int = 35665

staticinlineread onlyFLOAT_VEC4:Int = 35666

staticinlineread onlyFRAGMENT_SHADER:Int = 35632

staticinlineread onlyFRAGMENT_SHADER_DERIVATIVE_HINT:Int = 35723

staticinlineread onlyFRAMEBUFFER:Int = 36160

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:Int = 33301

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_BLUE_SIZE:Int = 33300

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:Int = 33296

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:Int = 33297

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:Int = 33302

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_GREEN_SIZE:Int = 33299

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_OBJECT_NAME:Int = 36049

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:Int = 36048

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_RED_SIZE:Int = 33298

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:Int = 33303

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:Int = 36051

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:Int = 36052

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:Int = 36050

staticinlineread onlyFRAMEBUFFER_BINDING:Int = 36006

staticinlineread onlyFRAMEBUFFER_COMPLETE:Int = 36053

staticinlineread onlyFRAMEBUFFER_DEFAULT:Int = 33304

staticinlineread onlyFRAMEBUFFER_INCOMPLETE_ATTACHMENT:Int = 36054

staticinlineread onlyFRAMEBUFFER_INCOMPLETE_DIMENSIONS:Int = 36057

staticinlineread onlyFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:Int = 36055

staticinlineread onlyFRAMEBUFFER_INCOMPLETE_MULTISAMPLE:Int = 36182

staticinlineread onlyFRAMEBUFFER_UNSUPPORTED:Int = 36061

staticinlineread onlyFRONT:Int = 1028

staticinlineread onlyFRONT_AND_BACK:Int = 1032

staticinlineread onlyFRONT_FACE:Int = 2886

staticinlineread onlyFUNC_ADD:Int = 32774

staticinlineread onlyFUNC_REVERSE_SUBTRACT:Int = 32779

staticinlineread onlyFUNC_SUBTRACT:Int = 32778

staticinlineread onlyGENERATE_MIPMAP_HINT:Int = 33170

staticinlineread onlyGEQUAL:Int = 518

staticinlineread onlyGREATER:Int = 516

staticinlineread onlyGREEN_BITS:Int = 3411

staticinlineread onlyHALF_FLOAT:Int = 5131

staticinlineread onlyHIGH_FLOAT:Int = 36338

staticinlineread onlyHIGH_INT:Int = 36341

staticinlineread onlyIMPLEMENTATION_COLOR_READ_FORMAT:Int = 35739

staticinlineread onlyIMPLEMENTATION_COLOR_READ_TYPE:Int = 35738

staticinlineread onlyINCR:Int = 7682

staticinlineread onlyINCR_WRAP:Int = 34055

staticinlineread onlyINT:Int = 5124

staticinlineread onlyINTERLEAVED_ATTRIBS:Int = 35980

staticinlineread onlyINT_2_10_10_10_REV:Int = 36255

staticinlineread onlyINT_SAMPLER_2D:Int = 36298

staticinlineread onlyINT_SAMPLER_2D_ARRAY:Int = 36303

staticinlineread onlyINT_SAMPLER_3D:Int = 36299

staticinlineread onlyINT_SAMPLER_CUBE:Int = 36300

staticinlineread onlyINT_VEC2:Int = 35667

staticinlineread onlyINT_VEC3:Int = 35668

staticinlineread onlyINT_VEC4:Int = 35669

staticinlineread onlyINVALID_ENUM:Int = 1280

staticinlineread onlyINVALID_FRAMEBUFFER_OPERATION:Int = 1286

staticinlineread onlyINVALID_INDEX:Int = cast 4294967295

staticinlineread onlyINVALID_OPERATION:Int = 1282

staticinlineread onlyINVALID_VALUE:Int = 1281

staticinlineread onlyINVERT:Int = 5386

staticinlineread onlyKEEP:Int = 7680

staticinlineread onlyLEQUAL:Int = 515

staticinlineread onlyLESS:Int = 513

staticinlineread onlyLINEAR:Int = 9729

staticinlineread onlyLINEAR_MIPMAP_LINEAR:Int = 9987

staticinlineread onlyLINEAR_MIPMAP_NEAREST:Int = 9985

staticinlineread onlyLINES:Int = 1

staticinlineread onlyLINE_LOOP:Int = 2

staticinlineread onlyLINE_STRIP:Int = 3

staticinlineread onlyLINE_WIDTH:Int = 2849

staticinlineread onlyLOW_FLOAT:Int = 36336

staticinlineread onlyLOW_INT:Int = 36339

staticinlineread onlyLUMINANCE:Int = 6409

staticinlineread onlyLUMINANCE_ALPHA:Int = 6410

staticinlineread onlyMAX:Int = 32776

staticinlineread onlyMAX_3D_TEXTURE_SIZE:Int = 32883

staticinlineread onlyMAX_ARRAY_TEXTURE_LAYERS:Int = 35071

staticinlineread onlyMAX_CLIENT_WAIT_TIMEOUT_WEBGL:Int = 37447

staticinlineread onlyMAX_COLOR_ATTACHMENTS:Int = 36063

staticinlineread onlyMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:Int = 35379

staticinlineread onlyMAX_COMBINED_TEXTURE_IMAGE_UNITS:Int = 35661

staticinlineread onlyMAX_COMBINED_UNIFORM_BLOCKS:Int = 35374

staticinlineread onlyMAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:Int = 35377

staticinlineread onlyMAX_CUBE_MAP_TEXTURE_SIZE:Int = 34076

staticinlineread onlyMAX_DRAW_BUFFERS:Int = 34852

staticinlineread onlyMAX_ELEMENTS_INDICES:Int = 33001

staticinlineread onlyMAX_ELEMENTS_VERTICES:Int = 33000

staticinlineread onlyMAX_ELEMENT_INDEX:Int = 36203

staticinlineread onlyMAX_FRAGMENT_INPUT_COMPONENTS:Int = 37157

staticinlineread onlyMAX_FRAGMENT_UNIFORM_BLOCKS:Int = 35373

staticinlineread onlyMAX_FRAGMENT_UNIFORM_COMPONENTS:Int = 35657

staticinlineread onlyMAX_FRAGMENT_UNIFORM_VECTORS:Int = 36349

staticinlineread onlyMAX_PROGRAM_TEXEL_OFFSET:Int = 35077

staticinlineread onlyMAX_RENDERBUFFER_SIZE:Int = 34024

staticinlineread onlyMAX_SAMPLES:Int = 36183

staticinlineread onlyMAX_SERVER_WAIT_TIMEOUT:Int = 37137

staticinlineread onlyMAX_TEXTURE_IMAGE_UNITS:Int = 34930

staticinlineread onlyMAX_TEXTURE_LOD_BIAS:Int = 34045

staticinlineread onlyMAX_TEXTURE_SIZE:Int = 3379

staticinlineread onlyMAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:Int = 35978

staticinlineread onlyMAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:Int = 35979

staticinlineread onlyMAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:Int = 35968

staticinlineread onlyMAX_UNIFORM_BLOCK_SIZE:Int = 35376

staticinlineread onlyMAX_UNIFORM_BUFFER_BINDINGS:Int = 35375

staticinlineread onlyMAX_VARYING_COMPONENTS:Int = 35659

staticinlineread onlyMAX_VARYING_VECTORS:Int = 36348

staticinlineread onlyMAX_VERTEX_ATTRIBS:Int = 34921

staticinlineread onlyMAX_VERTEX_OUTPUT_COMPONENTS:Int = 37154

staticinlineread onlyMAX_VERTEX_TEXTURE_IMAGE_UNITS:Int = 35660

staticinlineread onlyMAX_VERTEX_UNIFORM_BLOCKS:Int = 35371

staticinlineread onlyMAX_VERTEX_UNIFORM_COMPONENTS:Int = 35658

staticinlineread onlyMAX_VERTEX_UNIFORM_VECTORS:Int = 36347

staticinlineread onlyMAX_VIEWPORT_DIMS:Int = 3386

staticinlineread onlyMEDIUM_FLOAT:Int = 36337

staticinlineread onlyMEDIUM_INT:Int = 36340

staticinlineread onlyMIN:Int = 32775

staticinlineread onlyMIN_PROGRAM_TEXEL_OFFSET:Int = 35076

staticinlineread onlyMIRRORED_REPEAT:Int = 33648

staticinlineread onlyNEAREST:Int = 9728

staticinlineread onlyNEAREST_MIPMAP_LINEAR:Int = 9986

staticinlineread onlyNEAREST_MIPMAP_NEAREST:Int = 9984

staticinlineread onlyNEVER:Int = 512

staticinlineread onlyNICEST:Int = 4354

staticinlineread onlyNONE:Int = 0

staticinlineread onlyNOTEQUAL:Int = 517

staticinlineread onlyNO_ERROR:Int = 0

staticinlineread onlyOBJECT_TYPE:Int = 37138

staticinlineread onlyONE:Int = 1

staticinlineread onlyONE_MINUS_CONSTANT_ALPHA:Int = 32772

staticinlineread onlyONE_MINUS_CONSTANT_COLOR:Int = 32770

staticinlineread onlyONE_MINUS_DST_ALPHA:Int = 773

staticinlineread onlyONE_MINUS_DST_COLOR:Int = 775

staticinlineread onlyONE_MINUS_SRC_ALPHA:Int = 771

staticinlineread onlyONE_MINUS_SRC_COLOR:Int = 769

staticinlineread onlyOUT_OF_MEMORY:Int = 1285

staticinlineread onlyPACK_ALIGNMENT:Int = 3333

staticinlineread onlyPACK_ROW_LENGTH:Int = 3330

staticinlineread onlyPACK_SKIP_PIXELS:Int = 3332

staticinlineread onlyPACK_SKIP_ROWS:Int = 3331

staticinlineread onlyPIXEL_PACK_BUFFER:Int = 35051

staticinlineread onlyPIXEL_PACK_BUFFER_BINDING:Int = 35053

staticinlineread onlyPIXEL_UNPACK_BUFFER:Int = 35052

staticinlineread onlyPIXEL_UNPACK_BUFFER_BINDING:Int = 35055

staticinlineread onlyPOINTS:Int = 0

staticinlineread onlyPOLYGON_OFFSET_FACTOR:Int = 32824

staticinlineread onlyPOLYGON_OFFSET_FILL:Int = 32823

staticinlineread onlyPOLYGON_OFFSET_UNITS:Int = 10752

staticinlineread onlyQUERY_RESULT:Int = 34918

staticinlineread onlyQUERY_RESULT_AVAILABLE:Int = 34919

staticinlineread onlyR11F_G11F_B10F:Int = 35898

staticinlineread onlyR16F:Int = 33325

staticinlineread onlyR16I:Int = 33331

staticinlineread onlyR16UI:Int = 33332

staticinlineread onlyR32F:Int = 33326

staticinlineread onlyR32I:Int = 33333

staticinlineread onlyR32UI:Int = 33334

staticinlineread onlyR8:Int = 33321

staticinlineread onlyR8I:Int = 33329

staticinlineread onlyR8UI:Int = 33330

staticinlineread onlyR8_SNORM:Int = 36756

staticinlineread onlyRASTERIZER_DISCARD:Int = 35977

staticinlineread onlyREAD_BUFFER:Int = 3074

staticinlineread onlyREAD_FRAMEBUFFER:Int = 36008

staticinlineread onlyREAD_FRAMEBUFFER_BINDING:Int = 36010

staticinlineread onlyRED:Int = 6403

staticinlineread onlyRED_BITS:Int = 3410

staticinlineread onlyRED_INTEGER:Int = 36244

staticinlineread onlyRENDERBUFFER:Int = 36161

staticinlineread onlyRENDERBUFFER_ALPHA_SIZE:Int = 36179

staticinlineread onlyRENDERBUFFER_BINDING:Int = 36007

staticinlineread onlyRENDERBUFFER_BLUE_SIZE:Int = 36178

staticinlineread onlyRENDERBUFFER_DEPTH_SIZE:Int = 36180

staticinlineread onlyRENDERBUFFER_GREEN_SIZE:Int = 36177

staticinlineread onlyRENDERBUFFER_HEIGHT:Int = 36163

staticinlineread onlyRENDERBUFFER_INTERNAL_FORMAT:Int = 36164

staticinlineread onlyRENDERBUFFER_RED_SIZE:Int = 36176

staticinlineread onlyRENDERBUFFER_SAMPLES:Int = 36011

staticinlineread onlyRENDERBUFFER_STENCIL_SIZE:Int = 36181

staticinlineread onlyRENDERBUFFER_WIDTH:Int = 36162

staticinlineread onlyRENDERER:Int = 7937

staticinlineread onlyREPEAT:Int = 10497

staticinlineread onlyREPLACE:Int = 7681

staticinlineread onlyRG:Int = 33319

staticinlineread onlyRG16F:Int = 33327

staticinlineread onlyRG16I:Int = 33337

staticinlineread onlyRG16UI:Int = 33338

staticinlineread onlyRG32F:Int = 33328

staticinlineread onlyRG32I:Int = 33339

staticinlineread onlyRG32UI:Int = 33340

staticinlineread onlyRG8:Int = 33323

staticinlineread onlyRG8I:Int = 33335

staticinlineread onlyRG8UI:Int = 33336

staticinlineread onlyRG8_SNORM:Int = 36757

staticinlineread onlyRGB:Int = 6407

staticinlineread onlyRGB10_A2:Int = 32857

staticinlineread onlyRGB10_A2UI:Int = 36975

staticinlineread onlyRGB16F:Int = 34843

staticinlineread onlyRGB16I:Int = 36233

staticinlineread onlyRGB16UI:Int = 36215

staticinlineread onlyRGB32F:Int = 34837

staticinlineread onlyRGB32I:Int = 36227

staticinlineread onlyRGB32UI:Int = 36209

staticinlineread onlyRGB565:Int = 36194

staticinlineread onlyRGB5_A1:Int = 32855

staticinlineread onlyRGB8:Int = 32849

staticinlineread onlyRGB8I:Int = 36239

staticinlineread onlyRGB8UI:Int = 36221

staticinlineread onlyRGB8_SNORM:Int = 36758

staticinlineread onlyRGB9_E5:Int = 35901

staticinlineread onlyRGBA:Int = 6408

staticinlineread onlyRGBA16F:Int = 34842

staticinlineread onlyRGBA16I:Int = 36232

staticinlineread onlyRGBA16UI:Int = 36214

staticinlineread onlyRGBA32F:Int = 34836

staticinlineread onlyRGBA32I:Int = 36226

staticinlineread onlyRGBA32UI:Int = 36208

staticinlineread onlyRGBA4:Int = 32854

staticinlineread onlyRGBA8:Int = 32856

staticinlineread onlyRGBA8I:Int = 36238

staticinlineread onlyRGBA8UI:Int = 36220

staticinlineread onlyRGBA8_SNORM:Int = 36759

staticinlineread onlyRGBA_INTEGER:Int = 36249

staticinlineread onlyRGB_INTEGER:Int = 36248

staticinlineread onlyRG_INTEGER:Int = 33320

staticinlineread onlySAMPLER_2D:Int = 35678

staticinlineread onlySAMPLER_2D_ARRAY:Int = 36289

staticinlineread onlySAMPLER_2D_ARRAY_SHADOW:Int = 36292

staticinlineread onlySAMPLER_2D_SHADOW:Int = 35682

staticinlineread onlySAMPLER_3D:Int = 35679

staticinlineread onlySAMPLER_BINDING:Int = 35097

staticinlineread onlySAMPLER_CUBE:Int = 35680

staticinlineread onlySAMPLER_CUBE_SHADOW:Int = 36293

staticinlineread onlySAMPLES:Int = 32937

staticinlineread onlySAMPLE_ALPHA_TO_COVERAGE:Int = 32926

staticinlineread onlySAMPLE_BUFFERS:Int = 32936

staticinlineread onlySAMPLE_COVERAGE:Int = 32928

staticinlineread onlySAMPLE_COVERAGE_INVERT:Int = 32939

staticinlineread onlySAMPLE_COVERAGE_VALUE:Int = 32938

staticinlineread onlySCISSOR_BOX:Int = 3088

staticinlineread onlySCISSOR_TEST:Int = 3089

staticinlineread onlySEPARATE_ATTRIBS:Int = 35981

staticinlineread onlySHADER_TYPE:Int = 35663

staticinlineread onlySHADING_LANGUAGE_VERSION:Int = 35724

staticinlineread onlySHORT:Int = 5122

staticinlineread onlySIGNALED:Int = 37145

staticinlineread onlySIGNED_NORMALIZED:Int = 36764

staticinlineread onlySRC_ALPHA:Int = 770

staticinlineread onlySRC_ALPHA_SATURATE:Int = 776

staticinlineread onlySRC_COLOR:Int = 768

staticinlineread onlySRGB:Int = 35904

staticinlineread onlySRGB8:Int = 35905

staticinlineread onlySRGB8_ALPHA8:Int = 35907

staticinlineread onlySTATIC_COPY:Int = 35046

staticinlineread onlySTATIC_DRAW:Int = 35044

staticinlineread onlySTATIC_READ:Int = 35045

staticinlineread onlySTENCIL:Int = 6146

staticinlineread onlySTENCIL_ATTACHMENT:Int = 36128

staticinlineread onlySTENCIL_BACK_FAIL:Int = 34817

staticinlineread onlySTENCIL_BACK_FUNC:Int = 34816

staticinlineread onlySTENCIL_BACK_PASS_DEPTH_FAIL:Int = 34818

staticinlineread onlySTENCIL_BACK_PASS_DEPTH_PASS:Int = 34819

staticinlineread onlySTENCIL_BACK_REF:Int = 36003

staticinlineread onlySTENCIL_BACK_VALUE_MASK:Int = 36004

staticinlineread onlySTENCIL_BACK_WRITEMASK:Int = 36005

staticinlineread onlySTENCIL_BITS:Int = 3415

staticinlineread onlySTENCIL_BUFFER_BIT:Int = 1024

staticinlineread onlySTENCIL_CLEAR_VALUE:Int = 2961

staticinlineread onlySTENCIL_FAIL:Int = 2964

staticinlineread onlySTENCIL_FUNC:Int = 2962

staticinlineread onlySTENCIL_INDEX8:Int = 36168

staticinlineread onlySTENCIL_PASS_DEPTH_FAIL:Int = 2965

staticinlineread onlySTENCIL_PASS_DEPTH_PASS:Int = 2966

staticinlineread onlySTENCIL_REF:Int = 2967

staticinlineread onlySTENCIL_TEST:Int = 2960

staticinlineread onlySTENCIL_VALUE_MASK:Int = 2963

staticinlineread onlySTENCIL_WRITEMASK:Int = 2968

staticinlineread onlySTREAM_COPY:Int = 35042

staticinlineread onlySTREAM_DRAW:Int = 35040

staticinlineread onlySTREAM_READ:Int = 35041

staticinlineread onlySUBPIXEL_BITS:Int = 3408

staticinlineread onlySYNC_CONDITION:Int = 37139

staticinlineread onlySYNC_FENCE:Int = 37142

staticinlineread onlySYNC_FLAGS:Int = 37141

staticinlineread onlySYNC_FLUSH_COMMANDS_BIT:Int = 1

staticinlineread onlySYNC_GPU_COMMANDS_COMPLETE:Int = 37143

staticinlineread onlySYNC_STATUS:Int = 37140

staticinlineread onlyTEXTURE:Int = 5890

staticinlineread onlyTEXTURE0:Int = 33984

staticinlineread onlyTEXTURE1:Int = 33985

staticinlineread onlyTEXTURE10:Int = 33994

staticinlineread onlyTEXTURE11:Int = 33995

staticinlineread onlyTEXTURE12:Int = 33996

staticinlineread onlyTEXTURE13:Int = 33997

staticinlineread onlyTEXTURE14:Int = 33998

staticinlineread onlyTEXTURE15:Int = 33999

staticinlineread onlyTEXTURE16:Int = 34000

staticinlineread onlyTEXTURE17:Int = 34001

staticinlineread onlyTEXTURE18:Int = 34002

staticinlineread onlyTEXTURE19:Int = 34003

staticinlineread onlyTEXTURE2:Int = 33986

staticinlineread onlyTEXTURE20:Int = 34004

staticinlineread onlyTEXTURE21:Int = 34005

staticinlineread onlyTEXTURE22:Int = 34006

staticinlineread onlyTEXTURE23:Int = 34007

staticinlineread onlyTEXTURE24:Int = 34008

staticinlineread onlyTEXTURE25:Int = 34009

staticinlineread onlyTEXTURE26:Int = 34010

staticinlineread onlyTEXTURE27:Int = 34011

staticinlineread onlyTEXTURE28:Int = 34012

staticinlineread onlyTEXTURE29:Int = 34013

staticinlineread onlyTEXTURE3:Int = 33987

staticinlineread onlyTEXTURE30:Int = 34014

staticinlineread onlyTEXTURE31:Int = 34015

staticinlineread onlyTEXTURE4:Int = 33988

staticinlineread onlyTEXTURE5:Int = 33989

staticinlineread onlyTEXTURE6:Int = 33990

staticinlineread onlyTEXTURE7:Int = 33991

staticinlineread onlyTEXTURE8:Int = 33992

staticinlineread onlyTEXTURE9:Int = 33993

staticinlineread onlyTEXTURE_2D:Int = 3553

staticinlineread onlyTEXTURE_2D_ARRAY:Int = 35866

staticinlineread onlyTEXTURE_3D:Int = 32879

staticinlineread onlyTEXTURE_BASE_LEVEL:Int = 33084

staticinlineread onlyTEXTURE_BINDING_2D:Int = 32873

staticinlineread onlyTEXTURE_BINDING_2D_ARRAY:Int = 35869

staticinlineread onlyTEXTURE_BINDING_3D:Int = 32874

staticinlineread onlyTEXTURE_BINDING_CUBE_MAP:Int = 34068

staticinlineread onlyTEXTURE_COMPARE_FUNC:Int = 34893

staticinlineread onlyTEXTURE_COMPARE_MODE:Int = 34892

staticinlineread onlyTEXTURE_CUBE_MAP:Int = 34067

staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_X:Int = 34070

staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_Y:Int = 34072

staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_Z:Int = 34074

staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_X:Int = 34069

staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_Y:Int = 34071

staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_Z:Int = 34073

staticinlineread onlyTEXTURE_IMMUTABLE_FORMAT:Int = 37167

staticinlineread onlyTEXTURE_IMMUTABLE_LEVELS:Int = 33503

staticinlineread onlyTEXTURE_MAG_FILTER:Int = 10240

staticinlineread onlyTEXTURE_MAX_LEVEL:Int = 33085

staticinlineread onlyTEXTURE_MAX_LOD:Int = 33083

staticinlineread onlyTEXTURE_MIN_FILTER:Int = 10241

staticinlineread onlyTEXTURE_MIN_LOD:Int = 33082

staticinlineread onlyTEXTURE_WRAP_R:Int = 32882

staticinlineread onlyTEXTURE_WRAP_S:Int = 10242

staticinlineread onlyTEXTURE_WRAP_T:Int = 10243

staticinlineread onlyTIMEOUT_EXPIRED:Int = 37147

staticinlineread onlyTIMEOUT_IGNORED:Int = -1

staticinlineread onlyTRANSFORM_FEEDBACK:Int = 36386

staticinlineread onlyTRANSFORM_FEEDBACK_ACTIVE:Int = 36388

staticinlineread onlyTRANSFORM_FEEDBACK_BINDING:Int = 36389

staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER:Int = 35982

staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_BINDING:Int = 35983

staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_MODE:Int = 35967

staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_SIZE:Int = 35973

staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_START:Int = 35972

staticinlineread onlyTRANSFORM_FEEDBACK_PAUSED:Int = 36387

staticinlineread onlyTRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:Int = 35976

staticinlineread onlyTRANSFORM_FEEDBACK_VARYINGS:Int = 35971

staticinlineread onlyTRIANGLES:Int = 4

staticinlineread onlyTRIANGLE_FAN:Int = 6

staticinlineread onlyTRIANGLE_STRIP:Int = 5

staticinlineread onlyUNIFORM_ARRAY_STRIDE:Int = 35388

staticinlineread onlyUNIFORM_BLOCK_ACTIVE_UNIFORMS:Int = 35394

staticinlineread onlyUNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:Int = 35395

staticinlineread onlyUNIFORM_BLOCK_BINDING:Int = 35391

staticinlineread onlyUNIFORM_BLOCK_DATA_SIZE:Int = 35392

staticinlineread onlyUNIFORM_BLOCK_INDEX:Int = 35386

staticinlineread onlyUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:Int = 35398

staticinlineread onlyUNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:Int = 35396

staticinlineread onlyUNIFORM_BUFFER:Int = 35345

staticinlineread onlyUNIFORM_BUFFER_BINDING:Int = 35368

staticinlineread onlyUNIFORM_BUFFER_OFFSET_ALIGNMENT:Int = 35380

staticinlineread onlyUNIFORM_BUFFER_SIZE:Int = 35370

staticinlineread onlyUNIFORM_BUFFER_START:Int = 35369

staticinlineread onlyUNIFORM_IS_ROW_MAJOR:Int = 35390

staticinlineread onlyUNIFORM_MATRIX_STRIDE:Int = 35389

staticinlineread onlyUNIFORM_OFFSET:Int = 35387

staticinlineread onlyUNIFORM_SIZE:Int = 35384

staticinlineread onlyUNIFORM_TYPE:Int = 35383

staticinlineread onlyUNPACK_ALIGNMENT:Int = 3317

staticinlineread onlyUNPACK_COLORSPACE_CONVERSION_WEBGL:Int = 37443

staticinlineread onlyUNPACK_FLIP_Y_WEBGL:Int = 37440

staticinlineread onlyUNPACK_IMAGE_HEIGHT:Int = 32878

staticinlineread onlyUNPACK_PREMULTIPLY_ALPHA_WEBGL:Int = 37441

staticinlineread onlyUNPACK_ROW_LENGTH:Int = 3314

staticinlineread onlyUNPACK_SKIP_IMAGES:Int = 32877

staticinlineread onlyUNPACK_SKIP_PIXELS:Int = 3316

staticinlineread onlyUNPACK_SKIP_ROWS:Int = 3315

staticinlineread onlyUNSIGNALED:Int = 37144

staticinlineread onlyUNSIGNED_BYTE:Int = 5121

staticinlineread onlyUNSIGNED_INT:Int = 5125

staticinlineread onlyUNSIGNED_INT_10F_11F_11F_REV:Int = 35899

staticinlineread onlyUNSIGNED_INT_24_8:Int = 34042

staticinlineread onlyUNSIGNED_INT_2_10_10_10_REV:Int = 33640

staticinlineread onlyUNSIGNED_INT_5_9_9_9_REV:Int = 35902

staticinlineread onlyUNSIGNED_INT_SAMPLER_2D:Int = 36306

staticinlineread onlyUNSIGNED_INT_SAMPLER_2D_ARRAY:Int = 36311

staticinlineread onlyUNSIGNED_INT_SAMPLER_3D:Int = 36307

staticinlineread onlyUNSIGNED_INT_SAMPLER_CUBE:Int = 36308

staticinlineread onlyUNSIGNED_INT_VEC2:Int = 36294

staticinlineread onlyUNSIGNED_INT_VEC3:Int = 36295

staticinlineread onlyUNSIGNED_INT_VEC4:Int = 36296

staticinlineread onlyUNSIGNED_NORMALIZED:Int = 35863

staticinlineread onlyUNSIGNED_SHORT:Int = 5123

staticinlineread onlyUNSIGNED_SHORT_4_4_4_4:Int = 32819

staticinlineread onlyUNSIGNED_SHORT_5_5_5_1:Int = 32820

staticinlineread onlyUNSIGNED_SHORT_5_6_5:Int = 33635

staticinlineread onlyVALIDATE_STATUS:Int = 35715

staticinlineread onlyVENDOR:Int = 7936

staticinlineread onlyVERSION:Int = 7938

staticinlineread onlyVERTEX_ARRAY_BINDING:Int = 34229

staticinlineread onlyVERTEX_ATTRIB_ARRAY_BUFFER_BINDING:Int = 34975

staticinlineread onlyVERTEX_ATTRIB_ARRAY_DIVISOR:Int = 35070

staticinlineread onlyVERTEX_ATTRIB_ARRAY_ENABLED:Int = 34338

staticinlineread onlyVERTEX_ATTRIB_ARRAY_INTEGER:Int = 35069

staticinlineread onlyVERTEX_ATTRIB_ARRAY_NORMALIZED:Int = 34922

staticinlineread onlyVERTEX_ATTRIB_ARRAY_POINTER:Int = 34373

staticinlineread onlyVERTEX_ATTRIB_ARRAY_SIZE:Int = 34339

staticinlineread onlyVERTEX_ATTRIB_ARRAY_STRIDE:Int = 34340

staticinlineread onlyVERTEX_ATTRIB_ARRAY_TYPE:Int = 34341

staticinlineread onlyVERTEX_SHADER:Int = 35633

staticinlineread onlyVIEWPORT:Int = 2978

staticinlineread onlyWAIT_FAILED:Int = 37149

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.

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.

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

clearBufferfv(buffer:Int, drawbuffer:Int, values:Float32Array, srcOffset:Int = 0):Void

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

clearBufferiv(buffer:Int, drawbuffer:Int, values:Int32Array, srcOffset:Int = 0):Void

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

clearBufferuiv(buffer:Int, drawbuffer:Int, values:Uint32Array, srcOffset:Int = 0):Void

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.

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.

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.

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

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.

uniform1ui(location:UniformLocation, v0:Int):Void

uniform1uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

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

uniform2ui(location:UniformLocation, v0:Int, v1:Int):Void

uniform2uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

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

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

uniform3uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

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

uniform4uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Void

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.

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

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

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

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

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

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

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

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

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

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

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

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

vertexAttribI4iv(index:Int, values:Int32Array):Void

vertexAttribI4iv(index:Int, values:Array<Int>):Void

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

vertexAttribI4uiv(index:Int, values:Uint32Array):Void

vertexAttribI4uiv(index:Int, values:Array<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.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/WebGL2RenderingContext.html