{}!Google Tag Manager end}} Class PostProcessUtils | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Class PostProcessUtils

    Utility class for post processing effects.

    Inheritance
    Object
    PostProcessUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public static class PostProcessUtils

    Methods

    ConfigureDithering(PostProcessData, Int32, Int32, Int32, 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.

    Int32 index

    The current array index to the Blue noise textures.

    Int32 cameraPixelWidth

    The camera pixel width.

    Int32 cameraPixelHeight

    The camera pixel height.

    Material material

    The material used with the dithering effect.

    Returns
    Type Description
    Int32

    The new array index to the Blue noise textures.

    ConfigureFilmGrain(PostProcessData, FilmGrain, Int32, Int32, 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.

    Int32 cameraPixelWidth

    The camera pixel width.

    Int32 cameraPixelHeight

    The camera pixel height.

    Material material

    The material used with the dithering effect.

    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)