ComputeMipmapSize
Computes the memory size in bytes for a single mipmap.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
ComputeMipmapSize(int, int, GraphicsFormat)
Computes the memory size in bytes for a single mipmap.
public static uint ComputeMipmapSize(int width, int height, GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| uint |
ComputeMipmapSize(int, int, TextureFormat)
Computes the memory size in bytes for a single mipmap.
public static uint ComputeMipmapSize(int width, int height, TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| uint |
ComputeMipmapSize(int, int, int, GraphicsFormat)
Computes the memory size in bytes for a single mipmap.
public static uint ComputeMipmapSize(int width, int height, int depth, GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| uint |
ComputeMipmapSize(int, int, int, TextureFormat)
Computes the memory size in bytes for a single mipmap.
public static uint ComputeMipmapSize(int width, int height, int depth, TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| uint |