gpu_get_texfilter


描述

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


语法:

gpu_get_texfilter();


Returns:

Boolean


例如:

if gpu_get_texfilter()
   {
   gpu_set_texfilter(false);
   }
else
   {
   gpu_set_texfilter(true);
   }

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


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