|
Blender
V3.3
|
Public Member Functions | |
| NormalAttributeProvider () | |
| GVArray | try_get_for_read (const void *owner) const final |
| GAttributeWriter | try_get_for_write (void *UNUSED(owner)) const final |
| bool | try_delete (void *UNUSED(owner)) const final |
| bool | try_create (void *UNUSED(owner), const AttributeInit &UNUSED(initializer)) const final |
| bool | exists (const void *owner) const final |
Public Member Functions inherited from blender::bke::BuiltinAttributeProvider | |
| BuiltinAttributeProvider (std::string name, const eAttrDomain domain, const eCustomDataType data_type, const CreatableEnum createable, const WritableEnum writable, const DeletableEnum deletable) | |
| virtual GAttributeWriter | try_get_for_write (void *owner) const =0 |
| virtual bool | try_delete (void *owner) const =0 |
| virtual bool | try_create (void *onwer, const AttributeInit &initializer) const =0 |
| StringRefNull | name () const |
| eAttrDomain | domain () const |
| eCustomDataType | data_type () const |
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 eAttrDomain | domain_ |
| const eCustomDataType | data_type_ |
| const CreatableEnum | createable_ |
| const WritableEnum | writable_ |
| const DeletableEnum | deletable_ |
This provider makes face normals available as a read-only float3 attribute.
Definition at line 1092 of file geometry_component_mesh.cc.
|
inline |
Definition at line 1094 of file geometry_component_mesh.cc.
Implements blender::bke::BuiltinAttributeProvider.
Definition at line 1124 of file geometry_component_mesh.cc.
References mesh, and Mesh::totpoly.
|
inlinefinal |
Definition at line 1119 of file geometry_component_mesh.cc.
Definition at line 1114 of file geometry_component_mesh.cc.
|
inlinefinalvirtual |
Implements blender::bke::BuiltinAttributeProvider.
Definition at line 1100 of file geometry_component_mesh.cc.
References BKE_mesh_poly_normals_ensure(), blender::VArray< T >::ForSpan(), mesh, and Mesh::totpoly.
|
inlinefinal |
Definition at line 1109 of file geometry_component_mesh.cc.