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.