Initial drop of Update classes
[platform/core/uifw/dali-core.git] / dali / internal / render / renderers / attribute-data-provider.h
1 #ifndef DALI_INTERNAL_SCENE_GRAPH_ATTRIBUTE_DATA_PROVIDER_H
2 #define DALI_INTERNAL_SCENE_GRAPH_ATTRIBUTE_DATA_PROVIDER_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 #include <dali/public-api/shader-effects/attribute.h>
21 #include <dali/integration-api/resource-declarations.h>
22 #include <dali/internal/common/buffer-index.h>
23
24 namespace Dali
25 {
26 namespace Internal
27 {
28 namespace SceneGraph
29 {
30
31 class AttributeDataProvider
32 {
33 public:
34   /**
35    * Constructor
36    */
37   AttributeDataProvider()
38   {
39   }
40
41   virtual const AttributeList& GetAttributeList() = 0;
42
43 protected:
44   /**
45    * No deletion through this interface
46    */
47   virtual ~AttributeDataProvider()
48   {
49   }
50 };
51
52 } // namespace SceneGraph
53 } // namespace Internal
54 } // namespace Dali
55
56 #endif // DALI_INTERNAL_SCENE_GRAPH_ATTRIBUTE_DATA_PROVIDER_H