Function TRAP::Graphics::RenderCommand::SetPrimitiveTopology#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetPrimitiveTopology(PrimitiveTopology topology, const Window &window = *TRAP::Application::GetWindow())#

Set primitive topology for the given window.

Remark

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

Parameters:
  • topology – Primitive topology.

  • windowWindow to set primitive topology for. Default: Main Window.