Interface SimpleDynamicVisual
- All Superinterfaces:
DynamicVisual,Visual
- All Known Implementing Classes:
ComponentEntityVisual,LightStorage.DebugVisual
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visual.DynamicVisual
DynamicVisual.Context -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled every frame.default Plan<DynamicVisual.Context> Invoked every frame.
-
Method Details
-
beginFrame
Called every frame.
The implementation is free to parallelize calls to this method. You must ensure proper synchronization if you need to mutate anything outside this visual.
This method andSimpleTickableVisual.tick(dev.engine_room.flywheel.api.visual.TickableVisual.Context)will never be called simultaneously.
Instancer/Instancecreation/acquisition is safe here. -
planFrame
Description copied from interface:DynamicVisualInvoked every frame.
The implementation is free to parallelize the invocation of this plan. You must ensure proper synchronization if you need to mutate anything outside this visual.
This plan and the one returned byTickableVisual.planTick()will never be invoked simultaneously.
Instancer/Instancecreation/acquisition is safe here.- Specified by:
planFramein interfaceDynamicVisual
-