gl:attach-shader

(gl:attach-shader opengl program shader


Description:

Attach shader to program


Arguments:

         opengl -- opengl instance

        program -- the program (index integer number)

         shader -- the shader (index integer number)


Returns: boolean


Related: gl:create-shader gl:compile-shader gl:shader-source gl:detach-shader gl:attach-shader 


Examples:



Back to index