Function TRAP::Graphics::RenderCommand::MSAAResolvePass#

Function Documentation#

void TRAP::Graphics::RenderCommand::MSAAResolvePass(const RenderTarget &source, const RenderTarget &destination, const Window &window = *TRAP::Application::GetWindow())#

Resolve an MSAA render target to a non MSAA render target. Needed to transfer MSAA rendered image data to a presentable non-MSAA target.

Remark

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

Note

source and destination must be in ResourceState::RenderTarget resource state.

Parameters:
  • source – Source MSAA render target to resolve.

  • destination – Destination non MSAA render target to resolve into.

  • windowWindow to do the resolve pass on.