Glsl_shader_free - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Notation
Description
NOTE: The shader will not actually be destroyed until the program it is attached to is also destroyed. Frees the memory of a given shader.
Parameters
- id: index of the shader to free the memory of
Return Values
none: This function has no return values.
Example Call
// demonstrates freeing a shader from memory
shader_free(mysh);
NOTOC