Blender  V3.3
Classes | Namespaces | Functions
geometry_component_instances.cc File Reference
#include <mutex>
#include "BLI_float4x4.hh"
#include "BLI_index_mask.hh"
#include "BLI_map.hh"
#include "BLI_rand.hh"
#include "BLI_set.hh"
#include "BLI_span.hh"
#include "BLI_task.hh"
#include "BLI_vector.hh"
#include "DNA_collection_types.h"
#include "BKE_attribute_math.hh"
#include "BKE_geometry_set.hh"
#include "BKE_geometry_set_instances.hh"
#include "attribute_access_intern.hh"
#include "BLI_cpp_type_make.hh"

Go to the source code of this file.

Classes

class  blender::bke::InstancePositionAttributeProvider
 

Namespaces

 blender
 
 blender::bke
 

Functions

static float3 blender::bke::get_transform_position (const float4x4 &transform)
 
static void blender::bke::set_transform_position (float4x4 &transform, const float3 position)
 
static ComponentAttributeProviders blender::bke::create_attribute_providers_for_instances ()
 
static AttributeAccessorFunctions blender::bke::get_instances_accessor_functions ()
 
static const AttributeAccessorFunctionsblender::bke::get_instances_accessor_functions_ref ()
 
Geometry Component Implementation
template<typename T >
static void copy_data_based_on_mask (Span< T > src, MutableSpan< T > dst, IndexMask mask)
 
static blender::Array< int > generate_unique_instance_ids (Span< int > original_ids)
 

Function Documentation

◆ copy_data_based_on_mask()

template<typename T >
static void copy_data_based_on_mask ( Span< T src,
MutableSpan< T dst,
IndexMask  mask 
)
static

◆ generate_unique_instance_ids()

static blender::Array<int> generate_unique_instance_ids ( Span< int >  original_ids)
static