Blender V5.3
blender::exec_mode::ParallelGrainSize Struct Reference

#include <BLI_execution_mode.hh>

Public Member Functions

int grain_size (const int) const

Public Attributes

int grain_size_override = 1

Static Public Attributes

static constexpr bool is_parallel = true

Detailed Description

Potentially use multiple threads to execute the function, with a configurable grain size to influence the parallel task size.

Definition at line 35 of file BLI_execution_mode.hh.

Member Function Documentation

◆ grain_size()

int blender::exec_mode::ParallelGrainSize::grain_size ( const int ) const
inline

Definition at line 39 of file BLI_execution_mode.hh.

Member Data Documentation

◆ grain_size_override

int blender::exec_mode::ParallelGrainSize::grain_size_override = 1

Definition at line 37 of file BLI_execution_mode.hh.

◆ is_parallel

bool blender::exec_mode::ParallelGrainSize::is_parallel = true
staticconstexpr

Definition at line 36 of file BLI_execution_mode.hh.


The documentation for this struct was generated from the following file: