gpu_get_texrepeat


描述

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.


语法:

gpu_get_texrepeat();


返回:

Boolean(布尔值)


例如:

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.


上一页: GPU Functions
下一页: gpu_get_texrepeat_ext
© Copyright YoYo Games Ltd. 2018 All Rights Reserved