Blender V5.0
blender::bke::Attribute::SingleData Struct Reference

#include <BKE_attribute_storage.hh>

Static Public Member Functions

static SingleData from_value (const GPointer &value)
static SingleData from_default_value (const CPPType &type)

Public Attributes

void * value
ImplicitSharingPtr sharing_info

Detailed Description

Data for an attribute stored as a single value for the entire domain.

Definition at line 53 of file BKE_attribute_storage.hh.

Member Function Documentation

◆ from_default_value()

Attribute::SingleData blender::bke::Attribute::SingleData::from_default_value ( const CPPType & type)
static

Definition at line 121 of file attribute_storage.cc.

References blender::CPPType::default_value(), and from_value().

◆ from_value()

Member Data Documentation

◆ sharing_info

ImplicitSharingPtr blender::bke::Attribute::SingleData::sharing_info

Definition at line 57 of file BKE_attribute_storage.hh.

◆ value

void* blender::bke::Attribute::SingleData::value

Definition at line 56 of file BKE_attribute_storage.hh.

Referenced by from_value().


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