unset_attribute   xtlang


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

Implementation

(bind-func unset_attribute
  (lambda (vao index)
    (glBindVertexArray (id vao))
    (aset! (attribs vao) index #f)
    (aset! (buffers vao) index null)
    (glDisableVertexAttribArray index)
    (glVertexAttribDivisor index 0)
    (glBindVertexArray 0)
    void))


Back to Index

Similar Entries