Skip to content

TickRecorder

interludesoftware.tick

Interlude.Tick

TickRecorder Class

public abstract class TickRecorder

Inheritance UnityEngine.MonoBehaviour → TickRecorder

Derived
BaseGameUI

Methods

TickRecorder.RecordInto(CommandBuffer) Method

Records draw commands into target for the current frame.

public abstract void RecordInto(CommandBuffer target);

Parameters

target UnityEngine.Rendering.CommandBuffer

TickRecorder.SetRenderTarget(RenderTargetIdentifier, Vector2Int, bool) Method

Tells the recorder which render target subsequent RecordInto(CommandBuffer) calls will draw into, the target's pixel size, and whether the target is off-screen (a RenderTexture, post-process intermediate, etc.) rather than the camera's backbuffer. The off-screen flag drives a Y-flip cancellation in the shaders so UI lands the right way up on D3D-like APIs.

public virtual void SetRenderTarget(RenderTargetIdentifier target, Vector2Int size, bool isOffscreen);

Parameters

target UnityEngine.Rendering.RenderTargetIdentifier

size UnityEngine.Vector2Int

isOffscreen System.Boolean