public void GenerateMips (RenderTexture rt);

参数

rt需要 Mipmap 生成的渲染纹理。

描述

生成渲染纹理的多级渐进纹理级别。

Use this function to manually re-generate mipmap levels of a render texture. The render texture has to have mipmaps (useMipMap set to true), and automatic mip generation turned off (autoGenerateMips set to false).

在某些平台上(最著名的是 D3D9),无法手动生成渲染纹理 Mip 级别;在这些情况下,此函数不执行任何操作。

另请参阅:useMipMapautoGenerateMips