Class LightGlowRenderPass
java.lang.Object
gaiasky.scene.system.render.pass.RenderPass
gaiasky.scene.system.render.pass.LightGlowRenderPass
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Field Summary
Fields inherited from class RenderPass
condition, enabled, sceneRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispose()getLpu()com.badlogic.gdx.graphics.glutils.FrameBufferprotected voidprotected voidrenderPass(ICamera camera, Object... params) This method renders the occlusion pass for the light glow effect.Methods inherited from class RenderPass
disable, doneLoading, enable, initialize, isEnabled, removeCondition, render, setCondition, setEnabledModifier and TypeMethodDescriptionvoiddisable()voiddoneLoading(com.badlogic.gdx.assets.AssetManager manager) Override if needed.voidenable()voidbooleanvoidfinal voidvoidsetCondition(Supplier<Boolean> condition) voidsetEnabled(boolean enabled)
-
Constructor Details
-
LightGlowRenderPass
-
-
Method Details
-
initializeRenderPass
protected void initializeRenderPass()- Specified by:
initializeRenderPassin classRenderPass
-
buildLightGlowData
public void buildLightGlowData() -
renderPass
This method renders the occlusion pass for the light glow effect.- Specified by:
renderPassin classRenderPass- Parameters:
camera- The camera.params- The parameters.
-
getOcclusionFrameBuffer
public com.badlogic.gdx.graphics.glutils.FrameBuffer getOcclusionFrameBuffer() -
getLpu
-
dispose
public void dispose()- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable- Specified by:
disposein classRenderPass
-