Class Monitor
The base class for all debug monitors.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
public abstract class Monitor
Properties
output
The target texture to render this monitor to.
Declaration
public RenderTexture output { get; protected set; }
Property Value
Type | Description |
---|---|
RenderTexture |
Methods
CheckOutput(int, int)
Validates the output texture.
Declaration
protected void CheckOutput(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | The output width. |
int | height | The output height. |
IsRequestedAndSupported(PostProcessRenderContext)
Checks if a monitor is supported and should be rendered.
Declaration
public bool IsRequestedAndSupported(PostProcessRenderContext context)
Parameters
Type | Name | Description |
---|---|---|
PostProcessRenderContext | context | The current post-processing context. |
Returns
Type | Description |
---|---|
bool |
|