GLShader.newFromResource
Creates a gsk.glshader.GLShader that will render pixels using the specified code.
Parameters
resourcePath | path to a resource that contains the GLSL sourcecode for the shader |
Returns
A new gsk.glshader.GLShader
Creates a gsk.glshader.GLShader that will render pixels using the specified code.
resourcePath | path to a resource that contains the GLSL sourcecode for the shader |