Class PostProcessResources
This asset is used to store references to shaders and other resources we might need at
runtime without having to use a Resources
folder. This allows for better memory management,
better dependency tracking and better interoperability with asset bundles.
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public sealed class PostProcessResources : ScriptableObject
Fields
blueNoise256
A set of 256x256, single-channel blue noise textures.
Declaration
public Texture2D[] blueNoise256
Field Value
Type | Description |
---|---|
Texture2D[] |
blueNoise64
A set of 64x64, single-channel blue noise textures.
Declaration
public Texture2D[] blueNoise64
Field Value
Type | Description |
---|---|
Texture2D[] |
computeShaders
All the compute shaders used by post-processing.
Declaration
public PostProcessResources.ComputeShaders computeShaders
Field Value
Type | Description |
---|---|
PostProcessResources.ComputeShaders |
shaders
All the shaders used by post-processing.
Declaration
public PostProcessResources.Shaders shaders
Field Value
Type | Description |
---|---|
PostProcessResources.Shaders |
smaaLuts
Lookup tables used by the sub-pixel morphological anti-aliasing effect.
Declaration
public PostProcessResources.SMAALuts smaaLuts
Field Value
Type | Description |
---|---|
PostProcessResources.SMAALuts |