Class TextureFormatUtilities
A set of utilities to deal with texture formats.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
public static class TextureFormatUtilities
Methods
GetUncompressedRenderTextureFormat(Texture)
Returns a RenderTextureFormat compatible with the given texture's format.
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 |