namespace Integration
{
-Scene Scene::New( const Size& size )
+Scene Scene::New( Integration::RenderSurface& surface )
{
- Internal::ScenePtr internal = Internal::Scene::New( size );
+ Internal::ScenePtr internal = Internal::Scene::New( surface );
return Scene( internal.Get() );
}
return GetImplementation(*this).GetLayer( depth );
}
-void Scene::SetSurface( Integration::RenderSurface& surface, bool forceUpdate )
+void Scene::SetSurface( Integration::RenderSurface& surface )
{
- GetImplementation(*this).SetSurface( surface, forceUpdate );
+ GetImplementation(*this).SetSurface( surface );
}
-void Scene::SurfaceResized( bool forceUpdate )
+void Scene::SurfaceResized()
{
- GetImplementation( *this ).SurfaceResized( forceUpdate );
+ GetImplementation( *this ).SurfaceResized();
}
Integration::RenderSurface* Scene::GetSurface() const