Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_attribute_access.hh
| Show First 20 Lines • Show All 260 Lines • ▼ Show 20 Lines | public: | ||||
| /* Write back all changes to the actual attribute, if necessary. */ | /* Write back all changes to the actual attribute, if necessary. */ | ||||
| void apply_span() | void apply_span() | ||||
| { | { | ||||
| attribute_->apply_span(); | attribute_->apply_span(); | ||||
| } | } | ||||
| }; | }; | ||||
| using BooleanReadAttribute = TypedReadAttribute<bool>; | |||||
| using FloatReadAttribute = TypedReadAttribute<float>; | using FloatReadAttribute = TypedReadAttribute<float>; | ||||
| using Float3ReadAttribute = TypedReadAttribute<float3>; | using Float3ReadAttribute = TypedReadAttribute<float3>; | ||||
| using Color4fReadAttribute = TypedReadAttribute<Color4f>; | using Color4fReadAttribute = TypedReadAttribute<Color4f>; | ||||
| using BooleanWriteAttribute = TypedWriteAttribute<bool>; | |||||
| using FloatWriteAttribute = TypedWriteAttribute<float>; | using FloatWriteAttribute = TypedWriteAttribute<float>; | ||||
| using Float3WriteAttribute = TypedWriteAttribute<float3>; | using Float3WriteAttribute = TypedWriteAttribute<float3>; | ||||
| using Color4fWriteAttribute = TypedWriteAttribute<Color4f>; | using Color4fWriteAttribute = TypedWriteAttribute<Color4f>; | ||||
| } // namespace blender::bke | } // namespace blender::bke | ||||