generateShapeSelectorGLSL
generateShapeSelectorGLSL(
dynamicAttributeNames?):string
Defined in: packages/sigma/src/rendering/nodes/shapes/instance-registry.ts:138
Generates the global querySDF(shapeId, uv, size) selector, used by edge
clamping. Attributes listed in dynamicAttributeNames are read from g_<name>
globals the caller sets; others use their static default.
querySDF is rotation-agnostic: callers pre-rotate uv per node.
Parameters
dynamicAttributeNames?
ReadonlySet<string>
Returns
string