SBgl
0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
sbgl_sort.h
Go to the documentation of this file.
1
6
#ifndef SBGL_SORT_H
7
#define SBGL_SORT_H
8
9
#include "
sbgl_types.h
"
10
#include <stdint.h>
11
24
void
sbgl_radix_sort
(
25
sbgl_SortKey
* keys,
26
uint32_t* values,
27
uint32_t count,
28
sbgl_SortKey
* temp_keys,
29
uint32_t* temp_values
30
);
31
32
#endif
// SBGL_SORT_H
sbgl_radix_sort
void sbgl_radix_sort(sbgl_SortKey *keys, uint32_t *values, uint32_t count, sbgl_SortKey *temp_keys, uint32_t *temp_values)
Performs a stable radix sort on an array of 64-bit keys and associated 32-bit values.
Definition
sbgl_sort.c:8
sbgl_types.h
sbgl_SortKey
uint64_t sbgl_SortKey
Bit-packed key used for sorting draw commands to minimize state changes.
Definition
sbgl_types.h:57
src
core
sbgl_sort.h
Generated by
1.12.0