GLShader.newFromResource

Creates a gsk.glshader.GLShader that will render pixels using the specified code.

class GLShader
static
newFromResource
()

Parameters

resourcePath string

path to a resource that contains the GLSL sourcecode for the shader

Return Value

Type: gsk.glshader.GLShader