ImageResizeToPo2 Method |
Resizes the image to the nearest power of 2 for the width and height. If square is true then set width and height to be the same. New pixels are calculated using the interpolation mode defined via ImageInterpolation constants.
Namespace: Godot
public void ResizeToPo2( bool square = false, ImageInterpolation interpolation = ImageInterpolation.Bilinear )
[Missing <param name="square"/> documentation for "M:Godot.Image.ResizeToPo2(System.Boolean,Godot.Image.Interpolation)"]
[Missing <param name="interpolation"/> documentation for "M:Godot.Image.ResizeToPo2(System.Boolean,Godot.Image.Interpolation)"]