private void PlatformSetRenderTargetDescriptor(RenderTarget renderTargetView, LoadAction loadAction, ColorRgba clearColor) { var colorAttachment = DeviceDescriptor.ColorAttachments[0]; colorAttachment.Texture = renderTargetView.Texture; colorAttachment.LoadAction = loadAction.ToMTLLoadAction(); colorAttachment.ClearColor = clearColor.ToMTLClearColor(); }