Class ShadingRateExperiment

Inheritance Relationships

Base Type

Class Documentation

class ShadingRateExperiment : public gpa::playback::PipelineExperiment::Prefab

Encapsulates the logic necessary to create a NxN scissor rect experiment based at the viewport origin.

Public Functions

ShadingRateExperiment()
~ShadingRateExperiment()
void SetDimension(uint8_t const width, uint8_t const height)
Parameters
  • width -- the shading rate should reduce horizontal resolution

  • height -- the shading rate should reduce vertical resolution

void SetShadingCombinder(api_types::ShadingRateCombiner const shadingRateCombinerPrimitive, api_types::ShadingRateCombiner const shadingRateCombinerAttachment)
Parameters
  • shadingRateCombinerPrimitive -- the first combier

  • shadingRateCombinerAttachment -- the second combier

virtual BaseExperiment::Prefab::Impl const &GetImpl() const final override

Gets this ShadingRateExperiment's implementation object.

Returns

This ShadingRateExperiment's implementation object