generateSDFCall
generateSDFCall(
shape,uv,size,attributeExpr?):string
Defined in: packages/sigma/src/rendering/nodes/shapes/instance-registry.ts:43
Builds a sdf_{name}(...) call: float uniforms baked as literals, then each
attribute as attributeExpr(attr) (the v_<name> varying by default).
Parameters
Section titled “Parameters”string
string
attributeExpr?
Section titled “attributeExpr?”(attr) => string
Returns
Section titled “Returns”string