/** * A {@link MeshBatcher} variant that shades meshes with the active stage's * {@link Light3d} lights (half-Lambert diffuse from directional lights + * ambient). It extends the unlit batcher, adding a world-space `aNormal` * vertex attribute (12-float layout vs 9) and a lit shader. * * Meshes opt in via `mesh.lit` — so standalone, unlit meshes keep the lean * 9-float `MeshBatcher` and pay nothing for lighting. Both batchers share the * mesh-mode depth-clear state (a single clear per target) since this one * inherits {@link MeshBatcher#bind}. * @category Rendering */ export default class LitMeshBatcher extends MeshBatcher { lightBlock: UniformBlock | undefined; } import MeshBatcher from "./mesh_batcher.js"; import UniformBlock from "../buffer/uniformblock.js"; //# sourceMappingURL=lit_mesh_batcher.d.ts.map