GetComponentCount
Returns the number of components this format has.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
GetComponentCount(GraphicsFormat)
Returns the number of components this format has.
public static uint GetComponentCount(GraphicsFormat format)
Parameters
GraphicsFormat to use when retrieving the number of bits.
Returns
Type | Description |
|---|---|
| uint |
GetComponentCount(TextureFormat)
Returns the number of components this format has.
public static uint GetComponentCount(TextureFormat format)
Parameters
GraphicsFormat to use when retrieving the number of bits.
Returns
Type | Description |
|---|---|
| uint |