SetViewport and SetScissor doc comments

pull/17/head
cosmonaut 2022-03-04 14:14:22 -08:00
parent 527f47436a
commit b5b0f35b50
1 changed files with 6 additions and 0 deletions

View File

@ -311,6 +311,9 @@ namespace MoonWorks.Graphics
);
}
/// <summary>
/// Sets the viewport. Only valid during a render pass.
/// </summary>
public void SetViewport(Viewport viewport)
{
Refresh.Refresh_SetViewport(
@ -320,6 +323,9 @@ namespace MoonWorks.Graphics
);
}
/// <summary>
/// Sets the scissor area. Only valid during a render pass.
/// </summary>
public void SetScissor(Rect scissor)
{
Refresh.Refresh_SetScissor(