gpu_get_texfilter


Description

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.


Syntax:

gpu_get_texfilter();


Returns:

Boolean


Example:

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.


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