Function TRAP::Graphics::RenderCommand::SetShadingRate(ShadingRate, ShadingRateCombiner, ShadingRateCombiner, const Window&)#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetShadingRate(ShadingRate shadingRate, ShadingRateCombiner postRasterizerRate, ShadingRateCombiner finalRate, const Window &window = *TRAP::Application::GetWindow())#

Set the pipeline fragment shading rate and combiner operation for the command buffer.

Remark

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

Parameters:
  • shadingRate – Shading rate to use.

  • postRasterizerRate – Shading rate combiner to use.

  • finalRate – Shading rate combiner to use.

  • windowWindow to set shading rate for. Default: Main Window.