*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* When the page is turned over in landscape, call
* SetIsBackImageVisible(true), this effect can display the back image
*
* When the page is turned over in landscape, call
* SetIsBackImageVisible(true), this effect can display the back image
* display the pages visually consistent with its turning state,
* please set the uniforms with the same values as the PageTurnEffect.
*
* display the pages visually consistent with its turning state,
* please set the uniforms with the same values as the PageTurnEffect.
*
- customShader[ "vertexShader" ] = vertexSource;
- customShader[ "fragmentShader" ] = fragmentSource;
+ customShader[ Toolkit::Visual::Shader::Property::VERTEX_SHADER ] = vertexSource;
+ customShader[ Toolkit::Visual::Shader::Property::FRAGMENT_SHADER ] = fragmentSource;