ImageGenerateMipmaps Method |
Generates mipmaps for the image. Mipmaps are precalculated and lower resolution copies of the image. Mipmaps are automatically used if the image needs to be scaled down when rendered. This improves image quality and the performance of the rendering. Returns an error if the image is compressed, in a custom format or if the image's width/height is 0.
Namespace: Godot
public Error GenerateMipmaps( bool renormalize = false )
[Missing <param name="renormalize"/> documentation for "M:Godot.Image.GenerateMipmaps(System.Boolean)"]
[Missing <returns> documentation for "M:Godot.Image.GenerateMipmaps(System.Boolean)"]