Function TRAP::Graphics::RenderCommand::SetStencilPass#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetStencilPass(StencilOperation front, StencilOperation back, const Window &window = *TRAP::Application::GetWindow())#

Set operation for when stencil testing passes for the given window.

Remark

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

Parameters:
  • front – Stencil operation.

  • back – Stencil operation.

  • windowWindow to set stencil pass operation for. Default: Main Window.