FabGL
ESP32 Display Controller and Graphics Library

◆ Scene()

Scene ( int  maxSpritesCount,
int  updateTimeMS,
int  width,
int  height,
int  stackSize = 2048 
)

The Scene constructor.

Parameters
maxSpritesCountSpecifies maximum number of sprites. This is required to size the collision detector object.
updateTimeMSNumber of milliseconds between updates. Scene.update() is called whenever an update occurs.
widthThe scene width in pixels.
heightThe scene height in pixels.
stackSizeSize of update task stack.

Definition at line 38 of file scene.cpp.