docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureFormatUtilities

    A set of utilities to deal with texture formats.

    Inheritance
    object
    TextureFormatUtilities
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)