Version: 2022.2
言語: 日本語
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.