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
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