Skip to content

ActorPool ​

Struct

Source: ActorTouchController.h

Description ​

Fixed-size pool for managing draggable actors

Uses a fixed array to avoid dynamic memory allocation. Maximum 8 actors can be registered for touch dragging.

Properties ​

NameTypeDescription
kMaxActorsstatic constexpr uint8_tMaximum number of actors in the pool
actorspixelroot32::core::Actor*Array of actor pointers
countuint8_tCurrent number of registered actors

Released under the MIT License.