Release 4.0.0-preview1-00301
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / FilterModeType.cs
1 /*
2  * Copyright(c) 2017 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 namespace Tizen.NUI
19 {
20     /// <summary>
21     /// The filter mode type.
22     /// </summary>
23     /// <since_tizen> 3 </since_tizen>
24     public enum FilterModeType
25     {
26         /// <summary>
27         /// Use GL defaults (minification NEAREST_MIPMAP_LINEAR, magnification LINEAR).
28         /// </summary>
29         /// <since_tizen> 3 </since_tizen>
30         NONE = 0,
31         /// <summary>
32         /// Use Dali defaults (minification LINEAR, magnification LINEAR).
33         /// </summary>
34         /// <since_tizen> 3 </since_tizen>
35         DEFAULT,
36         /// <summary>
37         /// Filter nearest.
38         /// </summary>
39         /// <since_tizen> 3 </since_tizen>
40         NEAREST,
41         /// <summary>
42         /// Filter linear.
43         /// </summary>
44         /// <since_tizen> 3 </since_tizen>
45         LINEAR,
46         /// <summary>
47         /// Chooses the mipmap that most closely matches the size of the pixel being
48         /// textured and uses the GL_NEAREST criterion (the texture element closest to
49         /// the specified texture coordinates) to produce a texture value.
50         /// </summary>
51         /// <since_tizen> 3 </since_tizen>
52         NEAREST_MIPMAP_NEAREST,
53         /// <summary>
54         /// Chooses the mipmap that most closely matches the size of the pixel being textured
55         /// and uses the GL_LINEAR criterion (a weighted average of the four texture elements
56         /// that are closest to the specified texture coordinates) to produce a texture value.
57         /// </summary>
58         /// <since_tizen> 3 </since_tizen>
59         LINEAR_MIPMAP_NEAREST,
60         /// <summary>
61         /// Chooses the two mipmaps that most closely match the size of the pixel being textured
62         /// and uses the GL_NEAREST criterion (the texture element closest to the specified texture
63         /// coordinates ) to produce a texture value from each mipmap. The final texture value is a
64         /// weighted average of those two values.
65         /// </summary>
66         /// <since_tizen> 3 </since_tizen>
67         NEAREST_MIPMAP_LINEAR,
68         /// <summary>
69         /// Chooses the two mipmaps that most closely match the size of the pixel being textured and
70         /// uses the GL_LINEAR criterion (a weighted average of the texture elements that are closest
71         /// to the specified texture coordinates) to produce a texture value from each mipmap. The final
72         /// texture value is a weighted average of those two values.
73         /// </summary>
74         /// <since_tizen> 3 </since_tizen>
75         LINEAR_MIPMAP_LINEAR
76     }
77
78 }