Blender V4.3
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 286 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 299 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 288 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 314 of file realize_instances.cc.

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

◆ 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 307 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 296 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: