ConstReadonlyALWAYS: 519GL_ALWAYS — the stencil test's initial state, and what a mask pass uses.
ReadonlyARRAY_BUFFER: 34962GL_ARRAY_BUFFER — vertex attribute storage.
ReadonlyBLEND: 3042GL_BLEND — enabled around sprite and particle passes; see webgl-renderer.ts.
ReadonlyCCW: 2305GL_CCW — counter-clockwise front faces (§7a right-handed, Y-up).
ReadonlyCLAMP_TO_EDGE: 33071GL_CLAMP_TO_EDGE — the default wrap mode of a §77 texture (R-30).
ReadonlyCOLOR_ATTACHMENT0: 36064GL_COLOR_ATTACHMENT0 — a render target's colour texture (R-4).
ReadonlyCOLOR_BUFFER_BIT: 16384GL_COLOR_BUFFER_BIT, for WebglContext.clear.
ReadonlyCOMPILE_STATUS: 35713GL_COMPILE_STATUS.
ReadonlyCULL_FACE: 2884GL_CULL_FACE, deliberately left disabled — see webgl-renderer.ts.
ReadonlyDECR: 7683GL_DECR — decrement, saturating at 0.
ReadonlyDECR_WRAP: 34056GL_DECR_WRAP — decrement, wrapping 0 to 255.
ReadonlyDEPTH_ATTACHMENT: 36096GL_DEPTH_ATTACHMENT — a render target's depth renderbuffer (R-4).
ReadonlyDEPTH_BUFFER_BIT: 256GL_DEPTH_BUFFER_BIT, for WebglContext.clear.
ReadonlyDEPTH_COMPONENT: 6402GL_DEPTH_COMPONENT — the texel format of a depth texture (R-18).
ReadonlyDEPTH_COMPONENT16: 33189GL_DEPTH_COMPONENT16 — storage format of a render target's depth
renderbuffer (R-4). The narrowest depth format WebGL 2 guarantees is
renderbuffer-renderable everywhere; 24-bit depth and packed
depth-stencil are staged with §67 and §69 (see gl-render-target.ts).
ReadonlyDEPTH_COMPONENT24: 33190GL_DEPTH_COMPONENT24 — sized internal format of a samplable depth
attachment (R-18, §69). Twenty-four bits rather than the renderbuffer's
sixteen because a shadow map's whole content is a depth comparison, and
16-bit quantization over a 100 m volume shows as banded self-shadowing
before any bias can help; WebGL 2 requires this format for textures.
ReadonlyDEPTH_STENCIL_ATTACHMENT: 33306GL_DEPTH_STENCIL_ATTACHMENT — where GL.DEPTH24_STENCIL8 attaches.
ReadonlyDEPTH_TEST: 2929GL_DEPTH_TEST.
ReadonlyDEPTH24_STENCIL8: 35056GL_DEPTH24_STENCIL8 — the packed depth-plus-stencil renderbuffer storage
a render target asks for with stencil: true (R-7, §67).
Packed rather than a separate STENCIL_INDEX8 renderbuffer: WebGL 2
guarantees this combination is framebuffer-complete, a separate stencil
attachment beside a separate depth attachment is not guaranteed to be, and
one renderbuffer is one allocation. The consequence is stated where it
matters (gl-render-target.ts): the packed form is a renderbuffer, so a
target cannot ask for a stencil and R-18's samplable depthTexture at once.
ReadonlyDST_COLOR: 774GL_DST_COLOR — source factor of the "multiply" blend mode.
ReadonlyELEMENT_ARRAY_BUFFER: 34963GL_ELEMENT_ARRAY_BUFFER — index storage; part of vertex-array state.
ReadonlyEQUAL: 514GL_EQUAL — the mask test: draw only where the mask was written.
ReadonlyFLOAT: 5126GL_FLOAT — the position attribute's component type.
ReadonlyFRAGMENT_SHADER: 35632GL_FRAGMENT_SHADER.
ReadonlyFRAMEBUFFER: 36160GL_FRAMEBUFFER — the bind point for both drawing and attaching (R-4).
ReadonlyFRAMEBUFFER_COMPLETE: 36053GL_FRAMEBUFFER_COMPLETE — the one status a usable framebuffer reports.
ReadonlyGEQUAL: 518GL_GEQUAL.
ReadonlyGPU_DISJOINT_EXT: 36795GL_GPU_DISJOINT_EXT — true when the GPU reset its timers this
interval. A completed elapsed-time query whose disjoint flag is set is
discarded rather than published as gpuFrameTime.
ReadonlyGREATER: 516GL_GREATER.
ReadonlyINCR: 7682GL_INCR — increment, saturating at 255.
ReadonlyINCR_WRAP: 34055GL_INCR_WRAP — increment, wrapping 255 to 0.
ReadonlyINVERT: 5386GL_INVERT — bitwise-invert the stored value.
ReadonlyKEEP: 7680GL_KEEP — leave the stored value alone; the initial state of all three ops.
ReadonlyLEQUAL: 515GL_LEQUAL — the depth comparison this backend uses, and a stencil one.
ReadonlyLESS: 513GL_LESS.
ReadonlyLINEAR: 9729GL_LINEAR — bilinear sampling, and the default §77 filter (R-30).
ReadonlyLINEAR_MIPMAP_LINEAR: 9987GL_LINEAR_MIPMAP_LINEAR — trilinear (§77, R-30b, 2026-08-21).
ReadonlyLINEAR_MIPMAP_NEAREST: 9985GL_LINEAR_MIPMAP_NEAREST — bilinear in level, one level (§77, R-30b).
ReadonlyLINES: 1GL_LINES — two vertices per primitive.
ReadonlyLINK_STATUS: 35714GL_LINK_STATUS.
ReadonlyMAX_TEXTURE_MAX_ANISOTROPY_EXT: 34047GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT — the device's ceiling, read once per
cache the first time a texture asks for anisotropy (§62, §77, R-30b).
ReadonlyMAX_TEXTURE_SIZE: 3379GL_MAX_TEXTURE_SIZE, the one §62 limit the MVP reports.
ReadonlyMIRRORED_REPEAT: 33648GL_MIRRORED_REPEAT — §77's mirrored tiling wrap mode (R-30).
ReadonlyNEAREST: 9728GL_NEAREST — point sampling. The one place this tier uses it is §69's
shadow map (R-18): a DEPTH_COMPONENT texture is not filterable in
GLES 3.0, so LINEAR would leave it incomplete and sample as black. The
percentage-closer filter is therefore explicit taps in the shader rather
than hardware filtering — see gl-shadow.ts.
ReadonlyNEAREST_MIPMAP_LINEAR: 9986GL_NEAREST_MIPMAP_LINEAR — point in level, two levels (§77, R-30b).
ReadonlyNEAREST_MIPMAP_NEAREST: 9984GL_NEAREST_MIPMAP_NEAREST — point in level, one level (§77, R-30b).
ReadonlyNEVER: 512GL_NEVER — a stencil test that never passes.
ReadonlyNOTEQUAL: 517GL_NOTEQUAL — the inverse mask test.
ReadonlyONE: 1GL_ONE — destination factor of "additive", source of "screen".
ReadonlyONE_MINUS_SRC_ALPHA: 771GL_ONE_MINUS_SRC_ALPHA — destination factor of the same blend.
ReadonlyONE_MINUS_SRC_COLOR: 769GL_ONE_MINUS_SRC_COLOR — destination factor of "screen".
ReadonlyQUERY_RESULT: 34918GL_QUERY_RESULT — the completed query's value (nanoseconds here).
ReadonlyQUERY_RESULT_AVAILABLE: 34919GL_QUERY_RESULT_AVAILABLE — whether GL.QUERY_RESULT may be read.
ReadonlyRENDERBUFFER: 36161GL_RENDERBUFFER — the bind point for depth storage (R-4).
ReadonlyREPEAT: 10497GL_REPEAT — §77's tiling wrap mode (R-30, 2026-08-13).
ReadonlyREPLACE: 7681GL_REPLACE — store the reference value.
ReadonlyRGBA: 6408GL_RGBA — the texel upload format.
ReadonlyRGBA8: 32856GL_RGBA8 — the sized internal format of an MVP-tier texture.
ReadonlySCISSOR_TEST: 3089GL_SCISSOR_TEST — enabled for the lifetime of the renderer.
ReadonlySRC_ALPHA: 770GL_SRC_ALPHA — source factor of the straight-alpha blend (§66).
ReadonlySRC_COLOR: 768GL_SRC_COLOR; declared for completeness of the blend-factor set.
ReadonlySRGB8_ALPHA8: 35907GL_SRGB8_ALPHA8 — the sized internal format of a texture whose texels are
sRGB-encoded (§60a, R-15).
Chosen instead of a decode in the shader because the hardware does it on
sample, i.e. before filtering: bilinear interpolation between two
sRGB-encoded texels is wrong in exactly the way a colour space exists to
prevent, and a shader-side pow would interpolate first and decode after.
The alpha channel of this format is not encoded, which matches
srgbToLinearRGBA's rule that alpha is coverage, not light.
ReadonlySTATIC_DRAW: 35044GL_STATIC_DRAW — the only usage hint this tier uploads with.
ReadonlySTENCIL_BUFFER_BIT: 1024GL_STENCIL_BUFFER_BIT, for WebglContext.clear (§67, R-7).
ReadonlySTENCIL_TEST: 2960GL_STENCIL_TEST — disabled until a material declares stencil (§57).
ReadonlyTEXTURE_2D: 3553GL_TEXTURE_2D — the one texture target this tier binds (§77).
ReadonlyTEXTURE_MAG_FILTER: 10240GL_TEXTURE_MAG_FILTER.
ReadonlyTEXTURE_MAX_ANISOTROPY_EXT: 34046GL_TEXTURE_MAX_ANISOTROPY_EXT — the per-texture anisotropy limit of
EXT_texture_filter_anisotropic (§77, R-30b).
Written with texParameteri rather than texParameterf: the extension
accepts both, Texture.anisotropy is an integer by construction (§85), and
an integer keeps this package's GL budget at the entry points it already
declares (see WebglContext).
ReadonlyTEXTURE_MIN_FILTER: 10241GL_TEXTURE_MIN_FILTER.
ReadonlyTEXTURE_WRAP_S: 10242GL_TEXTURE_WRAP_S.
ReadonlyTEXTURE_WRAP_T: 10243GL_TEXTURE_WRAP_T.
ReadonlyTEXTURE0: 33984GL_TEXTURE0 — the one texture unit the sprite pipeline samples from.
ReadonlyTIME_ELAPSED_EXT: 35007GL_TIME_ELAPSED_EXT — EXT_disjoint_timer_query_webgl2's elapsed-time
query target (§62 timestamp queries, A-1). Nanoseconds between
beginQuery and endQuery.
ReadonlyTRIANGLES: 4GL_TRIANGLES — three vertices per primitive.
ReadonlyUNSIGNED_BYTE: 5121GL_UNSIGNED_BYTE — the RGBA8 texel component type.
ReadonlyUNSIGNED_INT: 5125GL_UNSIGNED_INT — index type of a Uint32Array index buffer.
ReadonlyUNSIGNED_SHORT: 5123GL_UNSIGNED_SHORT — index type of a Uint16Array index buffer.
ReadonlyVERTEX_SHADER: 35633GL_VERTEX_SHADER.
ReadonlyZERO: 0GL_ZERO — destination factor of the "multiply" blend mode (§57).
The WebGL 2 / OpenGL ES 3.0 enumerants this package uses, by their normative values. See the module header for why these are literals.