picogl.backend.gl.api.shader.attach
Functions
|
Attaches a shader object to a shader program. This function is used as part |
Module Contents
- picogl.backend.gl.api.shader.attach.gl_attach_shader(shader_program: int, shader: int) None[source]
Attaches a shader object to a shader program. This function is used as part of the process to create a complete shader program by linking one or more compiled shader objects.
Parameters: shader_program: int
The handle of the shader program to which the shader will be attached.
- shader
The handle of the shader object to attach.
Returns: None