postProcess method

void postProcess(
  1. Vector2 size,
  2. Canvas canvas
)

There the effects of the post process are applied. This is where you should implement the logic of the post process. Including eventual calls to rasterizeSubtree and renderSubtree.

If neither is called the post process will not render anything apart from what is implemented in this method.

Implementation

void postProcess(Vector2 size, Canvas canvas) {
  renderSubtree(canvas);
}