Unity 6.3
0 онлайн 44 гостей 3 в системе
Вход

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.