-
Notifications
You must be signed in to change notification settings - Fork 0
Glsl_program_use
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. Applies a given shader to the current rendering context that will be used on any further draw calls.
- id: index of the shader program
none: This function has no return values.
// demonstrates setting a shader to be used in subsequent draw calls
shader_program_use(mysh);NOTOC
Category:Function:All
This is number 1