diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index 2f1a752..f9a92b0 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(