Skip to content

raisin::ScopedViewport ​

class · #include <rayrai/GlStateGuard.hpp>

RAII guard for glViewport.

Constructors & destructor ​

ScopedViewport ​

cpp
ScopedViewport(int x, int y, int width, int height)

Parameters

ParameterDescription
xLeft.
yBottom.
widthWidth.
heightHeight.

~ScopedViewport ​

cpp
~ScopedViewport()

RaiSim — physics for robotics and AI.