gpu_set_tex_max_aniso


描述

With this function you can set the current maximum level of anisotropy when using the tf_anisotropic filter mode (see gpu_get_tex_mip_filter() for more information). The input value must range between 1 and 16.


语法:

gpu_set_tex_max_aniso(maxaniso);


参数 描述
maxaniso The maximum level for anisotropic filtering (default: 16)


返回:

N/A(无返回值)


例如:

if gpu_get_tex_max_aniso() != 8
    {
    gpu_set_tex_max_aniso(8);
    }

The above code will check the current maximum anisotropic filtering level and if it is not 8 it is set to 8.