|
LMMS
|
#include <inline-display.h>
Public Attributes | |
| const LV2_Inline_Display_Image_Surface *(* | render )(LV2_Handle instance, uint32_t w, uint32_t h) |
Plugin Inline-Display Interface.
| const LV2_Inline_Display_Image_Surface *(* LV2_Inline_Display_Interface::render) (LV2_Handle instance, uint32_t w, uint32_t h) |
The render method. This is called by the host in the main GUI thread (non realtime, the context with access to graphics drawing APIs).
The data pointer is owned by the plugin and must be valid from the first call to render until cleanup.
The host specifies a maxium available area for the plugin to draw. the returned Image Surface contains the actual area which the plugin allocated.