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:
staticinlineread onlyACTIVE_ATTRIBUTES:Int = 35721staticinlineread onlyACTIVE_TEXTURE:Int = 34016staticinlineread onlyACTIVE_UNIFORMS:Int = 35718staticinlineread onlyACTIVE_UNIFORM_BLOCKS:Int = 35382staticinlineread onlyALIASED_LINE_WIDTH_RANGE:Int = 33902staticinlineread onlyALIASED_POINT_SIZE_RANGE:Int = 33901staticinlineread onlyALPHA:Int = 6406staticinlineread onlyALPHA_BITS:Int = 3413staticinlineread onlyALREADY_SIGNALED:Int = 37146staticinlineread onlyALWAYS:Int = 519staticinlineread onlyANY_SAMPLES_PASSED:Int = 35887staticinlineread onlyANY_SAMPLES_PASSED_CONSERVATIVE:Int = 36202staticinlineread onlyARRAY_BUFFER:Int = 34962staticinlineread onlyARRAY_BUFFER_BINDING:Int = 34964staticinlineread onlyATTACHED_SHADERS:Int = 35717staticinlineread onlyBACK:Int = 1029staticinlineread onlyBLEND:Int = 3042staticinlineread onlyBLEND_COLOR:Int = 32773staticinlineread onlyBLEND_DST_ALPHA:Int = 32970staticinlineread onlyBLEND_DST_RGB:Int = 32968staticinlineread onlyBLEND_EQUATION:Int = 32777staticinlineread onlyBLEND_EQUATION_ALPHA:Int = 34877staticinlineread onlyBLEND_EQUATION_RGB:Int = 32777staticinlineread onlyBLEND_SRC_ALPHA:Int = 32971staticinlineread onlyBLEND_SRC_RGB:Int = 32969staticinlineread onlyBLUE_BITS:Int = 3412staticinlineread onlyBOOL:Int = 35670staticinlineread onlyBOOL_VEC2:Int = 35671staticinlineread onlyBOOL_VEC3:Int = 35672staticinlineread onlyBOOL_VEC4:Int = 35673staticinlineread onlyBROWSER_DEFAULT_WEBGL:Int = 37444staticinlineread onlyBUFFER_SIZE:Int = 34660staticinlineread onlyBUFFER_USAGE:Int = 34661staticinlineread onlyBYTE:Int = 5120staticinlineread onlyCCW:Int = 2305staticinlineread onlyCLAMP_TO_EDGE:Int = 33071staticinlineread onlyCOLOR:Int = 6144staticinlineread onlyCOLOR_ATTACHMENT0:Int = 36064staticinlineread onlyCOLOR_ATTACHMENT1:Int = 36065staticinlineread onlyCOLOR_ATTACHMENT10:Int = 36074staticinlineread onlyCOLOR_ATTACHMENT11:Int = 36075staticinlineread onlyCOLOR_ATTACHMENT12:Int = 36076staticinlineread onlyCOLOR_ATTACHMENT13:Int = 36077staticinlineread onlyCOLOR_ATTACHMENT14:Int = 36078staticinlineread onlyCOLOR_ATTACHMENT15:Int = 36079staticinlineread onlyCOLOR_ATTACHMENT2:Int = 36066staticinlineread onlyCOLOR_ATTACHMENT3:Int = 36067staticinlineread onlyCOLOR_ATTACHMENT4:Int = 36068staticinlineread onlyCOLOR_ATTACHMENT5:Int = 36069staticinlineread onlyCOLOR_ATTACHMENT6:Int = 36070staticinlineread onlyCOLOR_ATTACHMENT7:Int = 36071staticinlineread onlyCOLOR_ATTACHMENT8:Int = 36072staticinlineread onlyCOLOR_ATTACHMENT9:Int = 36073staticinlineread onlyCOLOR_BUFFER_BIT:Int = 16384staticinlineread onlyCOLOR_CLEAR_VALUE:Int = 3106staticinlineread onlyCOLOR_WRITEMASK:Int = 3107staticinlineread onlyCOMPARE_REF_TO_TEXTURE:Int = 34894staticinlineread onlyCOMPILE_STATUS:Int = 35713staticinlineread onlyCOMPRESSED_TEXTURE_FORMATS:Int = 34467staticinlineread onlyCONDITION_SATISFIED:Int = 37148staticinlineread onlyCONSTANT_ALPHA:Int = 32771staticinlineread onlyCONSTANT_COLOR:Int = 32769staticinlineread onlyCONTEXT_LOST_WEBGL:Int = 37442staticinlineread onlyCOPY_READ_BUFFER:Int = 36662staticinlineread onlyCOPY_READ_BUFFER_BINDING:Int = 36662staticinlineread onlyCOPY_WRITE_BUFFER:Int = 36663staticinlineread onlyCOPY_WRITE_BUFFER_BINDING:Int = 36663staticinlineread onlyCULL_FACE:Int = 2884staticinlineread onlyCULL_FACE_MODE:Int = 2885staticinlineread onlyCURRENT_PROGRAM:Int = 35725staticinlineread onlyCURRENT_QUERY:Int = 34917staticinlineread onlyCURRENT_VERTEX_ATTRIB:Int = 34342staticinlineread onlyCW:Int = 2304staticinlineread onlyDECR:Int = 7683staticinlineread onlyDECR_WRAP:Int = 34056staticinlineread onlyDELETE_STATUS:Int = 35712staticinlineread onlyDEPTH:Int = 6145staticinlineread onlyDEPTH24_STENCIL8:Int = 35056staticinlineread onlyDEPTH32F_STENCIL8:Int = 36013staticinlineread onlyDEPTH_ATTACHMENT:Int = 36096staticinlineread onlyDEPTH_BITS:Int = 3414staticinlineread onlyDEPTH_BUFFER_BIT:Int = 256staticinlineread onlyDEPTH_CLEAR_VALUE:Int = 2931staticinlineread onlyDEPTH_COMPONENT:Int = 6402staticinlineread onlyDEPTH_COMPONENT16:Int = 33189staticinlineread onlyDEPTH_COMPONENT24:Int = 33190staticinlineread onlyDEPTH_COMPONENT32F:Int = 36012staticinlineread onlyDEPTH_FUNC:Int = 2932staticinlineread onlyDEPTH_RANGE:Int = 2928staticinlineread onlyDEPTH_STENCIL:Int = 34041staticinlineread onlyDEPTH_STENCIL_ATTACHMENT:Int = 33306staticinlineread onlyDEPTH_TEST:Int = 2929staticinlineread onlyDEPTH_WRITEMASK:Int = 2930staticinlineread onlyDITHER:Int = 3024staticinlineread onlyDONT_CARE:Int = 4352staticinlineread onlyDRAW_BUFFER0:Int = 34853staticinlineread onlyDRAW_BUFFER1:Int = 34854staticinlineread onlyDRAW_BUFFER10:Int = 34863staticinlineread onlyDRAW_BUFFER11:Int = 34864staticinlineread onlyDRAW_BUFFER12:Int = 34865staticinlineread onlyDRAW_BUFFER13:Int = 34866staticinlineread onlyDRAW_BUFFER14:Int = 34867staticinlineread onlyDRAW_BUFFER15:Int = 34868staticinlineread onlyDRAW_BUFFER2:Int = 34855staticinlineread onlyDRAW_BUFFER3:Int = 34856staticinlineread onlyDRAW_BUFFER4:Int = 34857staticinlineread onlyDRAW_BUFFER5:Int = 34858staticinlineread onlyDRAW_BUFFER6:Int = 34859staticinlineread onlyDRAW_BUFFER7:Int = 34860staticinlineread onlyDRAW_BUFFER8:Int = 34861staticinlineread onlyDRAW_BUFFER9:Int = 34862staticinlineread onlyDRAW_FRAMEBUFFER:Int = 36009staticinlineread onlyDRAW_FRAMEBUFFER_BINDING:Int = 36006staticinlineread onlyDST_ALPHA:Int = 772staticinlineread onlyDST_COLOR:Int = 774staticinlineread onlyDYNAMIC_COPY:Int = 35050staticinlineread onlyDYNAMIC_DRAW:Int = 35048staticinlineread onlyDYNAMIC_READ:Int = 35049staticinlineread onlyELEMENT_ARRAY_BUFFER:Int = 34963staticinlineread onlyELEMENT_ARRAY_BUFFER_BINDING:Int = 34965staticinlineread onlyEQUAL:Int = 514staticinlineread onlyFASTEST:Int = 4353staticinlineread onlyFLOAT:Int = 5126staticinlineread onlyFLOAT_32_UNSIGNED_INT_24_8_REV:Int = 36269staticinlineread onlyFLOAT_MAT2:Int = 35674staticinlineread onlyFLOAT_MAT2x3:Int = 35685staticinlineread onlyFLOAT_MAT2x4:Int = 35686staticinlineread onlyFLOAT_MAT3:Int = 35675staticinlineread onlyFLOAT_MAT3x2:Int = 35687staticinlineread onlyFLOAT_MAT3x4:Int = 35688staticinlineread onlyFLOAT_MAT4:Int = 35676staticinlineread onlyFLOAT_MAT4x2:Int = 35689staticinlineread onlyFLOAT_MAT4x3:Int = 35690staticinlineread onlyFLOAT_VEC2:Int = 35664staticinlineread onlyFLOAT_VEC3:Int = 35665staticinlineread onlyFLOAT_VEC4:Int = 35666staticinlineread onlyFRAGMENT_SHADER:Int = 35632staticinlineread onlyFRAGMENT_SHADER_DERIVATIVE_HINT:Int = 35723staticinlineread onlyFRAMEBUFFER:Int = 36160staticinlineread onlyFRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:Int = 33301staticinlineread onlyFRAMEBUFFER_ATTACHMENT_BLUE_SIZE:Int = 33300staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:Int = 33296staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:Int = 33297staticinlineread onlyFRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:Int = 33302staticinlineread onlyFRAMEBUFFER_ATTACHMENT_GREEN_SIZE:Int = 33299staticinlineread onlyFRAMEBUFFER_ATTACHMENT_OBJECT_NAME:Int = 36049staticinlineread onlyFRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:Int = 36048staticinlineread onlyFRAMEBUFFER_ATTACHMENT_RED_SIZE:Int = 33298staticinlineread onlyFRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:Int = 33303staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:Int = 36051staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:Int = 36052staticinlineread onlyFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:Int = 36050staticinlineread onlyFRAMEBUFFER_BINDING:Int = 36006staticinlineread onlyFRAMEBUFFER_COMPLETE:Int = 36053staticinlineread onlyFRAMEBUFFER_DEFAULT:Int = 33304staticinlineread onlyFRAMEBUFFER_INCOMPLETE_ATTACHMENT:Int = 36054staticinlineread onlyFRAMEBUFFER_INCOMPLETE_DIMENSIONS:Int = 36057staticinlineread onlyFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:Int = 36055staticinlineread onlyFRAMEBUFFER_INCOMPLETE_MULTISAMPLE:Int = 36182staticinlineread onlyFRAMEBUFFER_UNSUPPORTED:Int = 36061staticinlineread onlyFRONT:Int = 1028staticinlineread onlyFRONT_AND_BACK:Int = 1032staticinlineread onlyFRONT_FACE:Int = 2886staticinlineread onlyFUNC_ADD:Int = 32774staticinlineread onlyFUNC_REVERSE_SUBTRACT:Int = 32779staticinlineread onlyFUNC_SUBTRACT:Int = 32778staticinlineread onlyGENERATE_MIPMAP_HINT:Int = 33170staticinlineread onlyGEQUAL:Int = 518staticinlineread onlyGREATER:Int = 516staticinlineread onlyGREEN_BITS:Int = 3411staticinlineread onlyHALF_FLOAT:Int = 5131staticinlineread onlyHIGH_FLOAT:Int = 36338staticinlineread onlyHIGH_INT:Int = 36341staticinlineread onlyIMPLEMENTATION_COLOR_READ_FORMAT:Int = 35739staticinlineread onlyIMPLEMENTATION_COLOR_READ_TYPE:Int = 35738staticinlineread onlyINCR:Int = 7682staticinlineread onlyINCR_WRAP:Int = 34055staticinlineread onlyINT:Int = 5124staticinlineread onlyINTERLEAVED_ATTRIBS:Int = 35980staticinlineread onlyINT_2_10_10_10_REV:Int = 36255staticinlineread onlyINT_SAMPLER_2D:Int = 36298staticinlineread onlyINT_SAMPLER_2D_ARRAY:Int = 36303staticinlineread onlyINT_SAMPLER_3D:Int = 36299staticinlineread onlyINT_SAMPLER_CUBE:Int = 36300staticinlineread onlyINT_VEC2:Int = 35667staticinlineread onlyINT_VEC3:Int = 35668staticinlineread onlyINT_VEC4:Int = 35669staticinlineread onlyINVALID_ENUM:Int = 1280staticinlineread onlyINVALID_FRAMEBUFFER_OPERATION:Int = 1286staticinlineread onlyINVALID_INDEX:Int = cast 4294967295staticinlineread onlyINVALID_OPERATION:Int = 1282staticinlineread onlyINVALID_VALUE:Int = 1281staticinlineread onlyINVERT:Int = 5386staticinlineread onlyKEEP:Int = 7680staticinlineread onlyLEQUAL:Int = 515staticinlineread onlyLESS:Int = 513staticinlineread onlyLINEAR:Int = 9729staticinlineread onlyLINEAR_MIPMAP_LINEAR:Int = 9987staticinlineread onlyLINEAR_MIPMAP_NEAREST:Int = 9985staticinlineread onlyLINES:Int = 1staticinlineread onlyLINE_LOOP:Int = 2staticinlineread onlyLINE_STRIP:Int = 3staticinlineread onlyLINE_WIDTH:Int = 2849staticinlineread onlyLINK_STATUS:Int = 35714staticinlineread onlyLOW_FLOAT:Int = 36336staticinlineread onlyLOW_INT:Int = 36339staticinlineread onlyLUMINANCE:Int = 6409staticinlineread onlyLUMINANCE_ALPHA:Int = 6410staticinlineread onlyMAX:Int = 32776staticinlineread onlyMAX_3D_TEXTURE_SIZE:Int = 32883staticinlineread onlyMAX_ARRAY_TEXTURE_LAYERS:Int = 35071staticinlineread onlyMAX_CLIENT_WAIT_TIMEOUT_WEBGL:Int = 37447staticinlineread onlyMAX_COLOR_ATTACHMENTS:Int = 36063staticinlineread onlyMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:Int = 35379staticinlineread onlyMAX_COMBINED_TEXTURE_IMAGE_UNITS:Int = 35661staticinlineread onlyMAX_COMBINED_UNIFORM_BLOCKS:Int = 35374staticinlineread onlyMAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:Int = 35377staticinlineread onlyMAX_CUBE_MAP_TEXTURE_SIZE:Int = 34076staticinlineread onlyMAX_DRAW_BUFFERS:Int = 34852staticinlineread onlyMAX_ELEMENTS_INDICES:Int = 33001staticinlineread onlyMAX_ELEMENTS_VERTICES:Int = 33000staticinlineread onlyMAX_ELEMENT_INDEX:Int = 36203staticinlineread onlyMAX_FRAGMENT_INPUT_COMPONENTS:Int = 37157staticinlineread onlyMAX_FRAGMENT_UNIFORM_BLOCKS:Int = 35373staticinlineread onlyMAX_FRAGMENT_UNIFORM_COMPONENTS:Int = 35657staticinlineread onlyMAX_FRAGMENT_UNIFORM_VECTORS:Int = 36349staticinlineread onlyMAX_PROGRAM_TEXEL_OFFSET:Int = 35077staticinlineread onlyMAX_RENDERBUFFER_SIZE:Int = 34024staticinlineread onlyMAX_SAMPLES:Int = 36183staticinlineread onlyMAX_SERVER_WAIT_TIMEOUT:Int = 37137staticinlineread onlyMAX_TEXTURE_IMAGE_UNITS:Int = 34930staticinlineread onlyMAX_TEXTURE_LOD_BIAS:Int = 34045staticinlineread onlyMAX_TEXTURE_SIZE:Int = 3379staticinlineread onlyMAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:Int = 35978staticinlineread onlyMAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:Int = 35979staticinlineread onlyMAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:Int = 35968staticinlineread onlyMAX_UNIFORM_BLOCK_SIZE:Int = 35376staticinlineread onlyMAX_UNIFORM_BUFFER_BINDINGS:Int = 35375staticinlineread onlyMAX_VARYING_COMPONENTS:Int = 35659staticinlineread onlyMAX_VARYING_VECTORS:Int = 36348staticinlineread onlyMAX_VERTEX_ATTRIBS:Int = 34921staticinlineread onlyMAX_VERTEX_OUTPUT_COMPONENTS:Int = 37154staticinlineread onlyMAX_VERTEX_TEXTURE_IMAGE_UNITS:Int = 35660staticinlineread onlyMAX_VERTEX_UNIFORM_BLOCKS:Int = 35371staticinlineread onlyMAX_VERTEX_UNIFORM_COMPONENTS:Int = 35658staticinlineread onlyMAX_VERTEX_UNIFORM_VECTORS:Int = 36347staticinlineread onlyMAX_VIEWPORT_DIMS:Int = 3386staticinlineread onlyMEDIUM_FLOAT:Int = 36337staticinlineread onlyMEDIUM_INT:Int = 36340staticinlineread onlyMIN:Int = 32775staticinlineread onlyMIN_PROGRAM_TEXEL_OFFSET:Int = 35076staticinlineread onlyMIRRORED_REPEAT:Int = 33648staticinlineread onlyNEAREST:Int = 9728staticinlineread onlyNEAREST_MIPMAP_LINEAR:Int = 9986staticinlineread onlyNEAREST_MIPMAP_NEAREST:Int = 9984staticinlineread onlyNEVER:Int = 512staticinlineread onlyNICEST:Int = 4354staticinlineread onlyNONE:Int = 0staticinlineread onlyNOTEQUAL:Int = 517staticinlineread onlyNO_ERROR:Int = 0staticinlineread onlyOBJECT_TYPE:Int = 37138staticinlineread onlyONE:Int = 1staticinlineread onlyONE_MINUS_CONSTANT_ALPHA:Int = 32772staticinlineread onlyONE_MINUS_CONSTANT_COLOR:Int = 32770staticinlineread onlyONE_MINUS_DST_ALPHA:Int = 773staticinlineread onlyONE_MINUS_DST_COLOR:Int = 775staticinlineread onlyONE_MINUS_SRC_ALPHA:Int = 771staticinlineread onlyONE_MINUS_SRC_COLOR:Int = 769staticinlineread onlyOUT_OF_MEMORY:Int = 1285staticinlineread onlyPACK_ALIGNMENT:Int = 3333staticinlineread onlyPACK_ROW_LENGTH:Int = 3330staticinlineread onlyPACK_SKIP_PIXELS:Int = 3332staticinlineread onlyPACK_SKIP_ROWS:Int = 3331staticinlineread onlyPIXEL_PACK_BUFFER:Int = 35051staticinlineread onlyPIXEL_PACK_BUFFER_BINDING:Int = 35053staticinlineread onlyPIXEL_UNPACK_BUFFER:Int = 35052staticinlineread onlyPIXEL_UNPACK_BUFFER_BINDING:Int = 35055staticinlineread onlyPOINTS:Int = 0staticinlineread onlyPOLYGON_OFFSET_FACTOR:Int = 32824staticinlineread onlyPOLYGON_OFFSET_FILL:Int = 32823staticinlineread onlyPOLYGON_OFFSET_UNITS:Int = 10752staticinlineread onlyQUERY_RESULT:Int = 34918staticinlineread onlyQUERY_RESULT_AVAILABLE:Int = 34919staticinlineread onlyR11F_G11F_B10F:Int = 35898staticinlineread onlyR16F:Int = 33325staticinlineread onlyR16I:Int = 33331staticinlineread onlyR16UI:Int = 33332staticinlineread onlyR32F:Int = 33326staticinlineread onlyR32I:Int = 33333staticinlineread onlyR32UI:Int = 33334staticinlineread onlyR8:Int = 33321staticinlineread onlyR8I:Int = 33329staticinlineread onlyR8UI:Int = 33330staticinlineread onlyR8_SNORM:Int = 36756staticinlineread onlyRASTERIZER_DISCARD:Int = 35977staticinlineread onlyREAD_BUFFER:Int = 3074staticinlineread onlyREAD_FRAMEBUFFER:Int = 36008staticinlineread onlyREAD_FRAMEBUFFER_BINDING:Int = 36010staticinlineread onlyRED:Int = 6403staticinlineread onlyRED_BITS:Int = 3410staticinlineread onlyRED_INTEGER:Int = 36244staticinlineread onlyRENDERBUFFER:Int = 36161staticinlineread onlyRENDERBUFFER_ALPHA_SIZE:Int = 36179staticinlineread onlyRENDERBUFFER_BINDING:Int = 36007staticinlineread onlyRENDERBUFFER_BLUE_SIZE:Int = 36178staticinlineread onlyRENDERBUFFER_DEPTH_SIZE:Int = 36180staticinlineread onlyRENDERBUFFER_GREEN_SIZE:Int = 36177staticinlineread onlyRENDERBUFFER_HEIGHT:Int = 36163staticinlineread onlyRENDERBUFFER_INTERNAL_FORMAT:Int = 36164staticinlineread onlyRENDERBUFFER_RED_SIZE:Int = 36176staticinlineread onlyRENDERBUFFER_SAMPLES:Int = 36011staticinlineread onlyRENDERBUFFER_STENCIL_SIZE:Int = 36181staticinlineread onlyRENDERBUFFER_WIDTH:Int = 36162staticinlineread onlyRENDERER:Int = 7937staticinlineread onlyREPEAT:Int = 10497staticinlineread onlyREPLACE:Int = 7681staticinlineread onlyRG:Int = 33319staticinlineread onlyRG16F:Int = 33327staticinlineread onlyRG16I:Int = 33337staticinlineread onlyRG16UI:Int = 33338staticinlineread onlyRG32F:Int = 33328staticinlineread onlyRG32I:Int = 33339staticinlineread onlyRG32UI:Int = 33340staticinlineread onlyRG8:Int = 33323staticinlineread onlyRG8I:Int = 33335staticinlineread onlyRG8UI:Int = 33336staticinlineread onlyRG8_SNORM:Int = 36757staticinlineread onlyRGB:Int = 6407staticinlineread onlyRGB10_A2:Int = 32857staticinlineread onlyRGB10_A2UI:Int = 36975staticinlineread onlyRGB16F:Int = 34843staticinlineread onlyRGB16I:Int = 36233staticinlineread onlyRGB16UI:Int = 36215staticinlineread onlyRGB32F:Int = 34837staticinlineread onlyRGB32I:Int = 36227staticinlineread onlyRGB32UI:Int = 36209staticinlineread onlyRGB565:Int = 36194staticinlineread onlyRGB5_A1:Int = 32855staticinlineread onlyRGB8:Int = 32849staticinlineread onlyRGB8I:Int = 36239staticinlineread onlyRGB8UI:Int = 36221staticinlineread onlyRGB8_SNORM:Int = 36758staticinlineread onlyRGB9_E5:Int = 35901staticinlineread onlyRGBA:Int = 6408staticinlineread onlyRGBA16F:Int = 34842staticinlineread onlyRGBA16I:Int = 36232staticinlineread onlyRGBA16UI:Int = 36214staticinlineread onlyRGBA32F:Int = 34836staticinlineread onlyRGBA32I:Int = 36226staticinlineread onlyRGBA32UI:Int = 36208staticinlineread onlyRGBA4:Int = 32854staticinlineread onlyRGBA8:Int = 32856staticinlineread onlyRGBA8I:Int = 36238staticinlineread onlyRGBA8UI:Int = 36220staticinlineread onlyRGBA8_SNORM:Int = 36759staticinlineread onlyRGBA_INTEGER:Int = 36249staticinlineread onlyRGB_INTEGER:Int = 36248staticinlineread onlyRG_INTEGER:Int = 33320staticinlineread onlySAMPLER_2D:Int = 35678staticinlineread onlySAMPLER_2D_ARRAY:Int = 36289staticinlineread onlySAMPLER_2D_ARRAY_SHADOW:Int = 36292staticinlineread onlySAMPLER_2D_SHADOW:Int = 35682staticinlineread onlySAMPLER_3D:Int = 35679staticinlineread onlySAMPLER_BINDING:Int = 35097staticinlineread onlySAMPLER_CUBE:Int = 35680staticinlineread onlySAMPLER_CUBE_SHADOW:Int = 36293staticinlineread onlySAMPLES:Int = 32937staticinlineread onlySAMPLE_ALPHA_TO_COVERAGE:Int = 32926staticinlineread onlySAMPLE_BUFFERS:Int = 32936staticinlineread onlySAMPLE_COVERAGE:Int = 32928staticinlineread onlySAMPLE_COVERAGE_INVERT:Int = 32939staticinlineread onlySAMPLE_COVERAGE_VALUE:Int = 32938staticinlineread onlySCISSOR_BOX:Int = 3088staticinlineread onlySCISSOR_TEST:Int = 3089staticinlineread onlySEPARATE_ATTRIBS:Int = 35981staticinlineread onlySHADER_TYPE:Int = 35663staticinlineread onlySHADING_LANGUAGE_VERSION:Int = 35724staticinlineread onlySHORT:Int = 5122staticinlineread onlySIGNALED:Int = 37145staticinlineread onlySIGNED_NORMALIZED:Int = 36764staticinlineread onlySRC_ALPHA:Int = 770staticinlineread onlySRC_ALPHA_SATURATE:Int = 776staticinlineread onlySRC_COLOR:Int = 768staticinlineread onlySRGB:Int = 35904staticinlineread onlySRGB8:Int = 35905staticinlineread onlySRGB8_ALPHA8:Int = 35907staticinlineread onlySTATIC_COPY:Int = 35046staticinlineread onlySTATIC_DRAW:Int = 35044staticinlineread onlySTATIC_READ:Int = 35045staticinlineread onlySTENCIL:Int = 6146staticinlineread onlySTENCIL_ATTACHMENT:Int = 36128staticinlineread onlySTENCIL_BACK_FAIL:Int = 34817staticinlineread onlySTENCIL_BACK_FUNC:Int = 34816staticinlineread onlySTENCIL_BACK_PASS_DEPTH_FAIL:Int = 34818staticinlineread onlySTENCIL_BACK_PASS_DEPTH_PASS:Int = 34819staticinlineread onlySTENCIL_BACK_REF:Int = 36003staticinlineread onlySTENCIL_BACK_VALUE_MASK:Int = 36004staticinlineread onlySTENCIL_BACK_WRITEMASK:Int = 36005staticinlineread onlySTENCIL_BITS:Int = 3415staticinlineread onlySTENCIL_BUFFER_BIT:Int = 1024staticinlineread onlySTENCIL_CLEAR_VALUE:Int = 2961staticinlineread onlySTENCIL_FAIL:Int = 2964staticinlineread onlySTENCIL_FUNC:Int = 2962staticinlineread onlySTENCIL_INDEX8:Int = 36168staticinlineread onlySTENCIL_PASS_DEPTH_FAIL:Int = 2965staticinlineread onlySTENCIL_PASS_DEPTH_PASS:Int = 2966staticinlineread onlySTENCIL_REF:Int = 2967staticinlineread onlySTENCIL_TEST:Int = 2960staticinlineread onlySTENCIL_VALUE_MASK:Int = 2963staticinlineread onlySTENCIL_WRITEMASK:Int = 2968staticinlineread onlySTREAM_COPY:Int = 35042staticinlineread onlySTREAM_DRAW:Int = 35040staticinlineread onlySTREAM_READ:Int = 35041staticinlineread onlySUBPIXEL_BITS:Int = 3408staticinlineread onlySYNC_CONDITION:Int = 37139staticinlineread onlySYNC_FENCE:Int = 37142staticinlineread onlySYNC_FLAGS:Int = 37141staticinlineread onlySYNC_FLUSH_COMMANDS_BIT:Int = 1staticinlineread onlySYNC_GPU_COMMANDS_COMPLETE:Int = 37143staticinlineread onlySYNC_STATUS:Int = 37140staticinlineread onlyTEXTURE:Int = 5890staticinlineread onlyTEXTURE0:Int = 33984staticinlineread onlyTEXTURE1:Int = 33985staticinlineread onlyTEXTURE10:Int = 33994staticinlineread onlyTEXTURE11:Int = 33995staticinlineread onlyTEXTURE12:Int = 33996staticinlineread onlyTEXTURE13:Int = 33997staticinlineread onlyTEXTURE14:Int = 33998staticinlineread onlyTEXTURE15:Int = 33999staticinlineread onlyTEXTURE16:Int = 34000staticinlineread onlyTEXTURE17:Int = 34001staticinlineread onlyTEXTURE18:Int = 34002staticinlineread onlyTEXTURE19:Int = 34003staticinlineread onlyTEXTURE2:Int = 33986staticinlineread onlyTEXTURE20:Int = 34004staticinlineread onlyTEXTURE21:Int = 34005staticinlineread onlyTEXTURE22:Int = 34006staticinlineread onlyTEXTURE23:Int = 34007staticinlineread onlyTEXTURE24:Int = 34008staticinlineread onlyTEXTURE25:Int = 34009staticinlineread onlyTEXTURE26:Int = 34010staticinlineread onlyTEXTURE27:Int = 34011staticinlineread onlyTEXTURE28:Int = 34012staticinlineread onlyTEXTURE29:Int = 34013staticinlineread onlyTEXTURE3:Int = 33987staticinlineread onlyTEXTURE30:Int = 34014staticinlineread onlyTEXTURE31:Int = 34015staticinlineread onlyTEXTURE4:Int = 33988staticinlineread onlyTEXTURE5:Int = 33989staticinlineread onlyTEXTURE6:Int = 33990staticinlineread onlyTEXTURE7:Int = 33991staticinlineread onlyTEXTURE8:Int = 33992staticinlineread onlyTEXTURE9:Int = 33993staticinlineread onlyTEXTURE_2D:Int = 3553staticinlineread onlyTEXTURE_2D_ARRAY:Int = 35866staticinlineread onlyTEXTURE_3D:Int = 32879staticinlineread onlyTEXTURE_BASE_LEVEL:Int = 33084staticinlineread onlyTEXTURE_BINDING_2D:Int = 32873staticinlineread onlyTEXTURE_BINDING_2D_ARRAY:Int = 35869staticinlineread onlyTEXTURE_BINDING_3D:Int = 32874staticinlineread onlyTEXTURE_BINDING_CUBE_MAP:Int = 34068staticinlineread onlyTEXTURE_COMPARE_FUNC:Int = 34893staticinlineread onlyTEXTURE_COMPARE_MODE:Int = 34892staticinlineread onlyTEXTURE_CUBE_MAP:Int = 34067staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_X:Int = 34070staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_Y:Int = 34072staticinlineread onlyTEXTURE_CUBE_MAP_NEGATIVE_Z:Int = 34074staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_X:Int = 34069staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_Y:Int = 34071staticinlineread onlyTEXTURE_CUBE_MAP_POSITIVE_Z:Int = 34073staticinlineread onlyTEXTURE_IMMUTABLE_FORMAT:Int = 37167staticinlineread onlyTEXTURE_IMMUTABLE_LEVELS:Int = 33503staticinlineread onlyTEXTURE_MAG_FILTER:Int = 10240staticinlineread onlyTEXTURE_MAX_LEVEL:Int = 33085staticinlineread onlyTEXTURE_MAX_LOD:Int = 33083staticinlineread onlyTEXTURE_MIN_FILTER:Int = 10241staticinlineread onlyTEXTURE_MIN_LOD:Int = 33082staticinlineread onlyTEXTURE_WRAP_R:Int = 32882staticinlineread onlyTEXTURE_WRAP_S:Int = 10242staticinlineread onlyTEXTURE_WRAP_T:Int = 10243staticinlineread onlyTIMEOUT_EXPIRED:Int = 37147staticinlineread onlyTIMEOUT_IGNORED:Int = -1staticinlineread onlyTRANSFORM_FEEDBACK:Int = 36386staticinlineread onlyTRANSFORM_FEEDBACK_ACTIVE:Int = 36388staticinlineread onlyTRANSFORM_FEEDBACK_BINDING:Int = 36389staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER:Int = 35982staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_BINDING:Int = 35983staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_MODE:Int = 35967staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_SIZE:Int = 35973staticinlineread onlyTRANSFORM_FEEDBACK_BUFFER_START:Int = 35972staticinlineread onlyTRANSFORM_FEEDBACK_PAUSED:Int = 36387staticinlineread onlyTRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:Int = 35976staticinlineread onlyTRANSFORM_FEEDBACK_VARYINGS:Int = 35971staticinlineread onlyTRIANGLES:Int = 4staticinlineread onlyTRIANGLE_FAN:Int = 6staticinlineread onlyTRIANGLE_STRIP:Int = 5staticinlineread onlyUNIFORM_ARRAY_STRIDE:Int = 35388staticinlineread onlyUNIFORM_BLOCK_ACTIVE_UNIFORMS:Int = 35394staticinlineread onlyUNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:Int = 35395staticinlineread onlyUNIFORM_BLOCK_BINDING:Int = 35391staticinlineread onlyUNIFORM_BLOCK_DATA_SIZE:Int = 35392staticinlineread onlyUNIFORM_BLOCK_INDEX:Int = 35386staticinlineread onlyUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:Int = 35398staticinlineread onlyUNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:Int = 35396staticinlineread onlyUNIFORM_BUFFER:Int = 35345staticinlineread onlyUNIFORM_BUFFER_BINDING:Int = 35368staticinlineread onlyUNIFORM_BUFFER_OFFSET_ALIGNMENT:Int = 35380staticinlineread onlyUNIFORM_BUFFER_SIZE:Int = 35370staticinlineread onlyUNIFORM_BUFFER_START:Int = 35369staticinlineread onlyUNIFORM_IS_ROW_MAJOR:Int = 35390staticinlineread onlyUNIFORM_MATRIX_STRIDE:Int = 35389staticinlineread onlyUNIFORM_OFFSET:Int = 35387staticinlineread onlyUNIFORM_SIZE:Int = 35384staticinlineread onlyUNIFORM_TYPE:Int = 35383staticinlineread onlyUNPACK_ALIGNMENT:Int = 3317staticinlineread onlyUNPACK_COLORSPACE_CONVERSION_WEBGL:Int = 37443staticinlineread onlyUNPACK_FLIP_Y_WEBGL:Int = 37440staticinlineread onlyUNPACK_IMAGE_HEIGHT:Int = 32878staticinlineread onlyUNPACK_PREMULTIPLY_ALPHA_WEBGL:Int = 37441staticinlineread onlyUNPACK_ROW_LENGTH:Int = 3314staticinlineread onlyUNPACK_SKIP_IMAGES:Int = 32877staticinlineread onlyUNPACK_SKIP_PIXELS:Int = 3316staticinlineread onlyUNPACK_SKIP_ROWS:Int = 3315staticinlineread onlyUNSIGNALED:Int = 37144staticinlineread onlyUNSIGNED_BYTE:Int = 5121staticinlineread onlyUNSIGNED_INT:Int = 5125staticinlineread onlyUNSIGNED_INT_10F_11F_11F_REV:Int = 35899staticinlineread onlyUNSIGNED_INT_24_8:Int = 34042staticinlineread onlyUNSIGNED_INT_2_10_10_10_REV:Int = 33640staticinlineread onlyUNSIGNED_INT_5_9_9_9_REV:Int = 35902staticinlineread onlyUNSIGNED_INT_SAMPLER_2D:Int = 36306staticinlineread onlyUNSIGNED_INT_SAMPLER_2D_ARRAY:Int = 36311staticinlineread onlyUNSIGNED_INT_SAMPLER_3D:Int = 36307staticinlineread onlyUNSIGNED_INT_SAMPLER_CUBE:Int = 36308staticinlineread onlyUNSIGNED_INT_VEC2:Int = 36294staticinlineread onlyUNSIGNED_INT_VEC3:Int = 36295staticinlineread onlyUNSIGNED_INT_VEC4:Int = 36296staticinlineread onlyUNSIGNED_NORMALIZED:Int = 35863staticinlineread onlyUNSIGNED_SHORT:Int = 5123staticinlineread onlyUNSIGNED_SHORT_4_4_4_4:Int = 32819staticinlineread onlyUNSIGNED_SHORT_5_5_5_1:Int = 32820staticinlineread onlyUNSIGNED_SHORT_5_6_5:Int = 33635staticinlineread onlyVALIDATE_STATUS:Int = 35715staticinlineread onlyVENDOR:Int = 7936staticinlineread onlyVERSION:Int = 7938staticinlineread onlyVERTEX_ARRAY_BINDING:Int = 34229staticinlineread onlyVERTEX_ATTRIB_ARRAY_BUFFER_BINDING:Int = 34975staticinlineread onlyVERTEX_ATTRIB_ARRAY_DIVISOR:Int = 35070staticinlineread onlyVERTEX_ATTRIB_ARRAY_ENABLED:Int = 34338staticinlineread onlyVERTEX_ATTRIB_ARRAY_INTEGER:Int = 35069staticinlineread onlyVERTEX_ATTRIB_ARRAY_NORMALIZED:Int = 34922staticinlineread onlyVERTEX_ATTRIB_ARRAY_POINTER:Int = 34373staticinlineread onlyVERTEX_ATTRIB_ARRAY_SIZE:Int = 34339staticinlineread onlyVERTEX_ATTRIB_ARRAY_STRIDE:Int = 34340staticinlineread onlyVERTEX_ATTRIB_ARRAY_TYPE:Int = 34341staticinlineread onlyVERTEX_SHADER:Int = 35633staticinlineread onlyVIEWPORT:Int = 2978staticinlineread onlyWAIT_FAILED:Int = 37149staticinlineread onlyZERO:Int = 0beginQuery(target:Int, query:Query):VoidBegins an asynchronous query.
beginTransformFeedback(primitiveMode:Int):VoidStarts a transform feedback operation.
bindBufferBase(target:Int, index:Int, buffer:Buffer):VoidBinds a given WebGLBuffer to a given binding point (target) at a given index.
bindBufferRange(target:Int, index:Int, buffer:Buffer, offset:Int, size:Int):VoidBinds a range of a given WebGLBuffer to a given binding point (target) at a given index.
bindSampler(unit:Int, sampler:Sampler):VoidBinds a given WebGLSampler to a texture unit.
bindTransformFeedback(target:Int, tf:TransformFeedback):VoidBinds a passed WebGLTransformFeedback object to the current GL state.
bindVertexArray(array:VertexArrayObject):VoidBinds 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):VoidTransfers a block of pixels from the read framebuffer to the draw framebuffer.
bufferData(target:Int, srcData:ArrayBufferView, usage:Int, srcOffset:Int, length:Int = 0):VoidbufferData(target:Int, size:Int, usage:Int):VoidbufferData(target:Int, srcData:ArrayBuffer, usage:Int):VoidbufferData(target:Int, srcData:ArrayBufferView, usage:Int):VoidInitializes and creates the buffer object's data store.
bufferSubData(target:Int, dstByteOffset:Int, srcData:ArrayBufferView, srcOffset:Int, length:Int = 0):VoidbufferSubData(target:Int, offset:Int, srcData:ArrayBuffer):VoidbufferSubData(target:Int, offset:Int, srcData:ArrayBufferView):VoidUpdates a subset of a buffer object's data store.
clearBufferfi(buffer:Int, drawbuffer:Int, depth:Float, stencil:Int):VoidclearBufferfv(buffer:Int, drawbuffer:Int, values:Float32Array, srcOffset:Int = 0):VoidclearBufferfv(buffer:Int, drawbuffer:Int, values:Array<Float>, srcOffset:Int = 0):VoidclearBufferiv(buffer:Int, drawbuffer:Int, values:Int32Array, srcOffset:Int = 0):VoidclearBufferiv(buffer:Int, drawbuffer:Int, values:Array<Int>, srcOffset:Int = 0):VoidclearBufferuiv(buffer:Int, drawbuffer:Int, values:Uint32Array, srcOffset:Int = 0):VoidclearBufferuiv(buffer:Int, drawbuffer:Int, values:Array<Int>, srcOffset:Int = 0):VoidclientWaitSync(sync:Sync, flags:Int, timeout:Int):IntBlocks 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):VoidcompressedTexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, imageSize:Int, offset:Int):VoidSpecifies 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):VoidcompressedTexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, imageSize:Int, offset:Int):VoidSpecifies a three-dimensional sub-rectangle for a texture image in a compressed format.
copyBufferSubData(readTarget:Int, writeTarget:Int, readOffset:Int, writeOffset:Int, size:Int):VoidCopies 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):VoidCopies pixels from the current WebGLFramebuffer into an existing 3D texture sub-image.
createQuery():QueryCreates a new WebGLQuery object.
createSampler():SamplerCreates a new WebGLSampler object.
createTransformFeedback():TransformFeedbackCreates and initializes WebGLTransformFeedback objects.
createVertexArray():VertexArrayObjectCreates a new WebGLVertexArrayObject.
deleteQuery(query:Query):VoidDeletes a given WebGLQuery object.
deleteSampler(sampler:Sampler):VoidDeletes a given WebGLSampler object.
deleteSync(sync:Sync):VoidDeletes a given WebGLSync object.
deleteTransformFeedback(tf:TransformFeedback):VoidDeletes a given WebGLTransformFeedback object.
deleteVertexArray(vertexArray:VertexArrayObject):VoidDeletes a given WebGLVertexArrayObject.
drawArraysInstanced(mode:Int, first:Int, count:Int, instanceCount:Int):VoidRenders primitives from array data. In addition, it can execute multiple instances of the range of elements.
drawBuffers(buffers:Array<Int>):VoidSpecifies a list of color buffers to be drawn into.
drawElementsInstanced(mode:Int, count:Int, type:Int, offset:Int, instanceCount:Int):VoidRenders 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):VoidRenders primitives from array data in a given range.
endQuery(target:Int):VoidMarks the end of an asynchronous query.
endTransformFeedback():VoidEnds a transform feedback operation.
fenceSync(condition:Int, flags:Int):SyncCreates a new WebGLSync object and inserts it into the GL command stream.
framebufferTextureLayer(target:Int, attachment:Int, texture:Texture, level:Int, layer:Int):VoidAttaches a single layer of a texture to a framebuffer.
getActiveUniformBlockName(program:Program, uniformBlockIndex:Int):StringRetrieves the name of the active uniform block at a given index within a WebGLProgram.
getActiveUniformBlockParameter(program:Program, uniformBlockIndex:Int, pname:Int):DynamicRetrieves information about an active uniform block within a WebGLProgram.
Throws:
null |
DOMError |
|---|
getActiveUniforms(program:Program, uniformIndices:Array<Int>, pname:Int):DynamicRetrieves information about active uniforms within a WebGLProgram.
getBufferSubData(target:Int, srcByteOffset:Int, dstData:ArrayBufferView, dstOffset:Int = 0, length:Int = 0):VoidReads data from a buffer and writes them to an ArrayBuffer or SharedArrayBuffer.
getExtension<T>(name:Extension<T>):TThrows:
null |
DOMError |
|---|
getFragDataLocation(program:Program, name:String):IntReturns the binding of color numbers to user-defined varying out variables.
getFramebufferAttachmentParameter(target:Int, attachment:Int, pname:Int):DynamicThrows:
null |
DOMError |
|---|
getIndexedParameter(target:Int, index:Int):DynamicReturns the indexed value for the given target.
Throws:
null |
DOMError |
|---|
getInternalformatParameter(target:Int, internalformat:Int, pname:Int):DynamicReturns information about implementation-dependent support for internal formats.
Throws:
null |
DOMError |
|---|
getParameter(pname:Int):DynamicThrows:
null |
DOMError |
|---|
getQuery(target:Int, pname:Int):DynamicReturns a WebGLQuery object for a given target.
getQueryParameter(query:Query, pname:Int):DynamicReturns information about a query.
getSamplerParameter(sampler:Sampler, pname:Int):DynamicReturns sampler parameter information.
getSyncParameter(sync:Sync, pname:Int):DynamicReturns parameter information of a WebGLSync object.
getTransformFeedbackVarying(program:Program, index:Int):ActiveInfoReturns information about varying variables from WebGLTransformFeedback buffers.
getUniformBlockIndex(program:Program, uniformBlockName:String):IntRetrieves 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):DynamicThrows:
null |
DOMError |
|---|
invalidateFramebuffer(target:Int, attachments:Array<Int>):VoidInvalidates the contents of attachments in a framebuffer.
Throws:
null |
DOMError |
|---|
invalidateSubFramebuffer(target:Int, attachments:Array<Int>, x:Int, y:Int, width:Int, height:Int):VoidInvalidates portions of the contents of attachments in a framebuffer
Throws:
null |
DOMError |
|---|
isQuery(query:Query):BoolReturns true if a given object is a valid WebGLQuery object.
isSampler(sampler:Sampler):BoolReturns true if a given object is a valid WebGLSampler object.
isSync(sync:Sync):BoolReturns true if the passed object is a valid WebGLSync object.
isTransformFeedback(tf:TransformFeedback):BoolReturns true if the passed object is a valid WebGLTransformFeedback object.
isVertexArray(vertexArray:VertexArrayObject):BoolReturns true if a given object is a valid WebGLVertexArrayObject.
pauseTransformFeedback():VoidPauses a transform feedback operation.
readBuffer(src:Int):VoidSelects 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):VoidreadPixels(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, dstData:ArrayBufferView):VoidreadPixels(x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, offset:Int):VoidThrows:
null |
DOMError |
|---|
renderbufferStorageMultisample(target:Int, samples:Int, internalformat:Int, width:Int, height:Int):VoidCreates and initializes a renderbuffer object's data store and allows specifying the number of samples to be used.
resumeTransformFeedback():VoidResumes a transform feedback operation.
samplerParameterf(sampler:Sampler, pname:Int, param:Float):VoidsamplerParameteri(sampler:Sampler, pname:Int, param:Int):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView, srcOffset:Int):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:ArrayBufferView):VoidtexImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:CanvasElement):VoidtexImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:ImageElement):VoidtexImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:VideoElement):VoidtexImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:ImageBitmap):VoidtexImage2D(target:Int, level:Int, internalformat:Int, format:Int, type:Int, source:ImageData):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pboOffset:Int):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:CanvasElement):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:ImageElement):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:VideoElement):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:ImageBitmap):VoidtexImage2D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, source:ImageData):VoidThrows:
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):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, pboOffset:Int):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:CanvasElement):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:ImageElement):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:VideoElement):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:ImageBitmap):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, source:ImageData):VoidtexImage3D(target:Int, level:Int, internalformat:Int, width:Int, height:Int, depth:Int, border:Int, format:Int, type:Int, srcData:ArrayBufferView):VoidSpecifies a three-dimensional texture image.
Throws:
null |
DOMError |
|---|
texStorage2D(target:Int, levels:Int, internalformat:Int, width:Int, height:Int):VoidSpecifies all levels of two-dimensional texture storage.
texStorage3D(target:Int, levels:Int, internalformat:Int, width:Int, height:Int, depth:Int):VoidSpecifies 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):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:CanvasElement):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:ImageElement):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:VideoElement):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:ImageBitmap):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, source:ImageData):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pboOffset:Int):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:CanvasElement):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:ImageElement):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:VideoElement):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:ImageBitmap):VoidtexSubImage2D(target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, source:ImageData):VoidThrows:
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):VoidtexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, pboOffset:Int):VoidtexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:CanvasElement):VoidtexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:ImageElement):VoidtexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:VideoElement):VoidtexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:ImageBitmap):VoidtexSubImage3D(target:Int, level:Int, xoffset:Int, yoffset:Int, zoffset:Int, width:Int, height:Int, depth:Int, format:Int, type:Int, source:ImageData):VoidSpecifies a sub-rectangle of the current 3D texture.
Throws:
null |
DOMError |
|---|
transformFeedbackVaryings(program:Program, varyings:Array<String>, bufferMode:Int):VoidSpecifies values to record in WebGLTransformFeedback buffers.
uniform1ui(location:UniformLocation, v0:Int):Voiduniform1uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform1uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform2ui(location:UniformLocation, v0:Int, v1:Int):Voiduniform2uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform2uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform3ui(location:UniformLocation, v0:Int, v1:Int, v2:Int):Voiduniform3uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform3uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform4ui(location:UniformLocation, v0:Int, v1:Int, v2:Int, v3:Int):Voiduniform4uiv(location:UniformLocation, data:Uint32Array, srcOffset:Int = 0, srcLength:Int = 0):Voiduniform4uiv(location:UniformLocation, data:Array<Int>, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformBlockBinding(program:Program, uniformBlockIndex:Int, uniformBlockBinding:Int):VoidAssigns binding points for active uniform blocks.
uniformMatrix2x3fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix2x3fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix2x4fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix2x4fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix3x2fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix3x2fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix3x4fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix3x4fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix4x2fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix4x2fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix4x3fv(location:UniformLocation, transpose:Bool, data:Float32Array, srcOffset:Int = 0, srcLength:Int = 0):VoiduniformMatrix4x3fv(location:UniformLocation, transpose:Bool, data:Array<Float>, srcOffset:Int = 0, srcLength:Int = 0):VoidvertexAttribDivisor(index:Int, divisor:Int):VoidModifies 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):VoidvertexAttribI4iv(index:Int, values:Int32Array):VoidvertexAttribI4iv(index:Int, values:Array<Int>):VoidvertexAttribI4ui(index:Int, x:Int, y:Int, z:Int, w:Int):VoidvertexAttribI4uiv(index:Int, values:Uint32Array):VoidvertexAttribI4uiv(index:Int, values:Array<Int>):VoidvertexAttribIPointer(index:Int, size:Int, type:Int, stride:Int, offset:Int):VoidSpecifies integer data formats and locations of vertex attributes in a vertex attributes array.
waitSync(sync:Sync, flags:Int, timeout:Int):VoidReturns 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