Dali 3D User Interface Engine
image-sampler.h
Go to the documentation of this file.
1 #ifndef __DALI_IMAGE_SAMPLER_H__
2 #define __DALI_IMAGE_SAMPLER_H__
3 
4 /*
5  * Copyright (c) 2014 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
23 
24 namespace Dali
25 {
26 
27 namespace Internal
28 {
29 
33 namespace ImageSampler
34 {
38  enum
39  {
44  };
45 
49  enum
50  {
53  MASK_UWRAP_MODE = 0x0F00,
54  MASK_VWRAP_MODE = 0xF000,
55  };
56 
60  enum
61  {
63  };
64 
73 
79  FilterMode::Type GetMinifyFilterMode( unsigned int bitfield );
80 
86  FilterMode::Type GetMagnifyFilterMode( unsigned int bitfield );
87 
93  WrapMode::Type GetUWrapMode( unsigned int bitfield );
94 
100  WrapMode::Type GetVWrapMode( unsigned int bitfield );
101 
102 } // namespace ImageSampler
103 
104 } // namespace Internal
105 
106 } // namespace Dali
107 
108 
109 #endif // __DALI_INTERNAL_IMAGE_SAMPLER_H__
110 
111 
112 
Dali Docs Home
Read more about Dali