|
Blender V5.3
|
#include <BLI_execution_mode.hh>
Public Member Functions | |
| constexpr | Mode (Parallel) |
| constexpr | Mode (Serial) |
| constexpr | Mode (ParallelGrainSize tag) |
| constexpr int | grain_size (const int fallback) const |
Public Attributes | |
| bool | is_parallel |
| std::optional< int > | grain_size_override |
A version of #Tag that can be used in non-template functions.
Definition at line 60 of file BLI_execution_mode.hh.
|
inlineconstexpr |
Definition at line 63 of file BLI_execution_mode.hh.
References grain_size_override, is_parallel, and blender::true.
|
inlineconstexpr |
Definition at line 64 of file BLI_execution_mode.hh.
References blender::false, grain_size_override, and is_parallel.
|
inlineconstexpr |
Definition at line 65 of file BLI_execution_mode.hh.
References grain_size_override, is_parallel, and blender::true.
|
inlineconstexpr |
Definition at line 70 of file BLI_execution_mode.hh.
Referenced by blender::array_utils::calc_copy_grain_size(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::index_mask::IndexMask::from_batch_predicate(), and blender::index_mask::detail::from_predicate_impl().
| std::optional<int> blender::exec_mode::Mode::grain_size_override |
Definition at line 62 of file BLI_execution_mode.hh.
Referenced by blender::index_mask::IndexMask::from_batch_predicate(), blender::index_mask::detail::from_predicate_impl(), Mode(), Mode(), and Mode().
| bool blender::exec_mode::Mode::is_parallel |
Definition at line 61 of file BLI_execution_mode.hh.
Referenced by blender::array_utils::copy(), blender::array_utils::copy(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::index_mask::IndexMask::from_batch_predicate(), blender::index_mask::detail::from_predicate_impl(), blender::array_utils::gather(), Mode(), Mode(), and Mode().