Blender V5.0
blender::geometry::GatherTasksInfo Struct Reference

Public Attributes

const AllPointCloudsInfopointclouds
const AllMeshesInfomeshes
const AllCurvesInfocurves
const AllGreasePencilsInfogrease_pencils
const OrderedAttributesinstances_attriubutes
bool create_id_attribute_on_any_component = false
IndexMask selection
const VArray< int > & depths
Vector< std::unique_ptr< GArray<> > > & r_temporary_arrays
AllInstancesInfo instances
GatherTasks r_tasks
GatherOffsets r_offsets

Detailed Description

Definition at line 299 of file realize_instances.cc.

Member Data Documentation

◆ create_id_attribute_on_any_component

bool blender::geometry::GatherTasksInfo::create_id_attribute_on_any_component = false

◆ curves

const AllCurvesInfo& blender::geometry::GatherTasksInfo::curves

◆ depths

const VArray<int>& blender::geometry::GatherTasksInfo::depths

Depth to realize instances for each selected top-level instance.

Definition at line 312 of file realize_instances.cc.

Referenced by blender::geometry::gather_realize_tasks_for_instances().

◆ grease_pencils

const AllGreasePencilsInfo& blender::geometry::GatherTasksInfo::grease_pencils

◆ instances

AllInstancesInfo blender::geometry::GatherTasksInfo::instances

◆ instances_attriubutes

const OrderedAttributes& blender::geometry::GatherTasksInfo::instances_attriubutes

◆ meshes

const AllMeshesInfo& blender::geometry::GatherTasksInfo::meshes

◆ pointclouds

const AllPointCloudsInfo& blender::geometry::GatherTasksInfo::pointclouds

Static information about all geometries that are joined.

Definition at line 301 of file realize_instances.cc.

Referenced by blender::geometry::gather_realize_tasks_for_instances(), and blender::geometry::gather_realize_tasks_recursive().

◆ r_offsets

GatherOffsets blender::geometry::GatherTasksInfo::r_offsets

Current offsets while gathering tasks.

Definition at line 327 of file realize_instances.cc.

Referenced by blender::geometry::gather_realize_tasks_recursive(), and blender::geometry::realize_instances().

◆ r_tasks

GatherTasks blender::geometry::GatherTasksInfo::r_tasks

◆ r_temporary_arrays

Vector<std::unique_ptr<GArray<> > >& blender::geometry::GatherTasksInfo::r_temporary_arrays

Under some circumstances, temporary arrays need to be allocated during the gather operation. For example, when an instance attribute has to be realized as a different data type. This array owns all the temporary arrays so that they can live until all processing is done. Use #std::unique_ptr to avoid depending on whether GArray has an inline buffer or not.

Definition at line 320 of file realize_instances.cc.

Referenced by blender::geometry::prepare_attribute_fallbacks().

◆ selection

IndexMask blender::geometry::GatherTasksInfo::selection

Selection for top-level instances to realize.

Definition at line 309 of file realize_instances.cc.

Referenced by blender::geometry::gather_realize_tasks_for_instances().


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