Function TRAP::Graphics::RenderCommand::SetClearDepth#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetClearDepth(f32 depth = 0.0f, const Window &window = *TRAP::Application::GetWindow())#

Set the clear depth value for the given window.

Remark

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

Parameters:
  • depth – New clear depth value (range [0,1]). Default: 1.

  • windowWindow to set clear depth value for. Default: Main Window.