ExampleApp::Viewport
struct · #include <rayrai/example_common.hpp>
The viewer image of a frame and the pointer over it (see beginViewport()).
Public attributes
origin
cpp
ImVec2 originsize
cpp
ImVec2 sizeWhere the image goes, in window points.
width
cpp
int widthheight
cpp
int heightIts drawable pixels.
x
cpp
double xy
cpp
double yThe pointer, in drawable pixels, y down.
hovered
cpp
bool hoveredThe pointer is over the image and not over a panel.