X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Fpublic-api%2Fvisuals%2Fvisual-properties.h;h=65d452af05bf0660bc669737124bc61a6854c3e1;hb=e2d3bdc173f657ddf0a0c58062a61bbbaaf6f9da;hp=4c1ff576787e3888476bf5beffc0265f7065601d;hpb=c04a09f43cb4d1def43aff517e6f8053f8a96add;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/visuals/visual-properties.h b/dali-toolkit/public-api/visuals/visual-properties.h index 4c1ff57..65d452a 100644 --- a/dali-toolkit/public-api/visuals/visual-properties.h +++ b/dali-toolkit/public-api/visuals/visual-properties.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_VISUAL_PROPERTIES_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,11 @@ namespace Dali namespace Toolkit { +/** + * @addtogroup dali_toolkit_visuals + * @{ + */ + namespace Visual { @@ -42,7 +47,7 @@ enum Type IMAGE, ///< Renders an image into the control's quad. @SINCE_1_1.45 MESH, ///< Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file. @SINCE_1_1.45 PRIMITIVE, ///< Renders a simple 3D shape, such as a cube or sphere. @SINCE_1_1.45 - DEBUG, ///< Renders a simple wire-frame outlining a quad. @SINCE_1_1.45 + WIREFRAME ///< Renders a simple wire-frame outlining a quad. @SINCE_1_2_2 }; namespace Property @@ -67,7 +72,7 @@ enum * @note Will override the existing shaders. * @see Shader::Property */ - SHADER, + SHADER }; } // namespace Property @@ -82,7 +87,8 @@ enum { /** * @brief The vertex shader. - * @details Name "vertexShader", type Property::STRING. + * @details Name "vertexShader", type Property::STRING or Property::ARRAY of Property::STRING. + * A Property::ARRAY of Property::STRING values can be used to split the shader string over multiple lines. * @SINCE_1_1.45 * @note Optional * @note If not supplied, the visual's already set vertex shader is used. @@ -91,7 +97,8 @@ enum /** * @brief The fragment shader. - * @details Name "fragmentShader", type Property::STRING. + * @details Name "fragmentShader", type Property::STRING or Property::ARRAY of Property::STRING. + * A Property::ARRAY of Property::STRING values can be used to split the shader string over multiple lines. * @SINCE_1_1.45 * @note Optional * @note If not supplied, the visual's already set fragment shader is used. @@ -134,6 +141,10 @@ enum } // namespace Visual +/** + * @} + */ + } // namespace Toolkit } // namespace Dali