Skip to content

ShaderGenerationOptions

Defined in: packages/sigma/src/rendering/nodes/generator.ts:48

Properties

antialias?

optional antialias?: boolean

Defined in: packages/sigma/src/rendering/nodes/generator.ts:61


layers

layers: FragmentLayer[]

Defined in: packages/sigma/src/rendering/nodes/generator.ts:54


shapeGlobalIds?

optional shapeGlobalIds?: 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

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.