ShaderGenerationOptions
Defined in: packages/sigma/src/rendering/nodes/generator.ts:48
Properties
Section titled “Properties”antialias?
Section titled “antialias?”
optionalantialias?:boolean
Defined in: packages/sigma/src/rendering/nodes/generator.ts:61
layers
Section titled “layers”layers:
FragmentLayer[]
Defined in: packages/sigma/src/rendering/nodes/generator.ts:54
shapeGlobalIds?
Section titled “shapeGlobalIds?”
optionalshapeGlobalIds?:number[]
Defined in: packages/sigma/src/rendering/nodes/generator.ts:60
Array mapping local shape index to global shape ID. Required for multi-shape programs to convert global IDs from node data texture to local indices for the queryNodeSDF switch statement.
shapes
Section titled “shapes”shapes:
SDFShape[]
Defined in: packages/sigma/src/rendering/nodes/generator.ts:53
Array of SDF shapes this program supports. For single-shape programs, pass an array with one element.