Texture_set_wrap - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets whether or not the texture should repeat or clamp on its axis.

Parameters

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

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the texture clamping
texture_set_clamp(mytex, true, true, true);

NOTOC