ComputeMipmapSize
Computes the memory size in bytes for a single mipmap.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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 |