Class Monitor
The base class for all debug monitors.
Namespace: UnityEngine.Rendering.PostProcessing
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(Int32, Int32)
Validates the output texture.
Declaration
protected void CheckOutput(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | The output width. |
Int32 | 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 |
---|---|
Boolean |
|