[Vulkan] Builtin shaders and shaders offline compilation script
[platform/core/uifw/dali-core.git] / dali / graphics-api / graphics-api-texture-set.h
1 #ifndef DALI_GRAPHICS_API_TEXTURE_SET_H
2 #define DALI_GRAPHICS_API_TEXTURE_SET_H
3
4 /*
5  * Copyright (c) 2016 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
21 #include <dali/graphics-api/graphics-api-texture.h>
22
23 namespace Dali
24 {
25 namespace Graphics
26 {
27 namespace API
28 {
29
30 /**
31  * @brief Interface class for TextureSet types in the graphics API.
32  */
33 class TextureSet
34 {
35 public:
36   virtual void AddTexture(const Accessor< Texture >& texture) = 0;
37
38   // not copyable
39   TextureSet(const TextureSet&) = delete;
40   TextureSet& operator=(const TextureSet&) = delete;
41
42   virtual ~TextureSet() = default;
43
44 protected:
45   // derived types should not be moved direcly to prevent slicing
46   TextureSet(TextureSet&&) = default;
47   TextureSet& operator=(TextureSet&&) = default;
48
49   /**
50    * Objects of this type should not directly.
51    */
52   TextureSet() = default;
53 };
54
55 } // namespace API
56 } // namespace Graphics
57 } // namespace Dali
58
59 #endif // DALI_GRAPHICS_API_TEXTURE_SET_H