Class TextureFormatUtilities
A set of utilities to deal with texture formats.
Inheritance
System.Object
TextureFormatUtilities
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |