Dali 3D User Interface Engine
sampler.h
Go to the documentation of this file.
1 #ifndef DALI_SAMPLER_H
2 #define DALI_SAMPLER_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 
21 // INTERNAL INCLUDES
22 #include <dali/public-api/object/handle.h> // Dali::Handle
24 
25 namespace Dali
26 {
27 
28 namespace Internal DALI_INTERNAL
29 {
30 class Sampler;
31 }
32 
37 {
38 public:
39 
46  static Sampler New();
47 
51  Sampler();
52 
56  ~Sampler();
57 
63  Sampler( const Sampler& handle );
64 
72  static Sampler DownCast( BaseHandle handle );
73 
80  Sampler& operator=( const Sampler& handle );
81 
82 
92  void SetFilterMode( FilterMode::Type minFilter, FilterMode::Type magFilter );
93 
102  void SetWrapMode( WrapMode::Type uWrap, WrapMode::Type vWrap );
103 
104 public:
110  explicit DALI_INTERNAL Sampler( Internal::Sampler* pointer );
111 };
112 
113 } //namespace Dali
114 
115 #endif // DALI_SAMPLER_H
Dali Docs Home
Read more about Dali