+void Scene::SetRotationCompletedAcknowledgement()
+{
+ mRotationCompletedAcknowledgement = true;
+}
+
+bool Scene::IsRotationCompletedAcknowledgementSet()
+{
+ bool setRotationCompletedAcknowledgement = mRotationCompletedAcknowledgement;
+ mRotationCompletedAcknowledgement = false;
+ return setRotationCompletedAcknowledgement;
+}
+
+std::vector<DirtyRect>& Scene::GetItemsDirtyRects()
+{
+ return mItemsDirtyRects;
+}
+
+void Scene::SetSurfaceRenderTargetCreateInfo(const Graphics::RenderTargetCreateInfo& renderTargetCreateInfo)
+{
+ if(mRenderTarget != nullptr &&
+ mRenderTargetCreateInfo.surface != renderTargetCreateInfo.surface)
+ {
+ // Only recreate if the surface has changed.
+ mRenderTargetCreateInfo = renderTargetCreateInfo;
+ if(mGraphicsController) // shouldn't be null, as we can't have already set mRenderTarget unless graphics controller exists.
+ {
+ mRenderTarget = mGraphicsController->CreateRenderTarget(renderTargetCreateInfo, std::move(mRenderTarget));
+ }
+ }
+ else
+ {
+ // 2nd Stage initialization happens in RenderManager, not UpdateManager, so is delayed.
+ mRenderTargetCreateInfo = renderTargetCreateInfo;
+ }
+}
+