Documentation
    Preparing search index...

    Variable NODE_SURFACE_TEXTURE_UNIT_BASEConst

    NODE_SURFACE_TEXTURE_UNIT_BASE: 2

    The first texture unit a "surface" node program's samplers occupy: unit 0 is the family-wide albedo map unit and unit 1 the ยง69 shadow map's, and both can be live in the frame a node draw shares โ€” so node samplers start above them. A "screen" program starts at 0: an effect draw shares its envelope with neither. Declared here โ€” not in gl-node-program.ts โ€” because the renderer's finally needs it to unbind, and importing the emitter for a constant would link it into every bundle.