-
Notifications
You must be signed in to change notification settings - Fork 0
Glsl_program_attach
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. Attaches a given shader to a given shader program.
- id: index of the shader program
- sid: index of the shader
none: This function has no return values.
// demonstrates attaching a shader to a shader program
shader_program_attach(myshpr, mysh);NOTOC
Category:Function:All
This is number 1