#define DALI_INTERNAL_SCENE_GRAPH_PROPERTY_OWNER_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return mCustomProperties;
}
+ /**
+ * Mark an property owner with the updated flag.
+ * @param[in] updated The updated flag
+ */
+ virtual void SetUpdated(bool updated)
+ {
+ mUpdated = updated;
+ }
+
+ /**
+ * Retrieve if the property owner is updated due to the property is being animating.
+ * @return An updated flag
+ */
+ bool Updated() const
+ {
+ return mUpdated;
+ }
// Constraints
OwnedPropertyContainer mCustomProperties; ///< Properties provided with InstallCustomProperty()
UniformMap mUniformMaps; ///< Container of owned uniform maps
+ bool mUpdated;
private: