gl:bind-texture

(gl:bind-texture opengl target texture)


Description:

sets the currently active texture


Arguments:

         target -- target texture type (*gl:texture-2d*)

         opengl -- opengl instance

        texture -- the texture number as returned by gl:gen-textures


Returns: boolean


Related: gl:gen-textures gl:tex-image-2d 


Examples:



Back to index