Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | BVHReferenceCompare |
Functions | |
static void | bvh_reference_sort_threaded (TaskPool *task_pool, BVHReference *data, const int job_start, const int job_end, const BVHReferenceCompare &compare) |
void | bvh_reference_sort (int start, int end, BVHReference *data, int dim, const BVHUnaligned *unaligned_heuristic, const Transform *aligned_space) |
Variables | |
static CCL_NAMESPACE_BEGIN const int | BVH_SORT_THRESHOLD = 4096 |
void bvh_reference_sort | ( | int | start, |
int | end, | ||
BVHReference * | data, | ||
int | dim, | ||
const BVHUnaligned * | unaligned_heuristic, | ||
const Transform * | aligned_space | ||
) |
Definition at line 151 of file sort.cpp.
References bvh_reference_sort_threaded(), BVH_SORT_THRESHOLD, count, data, sort(), task_pool, and TaskPool::wait_work().
Referenced by BVHObjectSplit::BVHObjectSplit(), and BVHObjectSplit::split().
|
static |
Definition at line 79 of file sort.cpp.
References BVH_SORT_THRESHOLD, center, BVHReferenceCompare::compare(), count, data, function_bind, left, TaskPool::push(), right, sort(), swap(), and task_pool.
Referenced by bvh_reference_sort().
|
static |
Definition at line 14 of file sort.cpp.
Referenced by bvh_reference_sort(), and bvh_reference_sort_threaded().