-
Notifications
You must be signed in to change notification settings - Fork 86
glCoreTextureUpdate
Chris Petersen edited this page Oct 16, 2014
·
1 revision
glCoreTextureUpdate updates texture data (for dynamic textures). To use this, first modify data returned with glCoreTextureData
Parameter | Description |
---|---|
t | texture to be updated |
Example 1: Clear a texture drawing area.
(define (glgui-drawingarea-clear g wgt)
(let ((color (glgui-widget-get g wgt 'color))
(t (glgui-widget-get g wgt 'data)))
(let loop ((i 0))
(if (< i (length color)) (begin
(u8vector-fill! (table-ref t (fx+ i 100)) 0) ;;data
(glCoreTextureUpdate (table-ref t i)) ;;texture
(loop (fx+ i 1)))))))
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip