[ContextMenu(nameof(Clear))]
private void Clear()
{
if (rt != null)
{
var cmd = new CommandBuffer();
cmd.SetRenderTarget(rt);
cmd.ClearRenderTarget(true, true, Color.clear);
Graphics.ExecuteCommandBuffer(cmd);
cmd.Dispose();
}
}