Function TRAP::Graphics::RenderCommand::SetDepthTesting#

Function Documentation#

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

Enable or disable depth testing for the given window.

Remark

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

Parameters:
  • enabled – Enable or disable depth testing.

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