/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
mCustomProperties.PushBack( property.Release() );
}
-void PropertyOwner::ResetToBaseValues( BufferIndex updateBufferIndex )
-{
- // Reset custom properties
- const OwnedPropertyIter endIter = mCustomProperties.End();
- for ( OwnedPropertyIter iter = mCustomProperties.Begin(); endIter != iter; ++iter )
- {
- (*iter)->ResetToBaseValue( updateBufferIndex );
- }
-
- // Notification for derived classes, to reset default properties
- ResetDefaultProperties( updateBufferIndex );
-}
ConstraintOwnerContainer& PropertyOwner::GetConstraints()
{
mUniformMaps.RemoveObserver( observer );
}
+void PropertyOwner::SetPropertyDirty( bool value )
+{
+ mPropertyDirty = value;
+}
+bool PropertyOwner::IsPropertyDirty() const
+{
+ return mPropertyDirty;
+}
} // namespace SceneGraph