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() );
}
GetImplementation(*this).SetSurface( surface );
}
-void Scene::SurfaceResized()
+void Scene::SurfaceResized( bool forceUpdate )
{
- GetImplementation( *this ).SurfaceResized();
+ GetImplementation( *this ).SurfaceResized( forceUpdate );
}
Integration::RenderSurface* Scene::GetSurface() const