Brush

Generates the brush strokes painted with the Brush tool as a raster image. If an input image is supplied, strokes are drawn on top of it, expanding bounds as needed.

Interface

Inputs

ParameterDetailsPossible Types
Background

Optional raster content that may be drawn onto.

Primary Input

Table<Raster>
Trace

The list of brush stroke paths drawn by the Brush tool, with each including both its coordinates and styles.

Default: Table { element: [], attributes: AttributeColumns { keys: [], len: 0 } }

Table<BrushStroke>
Cache

Internal cache data used to accelerate rendering of the brush content.

Default: BrushCache(Mutex { data: BrushCacheImpl { unique_id: 0, prev_input: [], background: TableRow { element: Raster { storage: CPU(Image { width: 0, height: 0, data: [] }) }, attributes: Attributes { keys: [] } }, blended_image: TableRow { element: Raster { storage: CPU(Image { width: 0, height: 0, data: [] }) }, attributes: Attributes { keys: [] } }, last_stroke_texture: TableRow { element: Raster { storage: CPU(Image { width: 0, height: 0, data: [] }) }, attributes: Attributes { keys: [] } }, brush_texture_cache: {} }, poisoned: false, .. })

BrushCache

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Table<Raster>