Blender  V3.3
Public Attributes | List of all members
blender::geometry::GatherTasksInfo Struct Reference

Public Attributes

const AllPointCloudsInfopointclouds
 
const AllMeshesInfomeshes
 
const AllCurvesInfocurves
 
bool create_id_attribute_on_any_component = false
 
Vector< std::unique_ptr< GArray<> > > & r_temporary_arrays
 
GatherTasks r_tasks
 
GatherOffsets r_offsets
 

Detailed Description

Definition at line 219 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

◆ 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 221 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 237 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 232 of file realize_instances.cc.

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


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