Function TRAP::Graphics::RenderCommand::SetCullMode#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetCullMode(CullMode cullMode, const Window &window = *TRAP::Application::GetWindow())#

Set cull mode for the given window.

Remark

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

Parameters:
  • cullMode – Cull mode.

  • windowWindow to set cull mode for. Default: Main Window.