|
Blender
V2.93
|
#include <attribute_access_intern.hh>
Inherits blender::bke::ReadAttribute.
Public Member Functions | |
| ConstantReadAttribute (AttributeDomain domain, const int64_t size, const CPPType &type, const void *value) | |
| ~ConstantReadAttribute () override | |
| void | get_internal (const int64_t UNUSED(index), void *r_value) const override |
| void | initialize_span () const override |
Public Member Functions inherited from blender::bke::ReadAttribute | |
| ReadAttribute (AttributeDomain domain, const CPPType &cpp_type, const int64_t size) | |
| AttributeDomain | domain () const |
| const CPPType & | cpp_type () const |
| CustomDataType | custom_data_type () const |
| int64_t | size () const |
| void | get (const int64_t index, void *r_value) const |
| template<typename T > | |
| Span< T > | get_span () const |
| virtual | ~ReadAttribute () |
| fn::GSpan | get_span () const |
Additional Inherited Members | |
Protected Member Functions inherited from blender::bke::ReadAttribute | |
| virtual void | get_internal (const int64_t index, void *r_value) const =0 |
Protected Attributes inherited from blender::bke::ReadAttribute | |
| const AttributeDomain | domain_ |
| const CPPType & | cpp_type_ |
| const CustomDataType | custom_data_type_ |
| const int64_t | size_ |
| std::mutex | span_mutex_ |
| void * | array_buffer_ = nullptr |
| bool | array_is_temporary_ = false |
Definition at line 27 of file attribute_access_intern.hh.
|
inline |
Definition at line 32 of file attribute_access_intern.hh.
References MEM_mallocN_aligned, and type.
|
inlineoverride |
Definition at line 42 of file attribute_access_intern.hh.
References blender::bke::ReadAttribute::cpp_type_, blender::fn::CPPType::destruct(), and MEM_freeN.
|
inlineoverride |
Definition at line 48 of file attribute_access_intern.hh.
References blender::fn::CPPType::copy_to_uninitialized(), and blender::bke::ReadAttribute::cpp_type_.
|
inlineoverridevirtual |
Reimplemented from blender::bke::ReadAttribute.
Definition at line 53 of file attribute_access_intern.hh.
References blender::fn::CPPType::alignment(), blender::bke::ReadAttribute::array_buffer_, blender::bke::ReadAttribute::array_is_temporary_, blender::bke::ReadAttribute::cpp_type_, blender::fn::CPPType::fill_uninitialized(), MEM_mallocN_aligned, blender::fn::CPPType::size(), and blender::bke::ReadAttribute::size_.