1 /** Copyright (c) 2016 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
20 namespace AlphaFunction {
21 public enum BuiltinFunction {
22 Default = Dali.AlphaFunction.BuiltinFunction.DEFAULT,
23 Linear = Dali.AlphaFunction.BuiltinFunction.LINEAR,
24 Reverse = Dali.AlphaFunction.BuiltinFunction.REVERSE,
25 EaseInSquare = Dali.AlphaFunction.BuiltinFunction.EASE_IN_SQUARE,
26 EaseOutSquare = Dali.AlphaFunction.BuiltinFunction.EASE_OUT_SQUARE,
27 EaseIn = Dali.AlphaFunction.BuiltinFunction.EASE_IN,
28 EaseOut = Dali.AlphaFunction.BuiltinFunction.EASE_OUT,
29 EaseInOut = Dali.AlphaFunction.BuiltinFunction.EASE_IN_OUT,
30 EaseInSine = Dali.AlphaFunction.BuiltinFunction.EASE_IN_SINE,
31 EaseOutSine = Dali.AlphaFunction.BuiltinFunction.EASE_OUT_SINE,
32 EaseInOutSine = Dali.AlphaFunction.BuiltinFunction.EASE_IN_OUT_SINE,
33 Bounce = Dali.AlphaFunction.BuiltinFunction.BOUNCE,
34 Sin = Dali.AlphaFunction.BuiltinFunction.SIN,
35 EaseOutBack = Dali.AlphaFunction.BuiltinFunction.EASE_OUT_BACK,
36 Count = Dali.AlphaFunction.BuiltinFunction.COUNT
41 BuiltinFunction = Dali.AlphaFunction.Mode.BUILTIN_FUNCTION,
42 CustomFunction = Dali.AlphaFunction.Mode.CUSTOM_FUNCTION,
43 Bezier = Dali.AlphaFunction.Mode.BEZIER
46 } // namespace AlphaFunction
48 namespace FrameBuffer {
49 namespace Attachment {
51 None = Dali.FrameBuffer.Attachment.Mask.NONE, ///< No attachments are created initially @SINCE_1_1.45
52 Depth = Dali.FrameBuffer.Attachment.Mask.DEPTH, ///< Depth buffer bit-mask value @SINCE_1_1.45
53 Stencil = Dali.FrameBuffer.Attachment.Mask.STENCIL , ///< Stencil buffer bit-mask value @SINCE_1_1.45
54 // Preset bit-mask combinations:
55 DepthStencil = Dali.FrameBuffer.Attachment.Mask.DEPTH_STENCIL ///< The Framebuffer will be created with depth and stencil buffer @SINCE_1_1.45
57 } //namespace FrameBuffer
58 } // namespace Attachment
61 public enum TextureType {
62 Texture2D = Dali.TextureType.TEXTURE_2D, ///< One 2D image @SINCE_1_1.43
63 TextureCube = Dali.TextureType.TEXTURE_CUBE ///< Six 2D images arranged in a cube-shape @SINCE_1_1.43
67 * @brief Stereoscopic view modes
70 public enum ViewMode {
71 Mono = Dali.ViewMode.MONO, ///< Monoscopic (single camera). This is the default @SINCE_1_0.0
72 StereoHorizontal = Dali.ViewMode.STEREO_HORIZONTAL, ///< Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides. @SINCE_1_0.0
73 StereoVertical = Dali.ViewMode.STEREO_VERTICAL, ///< Stereoscopic. Frame buffer is split vertically with the left camera view at the top and the right camera view at the bottom. @SINCE_1_0.0
74 StereoInterlaced = Dali.ViewMode.STEREO_INTERLACED ///< @DEPRECATED_1_1.19 @brief Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames. @SINCE_1_0.0
77 public enum MeshVisualShadingModeValue {
78 TexturelessWithDiffuseLighting = Dali.MeshVisualShadingModeValue.TEXTURELESS_WITH_DIFFUSE_LIGHTING, ///< *Simplest*. One color that is lit by ambient and diffuse lighting. @SINCE_1_1.45
79 TexturedWithSpecularLigting = Dali.MeshVisualShadingModeValue.TEXTURED_WITH_SPECULAR_LIGHTING, ///< Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting. @SINCE_1_1.45
80 TexturedWithDetailedSpecularLighting = Dali.MeshVisualShadingModeValue.TEXTURED_WITH_DETAILED_SPECULAR_LIGHTING ///< Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting. @SINCE_1_1.45
84 * @brief Projection modes.
87 public enum ProjectionMode {
88 PerspectiveProjection = Dali.ProjectionMode.PERSPECTIVE_PROJECTION, ///< Distance causes foreshortening; objects further from the camera appear smaller @SINCE_1_0.0
89 OrthographicProjection = Dali.ProjectionMode.ORTHOGRAPHIC_PROJECTION ///< Relative distance from the camera does not affect the size of objects @SINCE_1_0.0
93 } // namespace Constants