Class PostProcessEffectRenderer
The base abstract class for all effect renderer types. If you're writing your own effect you should rather use PostProcessEffectRenderer<T>.
Inheritance
System.Object
PostProcessEffectRenderer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public abstract class PostProcessEffectRenderer
Fields
m_ResetHistory
This member is set to true
when ResetHistory() is
called by the user to reset temporal effects and other history-based effects.
Declaration
protected bool m_ResetHistory
Field Value
Type | Description |
---|---|
System.Boolean |
Methods
GetCameraFlags()
Override this method if your renderer needs access to any of the buffers defined in
Declaration
public virtual DepthTextureMode GetCameraFlags()
Returns
Type | Description |
---|---|
DepthTextureMode | The currently set depth texture modes |
Init()
Called when the renderer is created and its associated settings have been set.
Declaration
public virtual void Init()
See Also
Release()
Override this method to release any resource allocated by your renderer.
Declaration
public virtual void Release()
Render(PostProcessRenderContext)
The render method called by PostProcessLayer when the effect is rendered.
Declaration
public abstract void Render(PostProcessRenderContext context)
Parameters
Type | Name | Description |
---|---|---|
PostProcessRenderContext | context | A context object |
ResetHistory()
Resets the history state for this renderer. This is automatically called when ResetHistory() is called by the user.
Declaration
public virtual void ResetHistory()