TickRecorder
interludesoftware.tick¶
Interlude.Tick¶
TickRecorder Class¶
Inheritance UnityEngine.MonoBehaviour → TickRecorder
Derived
↳ BaseGameUI
Methods¶
TickRecorder.RecordInto(CommandBuffer) Method¶
Records draw commands into target for the current frame.
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
isOffscreen System.Boolean