Optionalwidth: numberOptionalheight: numberReadonlyopaqueReadonlyselectionReadonlyvisibilityCreate a bind group for a textured mesh (#961): the mesh's own uniform buffer at binding 0, plus its albedo texture view + sampler at 1 & 2.
Destroy all GPU resources held by this pipeline. After calling this method the pipeline is no longer usable. Safe to call multiple times.
Validate BOTH variants before admitting quantized batches. A synchronous createRenderPipeline result is not proof that GPU validation succeeded. #7655: an async completion belongs only to this live device lifetime.
The highlight draw of a colour batch (#10264 S3). The quantized one is built on first ask, outside the admission probe; null until then.
OptionalonReady: () => voidDepth-only view (for sampling as texture_depth_* in shaders).
Lighting-environment bind group — set at group(1) once per render pass.
The X-Ray ghost pipeline, or null until it is built: the first call starts
the async build and onReady runs when it lands. A failed build leaves
ghosts on the transparent pipeline.
GPU-instancing pipeline (template vertex buffer at slot 0 + per-instance buffer at slot 1).
Get multisample texture view (for MSAA rendering)
Cache-only reader for the quantized variants (see ensureQuantizedPipelines); 'overlay' is never built since #6076.
Get sample count
Stencil-only view (for sampling stencil in the cap fill pass).
Base opaque descriptor + group(1) layout for the draw-stream pipelines (draw-stream.ts).
Textured-mesh pipeline (#961).
Check if resize is needed
An opaque draw of kind under this frame's mode: its ready twin (opaque-draw-variants.ts), else the base pipeline.
Screen-sized attachments this pipeline owns, for render-target telemetry.
Resize depth texture
Bind the scene's entity colour table (#6076); null binds the empty one. Rebuilds only on change.
Point the environment bind group at the active shadow depth map (#2670).
Pass null to fall back to the 1×1 dummy (shadows off). Rebuilds the bind
group only when the view actually changes, so a steady enabled/disabled
state costs nothing per frame.
Write the global lighting environment uniform buffer. Cheap (80 bytes);
called once per frame with the resolved RenderOptions.environment.
Optionalenv: LightingEnvironmentWrite the sun shadow uniform (light matrix + params). 96 bytes.
Update uniform buffer with camera matrices, PBR material, section plane, and selection state
Optionalcolor: [number, number, number, number]Optionalmaterial: { metallic?: number; roughness?: number }OptionalsectionPlane: {OptionalisSelected: booleanOptionalclipBox: {OptionalextraFlagsX: number
Discard-free / no-object-id twins of the opaque pipelines (opaque-draw-variants.ts).