Initial drop of Update classes
[platform/core/uifw/dali-core.git] / dali / internal / render / renderers / material-data-provider.h
1 #ifndef DALI_INTERNAL_SCENE_GRAPH_MATERIAL_DATA_PROVIDER_H
2 #define DALI_INTERNAL_SCENE_GRAPH_MATERIAL_DATA_PROVIDER_H
3 /*
4  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18
19 namespace Dali
20 {
21 namespace Internal
22 {
23 namespace SceneGraph
24 {
25 class SamplerDataProvider;
26
27
28 class MaterialDataProvider
29 {
30 public:
31   typedef Dali::Vector< SamplerDataProvider* > Samplers;
32
33   /**
34    * Construtor
35    */
36   MaterialDataProvider()
37   {
38   }
39
40   /**
41    * Returns the list of samplers that this material provides
42    * @return The list of samplers
43    */
44   const Samplers& GetSamplers();
45
46 protected:
47   /**
48    * Destructor. No deletion through this interface
49    */
50   virtual ~MaterialDataProvider()
51   {
52   }
53 };
54
55 } // namespace SceneGraph
56 } // namespace Internal
57 } // namespace Dali
58
59 #endif // DALI_INTERNAL_SCENE_GRAPH_MATERIAL_DATA_PROVIDER_H