From b5b0f35b50d7460a2df3d974b34e5a8da8e16d83 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 4 Mar 2022 14:14:22 -0800 Subject: [PATCH] SetViewport and SetScissor doc comments --- src/Graphics/CommandBuffer.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index 2f1a7529..f9a92b06 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -311,6 +311,9 @@ namespace MoonWorks.Graphics ); } + /// + /// Sets the viewport. Only valid during a render pass. + /// public void SetViewport(Viewport viewport) { Refresh.Refresh_SetViewport( @@ -320,6 +323,9 @@ namespace MoonWorks.Graphics ); } + /// + /// Sets the scissor area. Only valid during a render pass. + /// public void SetScissor(Rect scissor) { Refresh.Refresh_SetScissor(