1 #ifndef __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__
2 #define __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
26 class CompleteStatusManager;
31 class LightController;
32 class CameraController;
33 class RenderMessageDispatcher;
39 * Abstract interface for the scene controller
55 virtual ~SceneController()
60 * Get the light controller
61 * @return reference to a light controller
63 virtual LightController& GetLightController() = 0;
66 * Return the render message dispatcher
67 * @return A reference to the render message dispatcher
69 virtual RenderMessageDispatcher& GetRenderMessageDispatcher() = 0;
72 * Return the render queue
73 * @return A reference to the render queue
75 virtual RenderQueue& GetRenderQueue() = 0;
78 * Return the discard queue
79 * @return A reference to the discard queue
81 virtual DiscardQueue& GetDiscardQueue() = 0;
84 * Return the texture cache
85 * TODO: Remove this method when renderer's & shader's second stage initialization
86 * is done by RenderManager rather than by the attachments in the Update thread.
87 * DO NOT USE THIS IN THE UPDATE THREAD!
88 * @return A reference to the texture cache
90 virtual TextureCache& GetTextureCache() = 0;
93 * Return the CompleteStatusManager
94 * @return a reference to the complete status manager
96 virtual CompleteStatusManager& GetCompleteStatusManager() = 0;
100 // Undefined copy constructor.
101 SceneController( const SceneController& );
103 // Undefined assignment operator.
104 SceneController& operator=( const SceneController& );
107 } // namespace SceneGraph
109 } // namespace Internal
113 #endif // __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__