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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all rendering is complete in a rendering frame this pipeline participated in.Fetches the PipelineContext this pipeline requires for rendering from the RenderManager.booleanReturns true if this pipeline has rendered a viewport this render frame.voidpipelineRender(RenderManager rm, PipelineContext context, ViewPort vp, float tpf) Renders the pipeline.voidCalled before this pipeline is rendered for the first time this frame.
-
Constructor Details
-
ForwardPipeline
public ForwardPipeline()
-
-
Method Details
-
fetchPipelineContext
Description copied from interface:RenderPipelineFetches the PipelineContext this pipeline requires for rendering from the RenderManager.- Specified by:
fetchPipelineContextin interfaceRenderPipeline- Parameters:
rm-- Returns:
- pipeline context (not null)
-
hasRenderedThisFrame
public boolean hasRenderedThisFrame()Description copied from interface:RenderPipelineReturns true if this pipeline has rendered a viewport this render frame.- Specified by:
hasRenderedThisFramein interfaceRenderPipeline- Returns:
-
startRenderFrame
Description copied from interface:RenderPipelineCalled before this pipeline is rendered for the first time this frame.Only called if the pipeline will actually be rendered.
- Specified by:
startRenderFramein interfaceRenderPipeline- Parameters:
rm-
-
pipelineRender
Description copied from interface:RenderPipelineRenders the pipeline.- Specified by:
pipelineRenderin interfaceRenderPipeline- Parameters:
rm-context-vp-tpf-
-
endRenderFrame
Description copied from interface:RenderPipelineCalled after all rendering is complete in a rendering frame this pipeline participated in.- Specified by:
endRenderFramein interfaceRenderPipeline- Parameters:
rm-
-