Texture.GenerateAllMips

Switch to Manual
public static int GenerateAllMips ;

Description

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.