Version: 2021.1
언어: 한국어
public void GenerateMips (RenderTexture rt);
public void GenerateMips (Rendering.RenderTargetIdentifier rt);

파라미터

rt The render texture requiring mipmaps generation.

설명

Generate mipmap levels of a render texture.

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).

On some platforms (most notably, D3D9), there is no way to manually generate render texture mip levels; in these cases this function does nothing.

See Also: useMipMap, autoGenerateMips.