Glsl_shader_compile - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Tells the shader to compile its source code and returns whether it was successful.

Parameters

  • none: index of the shader to compile

Return Values

bool: Returns (true or false) whether the compile was successful.

Example Call

// demonstrates compiling a shader
shader_compile(mysh);

NOTOC

Category:Function:All