docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PostProcessUtils

    Utility class for post processing effects.

    Inheritance
    object
    PostProcessUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public static class PostProcessUtils

    Methods

    ConfigureDithering(PostProcessData, int, int, int, Material)

    Configures the blue noise dithering used.

    Declaration
    public static int ConfigureDithering(PostProcessData data, int index, int cameraPixelWidth, int cameraPixelHeight, Material material)
    Parameters
    Type Name Description
    PostProcessData data

    The PostProcessData resources to use.

    int index

    The current array index to the Blue noise textures.

    int cameraPixelWidth

    The camera pixel width.

    int cameraPixelHeight

    The camera pixel height.

    Material material

    The material used with the dithering effect.

    Returns
    Type Description
    int

    The new array index to the Blue noise textures.

    ConfigureFilmGrain(PostProcessData, FilmGrain, int, int, Material)

    Configures the Film grain shader parameters.

    Declaration
    public static void ConfigureFilmGrain(PostProcessData data, FilmGrain settings, int cameraPixelWidth, int cameraPixelHeight, Material material)
    Parameters
    Type Name Description
    PostProcessData data

    The PostProcessData resources to use.

    FilmGrain settings

    The Film Grain settings.

    int cameraPixelWidth

    The camera pixel width.

    int cameraPixelHeight

    The camera pixel height.

    Material material

    The material used with the dithering effect.

    In This Article
    Back to top
    Copyright © 2024 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)