Package com.jme3.renderer.pipeline
Class ForwardPipeline
java.lang.Object
com.jme3.renderer.pipeline.ForwardPipeline
- All Implemented Interfaces:
RenderPipeline
Port of the standard forward renderer to a pipeline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after all rendering is complete in a rendering frame this pipeline participated in.Fetches the PipelineContext this pipeline requires for rendering from the RenderManager.boolean
Returns true if this pipeline has rendered a viewport this render frame.void
pipelineRender
(RenderManager rm, PipelineContext context, ViewPort vp, float tpf) Renders the pipeline.void
Called before this pipeline is rendered for the first time this frame.
-
Constructor Details
-
ForwardPipeline
public ForwardPipeline()
-
-
Method Details
-
fetchPipelineContext
Description copied from interface:RenderPipeline
Fetches the PipelineContext this pipeline requires for rendering from the RenderManager.- Specified by:
fetchPipelineContext
in interfaceRenderPipeline
- Parameters:
rm
-- Returns:
- pipeline context (not null)
-
hasRenderedThisFrame
public boolean hasRenderedThisFrame()Description copied from interface:RenderPipeline
Returns true if this pipeline has rendered a viewport this render frame.- Specified by:
hasRenderedThisFrame
in interfaceRenderPipeline
- Returns:
-
startRenderFrame
Description copied from interface:RenderPipeline
Called before this pipeline is rendered for the first time this frame.Only called if the pipeline will actually be rendered.
- Specified by:
startRenderFrame
in interfaceRenderPipeline
- Parameters:
rm
-
-
pipelineRender
Description copied from interface:RenderPipeline
Renders the pipeline.- Specified by:
pipelineRender
in interfaceRenderPipeline
- Parameters:
rm
-context
-vp
-tpf
-
-
endRenderFrame
Description copied from interface:RenderPipeline
Called after all rendering is complete in a rendering frame this pipeline participated in.- Specified by:
endRenderFrame
in interfaceRenderPipeline
- Parameters:
rm
-
-