RenderingEngine class

Main rendering engine class responsible for graphics rendering

This class manages the rendering pipeline, camera, and all renderable objects. It uses Flutter's Canvas API for 2D rendering.

Constructors

RenderingEngine()

Properties

backgroundColor Color
Background color
getter/setter pair
camera Camera
Main camera
getter/setter pair
debugMode bool
Debug mode flag
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Get initialization status
no setter
layerCount int
Get the number of layers
no setter
renderableCount int
Get the number of renderables
no setter
renderables List<Renderable>
Get all renderables, sorted by layer then z-order
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRenderable(Renderable renderable) → void
Add a renderable object to the scene
clear() → void
Clear all renderables
dispose() → void
Clean up rendering resources
initialize() → void
Initialize the rendering engine
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRenderable(Renderable renderable) → void
Remove a renderable object from the scene
render(Canvas canvas, Size size) → void
Render a frame
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited