SPARK
0.1.0
A general purpose game engine written in C++.
|
Implementation of IScissor. More...
#include <Scissor.h>
Classes | |
struct | Impl |
Public Member Functions | |
Scissor (const math::Rectangle< float > &rectangle={}) noexcept | |
Initializes a new scissor. | |
Scissor (const Scissor &other)=delete | |
Scissor (Scissor &&other) noexcept=delete | |
Scissor & | operator= (const Scissor &other)=delete |
Scissor & | operator= (Scissor &&other) noexcept=delete |
math::Rectangle< float > | rectangle () const noexcept override |
Get the rectangle defining the scissor region. | |
void | setRectangle (const math::Rectangle< float > &rectangle) noexcept override |
Set the rectangle defining the scissor region. | |
Implementation of IScissor.
|
explicitnoexcept |
Initializes a new scissor.
rectangle | The rectangle defining the scissor region. |
|
nodiscardoverridevirtualnoexcept |
Get the rectangle defining the scissor region.
Implements spark::render::IScissor.
|
overridevirtualnoexcept |
Set the rectangle defining the scissor region.
rectangle | A math::Rectangle<float> defining the scissor region. |
Implements spark::render::IScissor.