Merge "Added GetUniformName to Sampler." into devel/master
[platform/core/uifw/dali-core.git] / dali / internal / event / rendering / sampler-impl.cpp
index 4d58bd2..616e4b5 100644 (file)
@@ -68,6 +68,11 @@ void Sampler::SetTextureUnitUniformName( const std::string& name )
   SetTextureUnitUniformNameMessage( GetEventThreadServices(), *mSceneObject, name);
 }
 
+const std::string& Sampler::GetTextureUnitUniformName() const
+{
+  return mSceneObject->GetTextureUnitUniformName();
+}
+
 void Sampler::SetImage( ImagePtr& image )
 {
   // Keep a reference to the image object