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;
40 * Abstract interface for the scene controller
56 virtual ~SceneController()
61 * Get the light controller
62 * @return reference to a light controller
64 virtual LightController& GetLightController() = 0;
67 * Return the render message dispatcher
68 * @return A reference to the render message dispatcher
70 virtual RenderMessageDispatcher& GetRenderMessageDispatcher() = 0;
73 * Return the render queue
74 * @return A reference to the render queue
76 virtual RenderQueue& GetRenderQueue() = 0;
79 * Return the discard queue
80 * @return A reference to the discard queue
82 virtual DiscardQueue& GetDiscardQueue() = 0;
85 * Return the texture cache
86 * TODO: Remove this method when renderer's & shader's second stage initialization
87 * is done by RenderManager rather than by the attachments in the Update thread.
88 * DO NOT USE THIS IN THE UPDATE THREAD!
89 * @return A reference to the texture cache
91 virtual TextureCache& GetTextureCache() = 0;
94 * Return the CompleteStatusManager
95 * @return a reference to the complete status manager
97 virtual CompleteStatusManager& GetCompleteStatusManager() = 0;
100 * Return the default shader
101 * @return pointer to the default shader
103 virtual Shader* GetDefaultShader() = 0;
107 // Undefined copy constructor.
108 SceneController( const SceneController& );
110 // Undefined assignment operator.
111 SceneController& operator=( const SceneController& );
114 } // namespace SceneGraph
116 } // namespace Internal
120 #endif // __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__