GraphicsFormatUtility.ComputeMipmapSize
Экспериментальный: это API экспериментально и может быть изменено или удалено в будущем.
Declaration
public static uint ComputeMipmapSize(int width, int height, Experimental.Rendering.GraphicsFormat format);public static uint ComputeMipmapSize(int width, int height, int depth, Experimental.Rendering.GraphicsFormat format);public static uint ComputeMipmapSize(int width, int height, TextureFormat format);public static uint ComputeMipmapSize(int width, int height, int depth, TextureFormat format);Описание
Вычисляет размер памяти в байтах для одного mipmap.