Merge branch 'tizen' of platform/core/uifw/dali-core into devel/new_mesh
[platform/core/uifw/dali-core.git] / dali / internal / update / common / uniform-map.h
1 #ifndef DALI_INTERNAL_SCENE_GRAPH_UNIFORM_MAP_H
2 #define DALI_INTERNAL_SCENE_GRAPH_UNIFORM_MAP_H
3
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  */
19
20 namespace Dali
21 {
22 namespace Internal
23 {
24 namespace SceneGraph
25 {
26
27 /**
28  * The uniform map is generated on stage change, e.g when renderers, materials, geometry,
29  * actors etc are added/removed from the stage.
30  *
31  * It computes a list of uniform strings to property value addresses that is needed
32  * for the Renderer to match once against Program uniforms; subsequent render calls do
33  * not need to re-generate the match, instead using the uniform index.
34  */
35 class UniformMap
36 {
37 public:
38   /**
39    * Constructor
40    */
41   UniformMap();
42
43   /**
44    * Destructor
45    */
46   ~UniformMap();
47
48 private:
49   // data
50 };
51
52 } // namespace SceneGraph
53 } // namespace Internal
54 } // namespace Dali
55
56 #endif // DALI_INTERNAL_SCENE_GRAPH_UNIFORM_MAP_H