GLShader.newFromResource

gsk.glshader.GLShader newFromResource(string resourcePath) static nothrow

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

Parameters

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

Returns