Function TRAP::Graphics::RenderCommand::GetAntiAliasing#

Function Documentation#

void TRAP::Graphics::RenderCommand::GetAntiAliasing(AntiAliasing &outAntiAliasing, SampleCount &outSampleCount, const Window &window = *TRAP::Application::GetWindow()) noexcept#

Retrieve the currently used anti aliasing method and the sample count.

Remark

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

Parameters:
  • outAntiAliasing – Output: Used anti aliasing method.

  • outSampleCount – Output: Used sample count.

  • windowWindow to get anti aliasing from. Default: Main Window.