X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fshader-effects%2Falpha-discard-effect.h;h=ec2fe7825c0836a9016102dae3cb155ebb74b4f3;hb=e4a3c7b18f3a6168ec3967d4881663f7ed54f8d5;hp=6e893d3311c24ced9552a806cd8143ed63ff016e;hpb=146486a8c7410a2f2a20a6d670145fe855672b96;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/shader-effects/alpha-discard-effect.h b/dali-toolkit/devel-api/shader-effects/alpha-discard-effect.h index 6e893d3..ec2fe78 100644 --- a/dali-toolkit/devel-api/shader-effects/alpha-discard-effect.h +++ b/dali-toolkit/devel-api/shader-effects/alpha-discard-effect.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_H__ -#define __DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_H__ +#ifndef DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_H +#define DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -42,7 +42,7 @@ namespace Toolkit * Property::Map alphaDiscardEffect = CreateAlphaDiscardEffect(); * actor.SetProperty( ImageView::Property::IMAGE, alphaDiscardEffect ); * - * @return A handle to a newly allocated ShaderEffect. + * @return A property map of the required shaders. */ inline Property::Map CreateAlphaDiscardEffect() { @@ -66,7 +66,7 @@ inline Property::Map CreateAlphaDiscardEffect() Property::Map customShader; customShader[ Visual::Shader::Property::FRAGMENT_SHADER ] = ALPHA_DISCARD_FRAGMENT_SHADER_SOURCE; - map[ Visual::Property::SHADER ] = customShader; + map[ Toolkit::Visual::Property::SHADER ] = customShader; return map; } @@ -74,4 +74,4 @@ inline Property::Map CreateAlphaDiscardEffect() } // namespace Dali -#endif // __DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_H__ +#endif // DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_H