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
return mSceneObject;
}
+SceneGraph::Sampler* Sampler::GetSamplerSceneObject()
+{
+ return mSceneObject;
+}
+
unsigned int Sampler::GetDefaultPropertyCount() const
{
return SAMPLER_IMPL.GetDefaultPropertyCount();