gpu_get_texrepeat


Description

With this function you can check to see whether texture repeating is enabled (returns true) or not (returns false). For more information on texture repeating, see the function gpu_set_texrepeat.


Syntax:

gpu_get_texrepeat();


Returns:

Boolean


Example:

if gpu_get_texrepeat()
   {
   gpu_set_texrepeat(false);
   }
else
   {
   gpu_set_texrepeat(true);
   }

The above code checks to see if texture repeating is on or off and switches it accordingly.


Back: GPU Functions
Next: gpu_get_texrepeat_ext
© Copyright YoYo Games Ltd. 2018 All Rights Reserved