Version: 2017.1

RenderTexture.autoGenerateMips

切换到手册
public bool autoGenerateMips ;

描述

如果设置了该标志,则自动生成多级渐进纹理级别。

When a render texture is with mipmaps (useMipMap), then by default rendering into it generates all the mipmap levels. The mipmap generation happens after rendering into this render texture; when active render target is switched to some other render texture.

若要手动渲染到 Mip 级别,或控制生成多级渐进纹理的时机(通过 GenerateMips),请将该变量设置为 false。 默认值为 true。

另请参阅:useMipMapGenerateMips