|
Aviatrix3D 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handles any sort of rendering sort ability.
Typical sorting operations that may implement this interface are for depth or priority sorting.
A sorter will have a reciever for its output. If no receiver is registered the sorter should still operate because an implemenation could choose to poll for the output of the sorter at any time too. The output should always remain valid, regardless of whether another sort is in progress. If a sort is in progress then the output is for the previous sort step.
Method Summary | |
void |
halt()
Force a halt of the current processing. |
void |
setSortedAudioReceiver(SortedAudioReceiver sgr)
Register a reciever for the output of the sorter. |
void |
sort(AudioEnvironmentData data,
CullAudioOutputDetails[] nodes,
int numNodes,
int buffer)
Sort the listing of nodes in the given array. |
Method Detail |
public void sort(AudioEnvironmentData data, CullAudioOutputDetails[] nodes, int numNodes, int buffer)
For the 2D array of objects, contains the list of final subscenes to send to the final stage. First index is the direct owner of the scene contents. The second index is the scene parent of the scene included (needed for pBuffer GL context handling at render time). If this second one is null, then the parent is the main canvas that is being rendered to.
data
- External rendering environment informationnodes
- List of processed nodes based on the scene they came fromnumNodes
- Number of nodes in each scenebuffer
- The buffer ID to use to output the data to when
multi-threadedpublic void setSortedAudioReceiver(SortedAudioReceiver sgr)
sgr
- The receiver instance to add or nullpublic void halt()
|
Aviatrix3D 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |