Class ScissorRectExperiment
Defined in File scissor-rect-experiment.h
Inheritance Relationships
Base Type
public gpa::playback::PipelineExperiment::Prefab
(Class PipelineExperiment::Prefab)
Class Documentation
-
class ScissorRectExperiment : public gpa::playback::PipelineExperiment::Prefab
Encapsulates the logic necessary to create a NxN scissor rect experiment based at the viewport origin.
Public Functions
-
ScissorRectExperiment()
Creates an instance of ScissorRectExperiment.
-
~ScissorRectExperiment()
Destroys this instance of ScissorRectExperiment.
-
bool operator!=(ScissorRectExperiment const &other) const
Gets a value indicating whether or not a given ScissorRectExperiment is inequal to this ScissorRectExperiment.
- Parameters
other -- The ScissorRectExperiment to check for inequality
- Returns
Whether or not the given ScissorRectExperiment is inequal to this ScissorRectExperiment
-
void AddScissorRect(const api_types::Rect2D &rect)
Adds scissor rect.
- Parameters
rect -- The scissor rect to be added
-
virtual BaseExperiment::Prefab::Impl const &GetImpl() const final override
Gets this ScissorRectExperiment's implementation object.
- Returns
This ScissorRectExperiment's implementation object
-
ScissorRectExperiment()