load-tex   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/particles.xtm

Implementation

(bind-func load-tex
  (lambda (id)
    (let ((t (gl_load_image "assets/images/star.png" id)))
      (set! texture1 t)
      (printf "texture: %d\n" texture1)
      void)))


Back to Index

Similar Entries

  • load-tex    xtlang