Function TRAP::Graphics::RenderCommand::SetStencilTesting#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetStencilTesting(bool enabled, const Window &window = *TRAP::Application::GetWindow())#

Enable or disable stencil testing for the given window.

Remark

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

Parameters:
  • enabled – Enable or disable stencil testing.

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