Function TRAP::Graphics::RenderCommand::SetStencilMask#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetStencilMask(u8 read, u8 write, const Window &window = *TRAP::Application::GetWindow())#

Set stencil mask for the given window.

Remark

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

Parameters:
  • read – Bits to read/compare.

  • write – Bits to write/update.

  • windowWindow to set stencil mask for. Default: Main Window.