Function TRAP::Graphics::RenderCommand::SetDepthBiasSlopeFactor#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetDepthBiasSlopeFactor(f32 slopeFactor, const Window &window = *TRAP::Application::GetWindow())#

Set depth bias slope factor for the given window.

Remark

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

Parameters:
  • slopeFactor – Depth bias slope factor.

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