Function TRAP::Graphics::RenderCommand::SetStencilFunction#

Function Documentation#

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

Set stencil function for the given window.

Remark

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

Parameters:
  • front – Compare mode.

  • back – Compare mode.

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