#include <dali/public-api/object/property-map.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/visual-factory/devel-visual-properties.h>
+#include <dali-toolkit/devel-api/visuals/visual-properties-devel.h>
namespace Dali
{
* "uBottomRight" - The bottom-right corner of the image region. The coordinates are in percentage,
* (0,0) being the top-left and (1,1) the bottom right of the original image
*
- * @return A handle to a newly allocated ShaderEffect
+ * @return A property map of the required shader
*/
inline Property::Map CreateImageRegionEffect()
{
Property::Map customShader;
customShader[ Visual::Shader::Property::VERTEX_SHADER ] = vertexShader;
- map[ VisualProperty::SHADER ] = customShader;
+ map[ DevelVisual::Property::SHADER ] = customShader;
return map;
}