Class PostProcessUtils
Utility class for post processing effects.
Inherited Members
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 |
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 |
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. |