GLShader

constructor(sourcecode: <Error class: unknown class>)

Creates a GskGLShader that will render pixels using the specified code.

Return

A new GskGLShader

Parameters

sourcecode

GLSL sourcecode for the shader, as a GBytes


constructor(resourcePath: String)

Creates a GskGLShader that will render pixels using the specified code.

Return

A new GskGLShader

Parameters

resourcePath

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


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)