Glsl_program_detach - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Notation
Description
NOTE: Shader programs must be attached to shaders before they are linked and compiled, and they must be linked and validated before they can be used. Detaches a given shader from a given shader program.
Parameters
- id: index of the shader program
- sid: index of the shader
Return Values
none: This function has no return values.
Example Call
// demonstrates detaching a shader to a shader program
shader_program_detach(myshpr, mysh);
NOTOC