GLShader.from_bytes


Description:

[ CCode ( has_construct_function = false ) ]
public GLShader.from_bytes (Bytes sourcecode)

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

Parameters:

sourcecode

GLSL sourcecode for the shader, as a `GBytes`

Returns:

A new `GskGLShader`




2022 vala-language.org