/// <summary> /// Computes the scaled size of a texture that has the given width and height /// </summary> /// <param name="width"></param> /// <param name="height"></param> /// <returns></returns> public (uint, uint) ComputeScaledSize(uint width, uint height) { return(ImageConversionUtils.ComputeScaledSize(width, height, _powerOf2Textures.Value, _maxSize.Value, _roundDown.Value, _picMip.Value)); }
/// <summary> /// Computes the scaled size of a texture that has the given width and height /// </summary> /// <param name="width"></param> /// <param name="height"></param> /// <returns></returns> public (int, int) ComputeScaledSize(int width, int height) { return(ImageConversionUtils.ComputeScaledSize(width, height, _powerOf2Textures.Boolean, _maxSize.Integer, _roundDown.Integer, _picMip.Integer)); }