|
SceneSortMethod | |
SceneSortMethod SortMethod | |
Parameters: SortMethod = The sort method, scene elements will be sorted with (0=Freq Sort, 1 = Quick Sort) |
|
Returns: NONE | |
SceneSortMethod sets the type of sorting that the scene cache should use. SortMethods 0 = Freq Sort (default, good for large numbers of objects) 1 = Quick Sort (normally better for smaller number of objects) FACTS: * The items in the scene buffer are only sorted when rendering the scene from a camera. Mini Tutorial: This example creates a camera, then each update it fills the scene with pixels and renders it. The user can toggle between the sorting methods with the space bar. Since there's a lot of items in the scene the freq sorting method should give the better performance
|
Related Info: | CameraBasics | CaptureToScene | ClsScene | CreateCamera | DrawCamera | SceneCacheSize : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |