A render callback in screen or world space.
typedef RenderHook = void Function(Canvas canvas, Size size);