Class RaymarchingExtractor
java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.render.extract.AbstractExtractSystem
gaiasky.scene.system.render.extract.RaymarchingExtractor
Extract ray-marching objects for rendering. Importantly, this class activates/deactivates the
ray-marching post-processing effects depending on their solid angle w.r.t. the camera.
-
Field Summary
Fields inherited from class AbstractExtractSystem
camera, renderer, viewFields inherited from class com.badlogic.ashley.core.EntitySystem
priority -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) Methods inherited from class AbstractExtractSystem
addToRender, addToRender, extract, isInRender, isInRender, mustRender, setRendererModifier and TypeMethodDescriptionprotected booleanaddToRender(IRenderable renderable, RenderGroup rg) Adds the given renderable to the given render group list.protected booleanaddToRender(IRenderable renderable, RenderGroup rg, boolean fullResolution) Adds the given renderable to the given render group of the given list (full or half resolution).voidextract(com.badlogic.ashley.core.Entity entity) protected booleanisInRender(IRenderable renderable, RenderGroup rg) protected booleanisInRender(IRenderable renderable, RenderGroup... rgs) protected booleanmustRender(Base base) Computes whether the entity with the given base component must be rendered.voidsetRenderer(ISceneRenderer renderer) Methods inherited from class com.badlogic.ashley.systems.IteratingSystem
addedToEngine, getEntities, getFamily, removedFromEngine, updateMethods inherited from class com.badlogic.ashley.core.EntitySystem
checkProcessing, getEngine, setProcessing
-
Constructor Details
-
RaymarchingExtractor
public RaymarchingExtractor(com.badlogic.ashley.core.Family family, int priority)
-
-
Method Details
-
processEntity
protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) - Specified by:
processEntityin classcom.badlogic.ashley.systems.IteratingSystem
-