Blender  V3.3
Public Attributes | List of all members
blender::bke::GeometryInstanceGroup Struct Reference

#include <BKE_geometry_set_instances.hh>

Public Attributes

GeometrySet geometry_set
 
Vector< float4x4transforms
 

Detailed Description

Used to keep track of a group of instances using the same geometry data.

Definition at line 17 of file BKE_geometry_set_instances.hh.

Member Data Documentation

◆ geometry_set

GeometrySet blender::bke::GeometryInstanceGroup::geometry_set

The geometry set instanced on each of the transforms. The components are not necessarily owned here. For example, they may be owned by the instanced object. This cannot be a reference because not all instanced data will necessarily have a #geometry_set_eval.

Definition at line 23 of file BKE_geometry_set_instances.hh.

◆ transforms

Vector<float4x4> blender::bke::GeometryInstanceGroup::transforms

As an optimization to avoid copying, the same geometry set can be associated with multiple instances. Each instance is stored as a transform matrix here. Again, these must be owned because they may be transformed from the original data. TODO: Validate that last statement.

Definition at line 30 of file BKE_geometry_set_instances.hh.


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