Version: 2022.1

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.