$darkmode
Reusable memory context for sorting operations. More...
#include <sphere_sorting.h>
Data Fields | |
| GLuint | compute_program |
| GLuint | instance_ssbo |
| GLuint | index_ssbo |
| GLuint | sorted_instance_ssbo |
| GLint | loc_stage |
| GLint | loc_count |
| GLint | loc_count_pot |
| GLint | loc_cam |
| GLint | loc_j |
| GLint | loc_k |
| SphereSortEntry * | entries |
| SphereSortEntry * | entries_aux |
| SphereInstance * | temp_instances |
| int | ssbo_capacity |
| int | cpu_capacity |
| int | min_capacity |
Reusable memory context for sorting operations.
| GLuint SphereSorter::compute_program |
Compute shader for bitonic sort.
| int SphereSorter::cpu_capacity |
Current allocated size of CPU scratchpads.
| SphereSortEntry* SphereSorter::entries |
Scratchpad for CPU sorting.
| SphereSortEntry* SphereSorter::entries_aux |
Aux scratchpad for Radix Sort.
| GLuint SphereSorter::index_ssbo |
SSBO for sorting proxy indices.
| GLuint SphereSorter::instance_ssbo |
SSBO for input/reordered instances.
| GLint SphereSorter::loc_cam |
u_cam_pos uniform.
| GLint SphereSorter::loc_count |
u_count uniform.
| GLint SphereSorter::loc_count_pot |
u_count_pot uniform.
| GLint SphereSorter::loc_j |
u_j uniform.
| GLint SphereSorter::loc_k |
u_k uniform.
| GLint SphereSorter::loc_stage |
u_stage uniform.
| int SphereSorter::min_capacity |
Minimum capacity to maintain.
| GLuint SphereSorter::sorted_instance_ssbo |
SSBO for permutation result.
| int SphereSorter::ssbo_capacity |
Current allocated size of SSBOs (GPU).
| SphereInstance* SphereSorter::temp_instances |
Scratchpad for reordering.