LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::IScissor Class Referenceabstract

The interface of a scissor. More...

#include <rendering_api.hpp>

Inherited by LiteFX::Rendering::Scissor.

Public Member Functions

virtual ~IScissor () noexcept=default
 
virtual RectF getRectangle () const noexcept=0
 Gets the rectangle that defines the scissor region. More...
 
virtual void setRectangle (const RectF &rectangle) noexcept=0
 Sets the rectangle that defines the scissor region. More...
 

Detailed Description

The interface of a scissor.

Constructor & Destructor Documentation

◆ ~IScissor()

virtual LiteFX::Rendering::IScissor::~IScissor ( )
virtualdefaultnoexcept

Member Function Documentation

◆ getRectangle()

virtual RectF LiteFX::Rendering::IScissor::getRectangle ( ) const
pure virtualnoexcept

Gets the rectangle that defines the scissor region.

Returns
The rectangle that defines the scissor region.

Implemented in LiteFX::Rendering::Scissor.

◆ setRectangle()

virtual void LiteFX::Rendering::IScissor::setRectangle ( const RectF rectangle)
pure virtualnoexcept

Sets the rectangle that defines the scissor region.

Parameters
rectangleThe rectangle that defines the scissor region.</rectangle>

Implemented in LiteFX::Rendering::Scissor.