raisin::ScopedScissor
class · #include <rayrai/GlStateGuard.hpp>
RAII guard that enables the scissor test with a box and restores the previous test state and box.
Constructors & destructor
ScopedScissor
cpp
ScopedScissor(int x, int y, int width, int height)Parameters
| Parameter | Description |
|---|---|
x | Left. |
y | Bottom. |
width | Width. |
height | Height. |
cpp
ScopedScissor(const ScopedScissor &) = delete~ScopedScissor
cpp
~ScopedScissor()Public member functions
operator=
cpp
ScopedScissor &operator=(const ScopedScissor &) = delete