|
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.DefaultAudioPipeline
The default implementation of the audio 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 | |
DefaultAudioPipeline()
Create an instance of the pipeline with nothing registered. |
|
DefaultAudioPipeline(AudioCullStage cs,
AudioSortStage ss)
Construct a pipeline with the sort and cull stages provided. |
Method Summary | |
void |
displayOnly()
Cause the surface to redraw the next frame only, with no processing of the pipeline. |
AudioDevice |
getAudioDevice()
Get the currently registered drawable device instance. |
void |
render()
Start the pipeline functioning now. |
void |
setAudioDevice(AudioDevice device)
Register a drawing surface that this pipeline will send its output to. |
void |
setCuller(AudioCullStage cs)
Set the cull instance to be used. |
void |
setRenderableScene(Scene scene)
Set the root of the scene graph to be used by this pipeline. |
void |
setSorter(AudioSortStage 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 DefaultAudioPipeline()
public DefaultAudioPipeline(AudioCullStage cs, AudioSortStage ss)
ss
- The sort stage instance to usecs
- The cull stage instance to useMethod Detail |
public void setAudioDevice(AudioDevice device)
setAudioDevice
in interface AudioPipeline
device
- The audio output device instance to use or replacepublic AudioDevice getAudioDevice()
getAudioDevice
in interface AudioPipeline
public void render()
render
in interface AudioPipeline
public void displayOnly()
displayOnly
in interface AudioPipeline
public void setRenderableScene(Scene scene)
setRenderableScene
in interface AudioPipeline
scene
- The scene to be renderedpublic void setSorter(AudioSortStage ss)
ss
- The sorter instance to use or nullpublic void setCuller(AudioCullStage 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 |