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

Public Attributes

const AllPointCloudsInfo & pointclouds
const AllMeshesInfo & meshes
const AllCurvesInfo & curves
const AllGreasePencilsInfo & grease_pencils
const OrderedAttributes & instances_attriubutes
bool create_id_attribute_on_any_component = false
IndexMask selection
const VArray< int > & depths
ResourceScope & r_temporary_arrays
AllInstancesInfo instances
GatherTasks r_tasks
GatherOffsets r_offsets

Detailed Description

Definition at line 326 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 339 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 328 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 354 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

ResourceScope& 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 347 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 336 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: