Simp module

get_shader_program

procedureSource

Compiles a shader from its source text and returns the GL program, or 0 if it doesn't compile.

get_shader_program :: (shader_text: string) -> GLuint

Parameters

shader_text: string

Returns

GLuint

See also