renderNative

fun DrawScope.renderNative(rootNode: GroupNode, context: RenderContext, strokeStyle: StrokeStyle = StrokeStyle.FillAndStroke())

Render using native Android canvas (2x faster, Android-only).

Delegates to NativeSceneRenderer for the actual Android-specific draw calls.

Throws

if the renderer has been closed

if android.graphics.Canvas is unavailable (non-Android platform)