Component props
See CanvasView.
Optionalalpha?: booleanEnable alpha transparency, default false
Optionalantialias?: booleanEnable antialiasing
OptionalcanvasRef?: RefObject<HTMLCanvasElement | null>Optional ref to the canvas element. Useful for recording with useCanvasRecorder.
OptionalclassName?: stringClass name for the canvas element, default "h-full w-full"
Optionalfallback?: ReactNodeCanvas fallback content
OptionalfpsLimit?: numberOptional FPS limit
Optionalframeloop?: "always" | "demand"Render mode: "always" or "demand", default "always"
OptionalonRender?: () => voidCallback invoked after each frame renders. Useful for recording integration.
Optionalresolution?: numberCanvas resolution. Defaults to window.devicePixelRatio
A canvas DOM element that contains React Pixi children.
It must be inside a RenderContext component.