-
Notifications
You must be signed in to change notification settings - Fork 86
glCoreTextureCreate
Chris Petersen edited this page Oct 16, 2014
·
1 revision
glCoreTextureCreate creates a new texture. The size of data in relation to w*h determines if the texture will be an alpha channel, RGB colors, or RGBA colors+alpha.
Parameter | Description |
---|---|
w | Texture width |
h | Texture height |
data | u8vector with data points. |
aux | Optional: Used if GL_CLAMP is not desired |
Example 1: The definition of glgui:box - a 4x4 full opacity texture.
(define glgui:box (glCoreTextureCreate 4 4 (make-u8vector 16 #xff)))
-
- 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