Blender V5.3
geometry_fields.cc File Reference
#include "BLI_array_utils.hh"
#include "BLI_generic_array.hh"
#include "BLI_implicit_sharing_ptr.hh"
#include "BKE_attribute.hh"
#include "BKE_curves.hh"
#include "BKE_geometry_fields.hh"
#include "BKE_geometry_set.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_instances.hh"
#include "BKE_mesh.hh"
#include "DNA_mesh_types.h"
#include "DNA_pointcloud_types.h"
#include "BLT_translation.hh"
#include <fmt/format.h>

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke

Functions

static std::optional< GeometryFieldContext > blender::bke::try_get_geometry_field_context (const fn::FieldContext &context)
static StringRef blender::bke::get_random_id_attribute_name (const AttrDomain domain)
static bool blender::bke::component_is_available (const GeometrySet &geometry, const GeometryComponent::Type type, const AttrDomain domain)
static std::optional< StringRefNull > blender::bke::try_get_field_direct_attribute_id (const fn::GField &any_field)
static bool blender::bke::attribute_kind_matches (const AttributeMetaData meta_data, const AttrDomain domain, const bke::AttrType data_type)
static bool blender::bke::try_add_shared_field_attribute (MutableAttributeAccessor attributes, const StringRef id_to_create, const AttrDomain domain, const fn::GField &field)
static bool blender::bke::attribute_data_matches_varray (const GAttributeReader &attribute, const CommonVArrayInfo &varray_info)
static bool blender::bke::try_assign_single_value (MutableAttributeAccessor &attributes, const StringRef name, const GPointer value)
static void blender::bke::initialize_new_data (MutableAttributeAccessor &attributes, const AttrDomain domain, const int domain_size, const StringRef name, const CPPType &type, const bke::AttrType data_type, void *buffer)
bool blender::bke::try_capture_fields_on_geometry (MutableAttributeAccessor attributes, const fn::FieldContext &field_context, Span< StringRef > names, AttrDomain domain, const fn::Field< bool > &selection, Span< fn::GField > fields)
bool blender::bke::try_capture_fields_on_geometry (GeometryComponent &component, Span< StringRef > names, AttrDomain domain, const fn::Field< bool > &selection, Span< fn::GField > fields)
bool blender::bke::try_capture_fields_on_geometry (GeometryComponent &component, Span< StringRef > names, AttrDomain domain, Span< fn::GField > fields)
std::optional< AttrDomain > blender::bke::try_detect_native_field_domain (const GeometryComponent &component, const fn::GField &field)
std::optional< AttrDomain > blender::bke::try_detect_field_domain (const GeometryComponent &component, const fn::GField &field)