|
Blender V5.0
|
#include "bvh/sort.h"#include "bvh/params.h"#include "bvh/unaligned.h"#include "util/algorithm.h"#include "util/task.h"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 (const int start, const int end, BVHReference *data, const 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 | ( | const int | start, |
| const int | end, | ||
| BVHReference * | data, | ||
| const int | dim, | ||
| const BVHUnaligned * | unaligned_heuristic, | ||
| const Transform * | aligned_space ) |
Definition at line 167 of file sort.cpp.
References bvh_reference_sort_threaded(), BVH_SORT_THRESHOLD, count, data, sort(), and task_pool.
Referenced by BVHObjectSplit::BVHObjectSplit(), and BVHObjectSplit::split().
|
static |
Definition at line 92 of file sort.cpp.
References bvh_reference_sort_threaded(), BVH_SORT_THRESHOLD, BVHReferenceCompare::compare(), count, data, left, sort(), swap, and task_pool.
Referenced by bvh_reference_sort(), and bvh_reference_sort_threaded().
|
static |
Definition at line 18 of file sort.cpp.
Referenced by bvh_reference_sort(), and bvh_reference_sort_threaded().