gpu_get_tex_min_mip


描述

With this function you can get the minimum mipmap level which is currently used, where a value of 0 is the highest resolution, 1 is to use the first mipmap, 2 is the second etc...


语法:

gpu_get_tex_min_mip();


返回:

Real (default: 0)


例如:

if gpu_get_tex_min_mip() != 0
    {
    gpu_set_tex_min_mip(0);
    }

The above code will check the current minimum mipmap level and if it is not 0 it is set to 0.