1struct Varyings { 2 float2 position; 3}; 4 5uniform shader myShader; 6 7float2 main(const Varyings vary) { 8 return myShader.eval(vary.position).xy; 9} 10 11/*%%* 12effects are not permitted in custom mesh shaders 13*%%*/ 14