Version: 2021.3

Texture.GenerateAllMips

切换到手册
public static int GenerateAllMips ;

描述

Can be used with Texture constructors that take a mip count to indicate that all mips should be generated. The value of this field is -1.