GLShader.from_resource


Description:

[ CCode ( has_construct_function = false ) ]
public GLShader.from_resource (string resource_path)

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

Parameters:

resource_path

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

Returns:

A new `GskGLShader`




2022 vala-language.org