Gainput
v1.0.0
|
Interface for debug rendering of input device states. More...
#include <GainputDebugRenderer.h>
Public Member Functions | |
virtual | ~DebugRenderer () |
Empty virtual destructor. | |
virtual void | DrawCircle (float x, float y, float radius)=0 |
Called to draw a circle with the given radius. | |
virtual void | DrawLine (float x1, float y1, float x2, float y2)=0 |
Called to draw a line between the two given points. | |
virtual void | DrawText (float x, float y, const char *const text)=0 |
Called to draw some text at the given position. | |
Interface for debug rendering of input device states.
Coordinates and other measures passed to the interface's functions are in the range of 0.0f to 1.0f.
The functions are called as part InputManager::Update().