Function TRAP::Graphics::RenderCommand::SetDepthWriting#

Function Documentation#

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

Enable or disable depth writing for the given window.

Remark

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

Parameters:
  • enabled – Enable or disable depth writing.

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