gl:shader-source

(gl:shader-source opengl shader {string || nsstring}


Description:

Attach source-string to shader


Arguments:

         opengl -- opengl instance

string|nsstring -- a single scheme string or an nsstring

         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