Texture_set_wrap_ext - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Sets whether or not textures bound to the given sampler stage should repeat or clamp on its axes.
Parameters
| 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 |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting the texture wrapping
texture_set_wrap(0, true, true, true);
NOTOC