X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fmesh%2Fmesh-visual.h;h=67e1fe1ae989595941e733d31f1999cfbcf29124;hb=2795ebddeae62aa7a17c44d3b9448281e5992401;hp=a07c02ba68dc6dfb46b9483b25a9b881ee068bc4;hpb=99e2ea03e6d6059f5803d700932df1ff1c848cd3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/mesh/mesh-visual.h b/dali-toolkit/internal/visuals/mesh/mesh-visual.h index a07c02b..67e1fe1 100644 --- a/dali-toolkit/internal/visuals/mesh/mesh-visual.h +++ b/dali-toolkit/internal/visuals/mesh/mesh-visual.h @@ -23,6 +23,7 @@ #include // INTERNAL INCLUDES +#include #include #include @@ -45,7 +46,7 @@ namespace Internal * | objectUrl | STRING | A URL to the .obj file | * | materialUrl | STRING | A URL to the .mtl file | * | texturesPath | STRING | A URL of the path to the texture images | - * | shaderType | STRING | An enum of shader types | + * | shadingMode | STRING | An enum of shading modes | * | useMipmapping | BOOLEAN | If true, use mipmaps for textures. Default true. | * | useSoftNormals | BOOLEAN | If true, average normals at points for smooth textures. Default true. | * | lightPosition | VECTOR3 | The position (on stage) of the light | @@ -74,16 +75,6 @@ public: // from Visual virtual void SetSize( const Vector2& size ); /** - * @copydoc Visual::SetClipRect - */ - virtual void SetClipRect( const Rect& clipRect ); - - /** - * @copydoc Visual::SetOffset - */ - virtual void SetOffset( const Vector2& offset ); - - /** * @copydoc Visual::CreatePropertyMap */ virtual void DoCreatePropertyMap( Property::Map& map ) const; @@ -116,14 +107,6 @@ public: private: - //Corresponds to the shader that will be used by the mesh visual. - enum ShaderType - { - TEXTURELESS, - DIFFUSE_TEXTURE, - ALL_TEXTURES - }; - /** * @brief Provide an empty geometry for the visual to use. * @details For use in error cases where the initialisation has failed for varying reasons. @@ -196,7 +179,7 @@ private: Vector3 mSceneSize; Vector3 mLightPosition; - ShaderType mShaderType; + Toolkit::MeshVisual::ShadingMode::Value mShadingMode; bool mUseTexture; bool mUseMipmapping;