unbind   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects2.xtm

Implementation

(bind-func unbind
  (lambda (tex:Texture* unit:i32)
    (glActiveTexture (+ GL_TEXTURE0 unit))
    (glBindTexture GL_TEXTURE_2D 0)
    (gl_print_error "couldn't unbind texture")
    void))


Back to Index

Similar Entries

  • unbind    xtlang
  • unbind    xtlang
  • unbind-func    macro
  • unbind_cube    xtlang
  • unbind_cube    xtlang