gpu_set_tex_min_mip


描述

With this function you can set 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_set_tex_min_mip(minmip);


参数 描述
minmip The minimum mipmap level to use


Returns:

N/A(无返回值)


例如:

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.