|
Blender
V2.93
|
#include <attribute_access_intern.hh>
Inherits blender::bke::BuiltinAttributeProvider.
Additional Inherited Members | |
Public Types inherited from blender::bke::BuiltinAttributeProvider | |
| enum | CreatableEnum { Creatable , NonCreatable } |
| enum | WritableEnum { Writable , Readonly } |
| enum | DeletableEnum { Deletable , NonDeletable } |
Protected Attributes inherited from blender::bke::BuiltinAttributeProvider | |
| const std::string | name_ |
| const AttributeDomain | domain_ |
| const CustomDataType | data_type_ |
| const CreatableEnum | createable_ |
| const WritableEnum | writable_ |
| const DeletableEnum | deletable_ |
This provider is used to provide access to builtin attributes. It supports making internal types available as different types. For example, the vertex position attribute is stored as part of the MVert struct, but is exposed as float3 attribute.
Definition at line 400 of file attribute_access_intern.hh.
|
inline |
Definition at line 412 of file attribute_access_intern.hh.
|
finalvirtual |
Implements blender::bke::BuiltinAttributeProvider.
Definition at line 456 of file attribute_access.cc.
References component(), CustomData_get_layer(), data, and blender::bke::CustomDataAccessInfo::get_const_custom_data.
|
final |
Definition at line 433 of file attribute_access.cc.
References CD_DEFAULT, component(), blender::bke::BuiltinAttributeProvider::Creatable, blender::bke::BuiltinAttributeProvider::createable_, CustomData_add_layer(), CustomData_get_layer(), data, blender::bke::BuiltinAttributeProvider::domain_, blender::bke::CustomDataAccessInfo::get_custom_data, and blender::bke::CustomDataAccessInfo::update_custom_data_pointers.
|
finalvirtual |
Implements blender::bke::BuiltinAttributeProvider.
Definition at line 413 of file attribute_access.cc.
References component(), CustomData_free_layer(), CustomData_get_layer_index(), blender::bke::BuiltinAttributeProvider::Deletable, blender::bke::BuiltinAttributeProvider::deletable_, blender::bke::BuiltinAttributeProvider::domain_, blender::bke::CustomDataAccessInfo::get_custom_data, and blender::bke::CustomDataAccessInfo::update_custom_data_pointers.
|
finalvirtual |
Implements blender::bke::BuiltinAttributeProvider.
Definition at line 371 of file attribute_access.cc.
References component(), CustomData_get_layer(), data, blender::bke::BuiltinAttributeProvider::domain_, and blender::bke::CustomDataAccessInfo::get_const_custom_data.
|
finalvirtual |
Implements blender::bke::BuiltinAttributeProvider.
Definition at line 387 of file attribute_access.cc.
References component(), CustomData_duplicate_referenced_layer(), CustomData_get_layer(), data, blender::bke::BuiltinAttributeProvider::domain_, blender::bke::CustomDataAccessInfo::get_custom_data, blender::bke::CustomDataAccessInfo::update_custom_data_pointers, blender::bke::BuiltinAttributeProvider::Writable, and blender::bke::BuiltinAttributeProvider::writable_.