Function TRAP::Graphics::RenderCommand::SetDepthFail#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetDepthFail(StencilOperation front, StencilOperation back, const Window &window = *TRAP::Application::GetWindow())#

Set operation for when depth testing fails for the given window.

Remark

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

Parameters:
  • front – Depth/Stencil operation.

  • back – Depth/Stencil operation.

  • windowWindow to set depth fail operation for. Default: Main Window.