Vuo  0.7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
VuoDisplayRefresh.h File Reference

Description

VuoDisplayRefresh interface.

Typedefs

typedef void * VuoDisplayRefresh
 A state object for firing display refresh events.
 

Functions

VuoDisplayRefresh VuoDisplayRefresh_make (void *context)
 Creates a display refresh trigger instance.
 
void VuoDisplayRefresh_enableTriggers (VuoDisplayRefresh dr, void(*requestedFrameTrigger)(VuoReal), void(*requestedFrameTriggerWithContext)(VuoReal, void *context))
 Starts firing display refresh events.
 
void VuoDisplayRefresh_disableTriggers (VuoDisplayRefresh dr)
 After this function returns, this VuoDisplayRefresh instance will no longer fire events.
 

Typedef Documentation

typedef void* VuoDisplayRefresh

A state object for firing display refresh events.

Function Documentation

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(*)(VuoReal requestedFrameTrigger,
void(*)(VuoReal, void *context)  requestedFrameTriggerWithContext 
)

Starts firing display refresh events.

See Also
VuoDisplayRefreshInternal

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.

Parameters
contextSpecifies custom contextual data to be passed to the requestedFrameSendoff callback (see VuoDisplayRefreshInternal)