Function TRAP::Graphics::RenderCommand::SetShadingRate(Ref<RenderTarget>, const Window&)#
Function Documentation#
-
void TRAP::Graphics::RenderCommand::SetShadingRate(Ref<RenderTarget> texture, const Window &window = *TRAP::Application::GetWindow())#
Set the pipeline fragment shading rate via texture.
Remark
Headless mode: This function is not available in headless mode.
Note
The texture must be in ResourceState::ShadingRateSource resource state.