Package com.jme3.renderer.pipeline
Interface RenderPipeline<T extends PipelineContext>
- Type Parameters:
T
-
- All Known Implementing Classes:
ForwardPipeline
,NullPipeline
public interface RenderPipeline<T extends PipelineContext>
Pipeline for rendering a ViewPort.
-
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, T context, ViewPort vp, float tpf) Renders the pipeline.void
Called before this pipeline is rendered for the first time this frame.
-
Method Details
-
fetchPipelineContext
Fetches the PipelineContext this pipeline requires for rendering from the RenderManager.- Parameters:
rm
-- Returns:
- pipeline context (not null)
-
hasRenderedThisFrame
boolean hasRenderedThisFrame()Returns true if this pipeline has rendered a viewport this render frame.- Returns:
-
startRenderFrame
Called before this pipeline is rendered for the first time this frame.Only called if the pipeline will actually be rendered.
- Parameters:
rm
-
-
pipelineRender
Renders the pipeline.- Parameters:
rm
-context
-vp
-tpf
-
-
endRenderFrame
Called after all rendering is complete in a rendering frame this pipeline participated in.- Parameters:
rm
-
-