GetBlockSize
Returns the memory size in bytes of a texel block.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
GetBlockSize(GraphicsFormat)
Returns the memory size in bytes of a texel block.
public static uint GetBlockSize(GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| uint |
GetBlockSize(TextureFormat)
Returns the memory size in bytes of a texel block.
public static uint GetBlockSize(TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| uint |