Class LightStorage.DebugVisual
java.lang.Object
dev.engine_room.flywheel.backend.engine.LightStorage.DebugVisual
- All Implemented Interfaces:
DynamicVisual,EffectVisual<LightStorage>,Visual,SimpleDynamicVisual
- Enclosing class:
LightStorage
public class LightStorage.DebugVisual
extends Object
implements EffectVisual<LightStorage>, SimpleDynamicVisual
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visual.DynamicVisual
DynamicVisual.Context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
planFrame
-
Constructor Details
-
DebugVisual
-
-
Method Details
-
beginFrame
Description copied from interface:SimpleDynamicVisualCalled 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.- Specified by:
beginFramein interfaceSimpleDynamicVisual
-
update
public void update(float partialTick) Description copied from interface:VisualUpdate instances here.Good for when instances don't change very often and when animations are GPU based.
If your animations are complex or more CPU driven, seeDynamicVisualorTickableVisual. -
delete
public void delete()Description copied from interface:VisualFree any acquired resources.
-