|
Blender
V3.3
|
#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 AttributeAccessorFunctions & | blender::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) |
|
static |
Definition at line 125 of file geometry_component_instances.cc.
References BLI_assert, blender::MutableSpan< T >::data(), mask(), blender::threading::parallel_for(), and src.
|
static |
Definition at line 296 of file geometry_component_instances.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::RandomNumberGenerator::get_int32(), blender::Span< T >::index_range(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve(), blender::RandomNumberGenerator::seed_random(), and blender::Span< T >::size().
Referenced by InstancesComponent::almost_unique_ids().