BoundaryMap

interface BoundaryMap(source)

GPU storage for the boundaries of shapes, drawn by a BoundaryDrawer

Inheritors

Functions

Link copied to clipboard
abstract fun addShape(shape: Shape, fillRule: FillRule = FillRule.NON_ZERO, quadraticTolerance: Double = 1.0): Int

Adds the boundary of shape and returns its index

Link copied to clipboard
abstract fun endBatch()
Link copied to clipboard
abstract fun startBatch()

Starts a batch, in which added boundaries are uploaded to the GPU once endBatch is called