raisin::ScopedClearColor
class · #include <rayrai/GlStateGuard.hpp>
RAII guard for glClearColor.
Constructors & destructor
ScopedClearColor
cpp
ScopedClearColor(float red, float green, float blue, float alpha)Parameters
| Parameter | Description |
|---|---|
red | Red. |
green | Green. |
blue | Blue. |
alpha | Alpha. |
~ScopedClearColor
cpp
~ScopedClearColor()