-
Notifications
You must be signed in to change notification settings - Fork 0
Glsl_program_validate
hpgDesigns edited this page Aug 8, 2021
·
1 revision
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. Tells a given shader to program to validate and returns whether it was successful.
- id: index of the shader program
bool: Returns (true or false) whether or not the shader program was able to successfully link.
// demonstrates telling a given shader program to validate
shader_program_validate(myshpr);NOTOC
Category:Function:All
This is number 1