Function TRAP::Graphics::RenderCommand::SetDepthBias#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetDepthBias(i32 bias, const Window &window = *TRAP::Application::GetWindow())#

Set depth bias constant factor for the given window.

Remark

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

Parameters:
  • bias – Depth bias constant factor.

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