docs.unity.cn
    Show / Hide Table of Contents

    Class TextureFormatUtilities

    A set of utilities to deal with texture formats.

    Inheritance
    Object
    TextureFormatUtilities
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    public static class TextureFormatUtilities : object

    Methods

    GetUncompressedRenderTextureFormat(Texture)

    Returns a 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

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use