Tables: Sorting
&
Miscellaneous functions
- Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting.
When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have
changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting,
else you may wastefully sort your data every frame!
- Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index.
Tables: Sorting & Miscellaneous functions - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame! - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index.