Added connection for sampler texture
[platform/core/uifw/dali-core.git] / dali / internal / render / data-providers / 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 #include <dali/public-api/common/dali-vector.h>
20
21 namespace Dali
22 {
23 namespace Internal
24 {
25 namespace SceneGraph
26 {
27
28 /**
29  * Interface to provide data of the material to the renderer.
30  * This interface must not be used to pass object pointers.
31  */
32 class MaterialDataProvider
33 {
34 public:
35   /**
36    * Construtor
37    */
38   MaterialDataProvider()
39   {
40   }
41
42 protected:
43   /**
44    * Destructor. No deletion through this interface
45    */
46   virtual ~MaterialDataProvider()
47   {
48   }
49 };
50
51 } // namespace SceneGraph
52 } // namespace Internal
53 } // namespace Dali
54
55 #endif // DALI_INTERNAL_SCENE_GRAPH_MATERIAL_DATA_PROVIDER_H