Class TextureFormatUtilities
A set of utilities to deal with texture formats.
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public static class TextureFormatUtilities
Methods
GetUncompressedRenderTextureFormat(Texture)
Returns a
Declaration
public static RenderTextureFormat GetUncompressedRenderTextureFormat(Texture texture)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | A texture to get a compatible format from |
Returns
| Type | Description |
|---|---|
| RenderTextureFormat | A compatible render texture format |