Added crude input API between platform layer and plugin. Added manual refresh to prevent CPU from blowing up. Added last rendered value to window title.
This commit is contained in:
@@ -19,4 +19,11 @@ struct plugin_offscreen_buffer
|
||||
int Pitch;
|
||||
};
|
||||
|
||||
struct plugin_input
|
||||
{
|
||||
uint32_t MouseX;
|
||||
uint32_t MouseY;
|
||||
bool MouseDown;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user