LiteFX 0.4.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
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.
 
virtual void setRectangle (const RectF &rectangle) noexcept=0
 Sets the rectangle that defines the scissor region.
 

Protected Member Functions

 IScissor () noexcept=default
 
 IScissor (IScissor &&) noexcept=default
 
 IScissor (const IScissor &)=default
 
IScissoroperator= (IScissor &&) noexcept=default
 
IScissoroperator= (const IScissor &)=default
 

Detailed Description

The interface of a scissor.

Constructor & Destructor Documentation

◆ IScissor() [1/3]

LiteFX::Rendering::IScissor::IScissor ( )
protecteddefaultnoexcept

◆ IScissor() [2/3]

LiteFX::Rendering::IScissor::IScissor ( IScissor && )
protecteddefaultnoexcept

◆ IScissor() [3/3]

LiteFX::Rendering::IScissor::IScissor ( const IScissor & )
protecteddefault

◆ ~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.

◆ operator=() [1/2]

IScissor & LiteFX::Rendering::IScissor::operator= ( const IScissor & )
protecteddefault

◆ operator=() [2/2]

IScissor & LiteFX::Rendering::IScissor::operator= ( IScissor && )
protecteddefaultnoexcept

◆ 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.