-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_set_wrap
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets whether or not the texture should repeat or clamp on its axis.
| Parameter | Data Type | Description |
|---|---|---|
| texid | integer | index of the texture |
| repeatu | boolean | whether to repeat or clamp on u |
| repeatv | boolean | whether to repeat or clamp on v |
| repeatw | boolean | whether to repeat or clamp on w |
void: This function does not return anything.
// demonstrates setting the texture clamping
texture_set_clamp(mytex, true, true, true);
NOTOC
This is number 1