- Internal::TextureSet* textureSet( GetImplementation(*this).GetTextures() );
- return Dali::TextureSet( textureSet );
+ return Dali::TextureSet(GetImplementation(*this).GetTextures().Get());
+}
+
+void Renderer::SetShader(Shader& shader)
+{
+ DALI_ASSERT_ALWAYS(shader && "Shader handle not initialized");
+ GetImplementation(*this).SetShader(GetImplementation(shader));