Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_geometry_set.hh
| Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | public: | ||||
| virtual GeometryComponent *copy() const = 0; | virtual GeometryComponent *copy() const = 0; | ||||
| void user_add() const; | void user_add() const; | ||||
| void user_remove() const; | void user_remove() const; | ||||
| bool is_mutable() const; | bool is_mutable() const; | ||||
| GeometryComponentType type() const; | GeometryComponentType type() const; | ||||
| bool attribute_exists(const blender::StringRef attribute_name) const; | |||||
| /* Returns true when the geometry component supports this attribute domain. */ | /* Returns true when the geometry component supports this attribute domain. */ | ||||
| virtual bool attribute_domain_supported(const AttributeDomain domain) const; | virtual bool attribute_domain_supported(const AttributeDomain domain) const; | ||||
| /* Returns true when the given data type is supported in the given domain. */ | /* Returns true when the given data type is supported in the given domain. */ | ||||
| virtual bool attribute_domain_with_type_supported(const AttributeDomain domain, | virtual bool attribute_domain_with_type_supported(const AttributeDomain domain, | ||||
| const CustomDataType data_type) const; | const CustomDataType data_type) const; | ||||
| /* Can only be used with supported domain types. */ | /* Can only be used with supported domain types. */ | ||||
| virtual int attribute_domain_size(const AttributeDomain domain) const; | virtual int attribute_domain_size(const AttributeDomain domain) const; | ||||
| /* Attributes with these names cannot be created or removed via this api. */ | /* Attributes with these names cannot be created or removed via this api. */ | ||||
| ▲ Show 20 Lines • Show All 283 Lines • Show Last 20 Lines | |||||