20 float *dst =
static_cast<float *
>(
24 attributes.
remove(
".selection");
32 attributes.
add(
".selection",
38 return curves.attributes_for_write().lookup_for_write_span<
float>(
".selection");
Low-level operations for curves.
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
void materialize(MutableSpan< T > r_span) const
static VArray from_single(T value, const int64_t size)
GAttributeReader lookup(const StringRef attribute_id) const
int domain_size(const AttrDomain domain) const
std::optional< AttributeMetaData > lookup_meta_data(StringRef attribute_id) const
bool add(const StringRef attribute_id, const AttrDomain domain, const AttrType data_type, const AttributeInit &initializer)
bool remove(const StringRef attribute_id)
void * MEM_malloc_arrayN(size_t len, size_t size, const char *str)
bke::SpanAttributeWriter< float > float_selection_ensure(Curves &curves_id)