|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.pipeline.DefaultRenderPipeline
The default implementation of the rendering pipeline usable by most applications.
This implementation is targeted towards single threaded architectures. After setting the stages, the render command will not return until everything is complete.
Constructor Summary | |
DefaultRenderPipeline()
Create an instance of the pipeline with nothing registered. |
|
DefaultRenderPipeline(CullStage cs,
SortStage ss)
Construct a pipeline with the sort and cull stages provided. |
Method Summary | |
DrawableSurface |
getDrawableSurface()
Get the currently registered drawable surface instance. |
void |
render()
Start the pipeline functioning now. |
void |
setCuller(CullStage cs)
Set the cull instance to be used. |
void |
setDrawableSurface(DrawableSurface surface)
Register a drawing surface that this pipeline will send its output to. |
void |
setRenderableScene(Scene scene)
Set the root of the scene graph to be used by this pipeline. |
void |
setSorter(SortStage ss)
Set the sorter instance to be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultRenderPipeline()
public DefaultRenderPipeline(CullStage cs, SortStage ss)
ss
- The sort stage instance to usecs
- The cull stage instance to useMethod Detail |
public void setDrawableSurface(DrawableSurface surface)
setDrawableSurface
in interface RenderPipeline
surface
- The surface instance to use or replacepublic DrawableSurface getDrawableSurface()
getDrawableSurface
in interface RenderPipeline
public void render()
render
in interface RenderPipeline
public void setRenderableScene(Scene scene)
setRenderableScene
in interface RenderPipeline
scene
- The scene to be renderedpublic void setSorter(SortStage ss)
ss
- The sorter instance to use or nullpublic void setCuller(CullStage cs)
cs
- The cull instance to use or null
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |