-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_set_wrap_ext
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets whether or not textures bound to the given sampler stage should repeat or clamp on its axes.
| Parameter | Data Type | Description |
|---|---|---|
| stage | int | index of the sampler stage to change |
| wrapu | boolean | whether to repeat or clamp on u |
| wrapv | boolean | whether to repeat or clamp on v |
| wrapw | boolean | whether to repeat or clamp on t |
void: This function does not return anything.
// demonstrates setting the texture wrapping
texture_set_wrap(0, true, true, true);
NOTOC
This is number 1