Blender V5.3
blender::bke::PointCloudRuntime Struct Reference

#include <BKE_pointcloud.hh>

Public Member Functions

 MEM_CXX_CLASS_ALLOC_FUNCS ("PointCloudRuntime")

Public Attributes

SharedCache< Bounds< float3 > > bounds_cache
SharedCache< Bounds< float3 > > bounds_with_radius_cache
std::unique_ptr< bake::BakeMaterialsList > bake_materials
SharedCache< bke::bvh::Tree > bvh_cache

Detailed Description

Definition at line 36 of file BKE_pointcloud.hh.

Member Function Documentation

◆ MEM_CXX_CLASS_ALLOC_FUNCS()

blender::bke::PointCloudRuntime::MEM_CXX_CLASS_ALLOC_FUNCS ( "PointCloudRuntime" )

Member Data Documentation

◆ bake_materials

std::unique_ptr<bake::BakeMaterialsList> blender::bke::PointCloudRuntime::bake_materials

Stores weak references to material data blocks.

Definition at line 46 of file BKE_pointcloud.hh.

Referenced by blender::pointcloud_copy_data(), blender::bke::bake::serialize_geometry_set(), and blender::bke::bake::try_load_pointcloud().

◆ bounds_cache

SharedCache<Bounds<float3> > blender::bke::PointCloudRuntime::bounds_cache
mutable

A cache of bounds shared between data-blocks with unchanged positions and radii. When data changes affect the bounds, the cache is "un-shared" with other geometries. See SharedCache comments.

Definition at line 42 of file BKE_pointcloud.hh.

Referenced by blender::BKE_pointcloud_nomain_to_pointcloud(), blender::io::csv::import_csv_as_pointcloud(), blender::pointcloud_copy_data(), and blender::geometry::translate_pointcloud().

◆ bounds_with_radius_cache

SharedCache<Bounds<float3> > blender::bke::PointCloudRuntime::bounds_with_radius_cache
mutable

◆ bvh_cache

SharedCache<bke::bvh::Tree> blender::bke::PointCloudRuntime::bvh_cache

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