|
Aviatrix3D 2.0 Beta 2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A marker interface that represents a single complete rendering pipeline that is independent of the output device type.
A pipeline represents all of the drawing steps that may be accomplished within a rendering cycle - culling, sorting and drawing. While an end-user may wish to directly call the methods on this interface directly to control their own rendering, it is recommended that a dedicated pipeline manager be used for this task.
If the pipeline does not have a drawable surface registered, it will still complete all the steps up to that point. If no scene is registered, no functionality is performed - render() will return immediately.
Method Summary | |
boolean |
displayOnly()
Cause the surface to redraw the next frame only, with no processing of the pipeline. |
void |
halt()
Force a halt of the current processing. |
boolean |
render()
Start the pipeline functioning now. |
void |
setRenderableLayers(LayerCullable[] layers,
int numLayers)
Set the set of layers to be used by this pipeline. |
Method Detail |
public boolean render()
The return value indicates success or failure in the ability to render this frame. Typically it will indicate failure if the underlying surface has been disposed of, either directly through the calling of the method on this interface, or through an internal check mechanism. If failure is indicated, then check to see if the surface has been disposed of and discontinue rendering if it has.
public boolean displayOnly()
The return value indicates success or failure in the ability to render this frame. Typically it will indicate failure if the underlying surface has been disposed of, either directly through the calling of the method on this interface, or through an internal check mechanism. If failure is indicated, then check to see if the surface has been disposed of and discontinue rendering if it has.
public void setRenderableLayers(LayerCullable[] layers, int numLayers)
If a scene is currently set, and a non-zero number of layers is provided, this will remove the scene and use the layers instead.
layers
- The collection of layers, in order, to rendernumLayers
- The number of valid layers to usepublic void halt()
|
Aviatrix3D 2.0 Beta 2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |