Visuals devel API migrated to public
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / shader-effects / alpha-discard-effect.h
index 6e893d3..e5cd8f9 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_TOOLKIT_ALPHA_DISCARD_EFFECT_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.
@@ -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;
 }