Vuo
0.5.5
|
VuoDisplayRefresh implementation.
Classes | |
struct | VuoDisplayRefreshInternal |
Context data for VuoDisplayRefresh_displayLinkCallback . More... | |
Functions | |
VuoDisplayRefresh | VuoDisplayRefresh_make (void *context) |
Creates a display refresh trigger instance. | |
void | VuoDisplayRefresh_enableTriggers (VuoDisplayRefresh dr, void(*requestedFrameTrigger)(VuoFrameRequest), void(*requestedFrameTriggerWithContext)(VuoFrameRequest, void *context)) |
Starts firing display refresh events. | |
void | VuoDisplayRefresh_disableTriggers (VuoDisplayRefresh dr) |
After this function returns, this VuoDisplayRefresh instance will no longer fire events. | |
void VuoDisplayRefresh_disableTriggers | ( | VuoDisplayRefresh | dr | ) |
After this function returns, this VuoDisplayRefresh
instance will no longer fire events.
This function may be called from any thread.
void VuoDisplayRefresh_enableTriggers | ( | VuoDisplayRefresh | dr, |
void(*)(VuoFrameRequest) | requestedFrameTrigger, | ||
void(*)(VuoFrameRequest, void *context) | requestedFrameTriggerWithContext | ||
) |
Starts firing display refresh events.
This function may be called from any thread.
VuoDisplayRefresh VuoDisplayRefresh_make | ( | void * | context | ) |
Creates a display refresh trigger instance.
This function may be called from any thread.
context | Specifies custom contextual data to be passed to the requestedFrameSendoff callback (see VuoDisplayRefreshInternal) |