Function TRAP::Graphics::RenderCommand::SetClearStencil#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetClearStencil(u32 stencil = 0, const Window &window = *TRAP::Application::GetWindow())#

Set the clear stencil value for the given window.

Remark

Headless mode: This function is not available in headless mode.

Parameters:
  • stencil – New clear stencil value. Default: 0.

  • windowWindow to set clear stencil value for. Default: Main Window.