Vuo  2.0.0
Public Attributes | List of all members
VuoDisplayRefreshInternal Struct Reference

Description

Context data for VuoDisplayRefresh_displayLinkCallback.

Definition at line 26 of file VuoDisplayRefresh.c.

Public Attributes

void(* requestedFrameTrigger )(VuoReal)
 The trigger function to be fired when the display link wants the application to output a frame. May be NULL. More...
 
void(* requestedFrameTriggerWithContext )(VuoReal, void *context)
 The trigger function to be fired when the display link wants the application to output a frame. May be NULL. More...
 
void * triggerContext
 Custom contextual data to be passed to requestedFrameTriggerWithContext. More...
 
bool firstRequest
 Is this the first time the display link callback has been invoked? More...
 
int64_t initialTime
 The output time for which the display link was first invoked. More...
 
VuoInteger frameCount
 The nubmer of frames requested so far. More...
 
CVDisplayLinkRef displayLink
 The display link, created when VuoDisplayRefresh_enableTriggers is called. More...
 
bool displayLinkCancelRequested
 True if the displayLink should cancel next refresh. More...
 
dispatch_semaphore_t displayLinkCanceledAndCompleted
 Signaled after the last displayLinkCallback has completed during cancellation. More...
 

Member Data Documentation

◆ displayLink

CVDisplayLinkRef VuoDisplayRefreshInternal::displayLink

The display link, created when VuoDisplayRefresh_enableTriggers is called.

Definition at line 36 of file VuoDisplayRefresh.c.

◆ displayLinkCanceledAndCompleted

dispatch_semaphore_t VuoDisplayRefreshInternal::displayLinkCanceledAndCompleted

Signaled after the last displayLinkCallback has completed during cancellation.

Definition at line 38 of file VuoDisplayRefresh.c.

◆ displayLinkCancelRequested

bool VuoDisplayRefreshInternal::displayLinkCancelRequested

True if the displayLink should cancel next refresh.

Definition at line 37 of file VuoDisplayRefresh.c.

◆ firstRequest

bool VuoDisplayRefreshInternal::firstRequest

Is this the first time the display link callback has been invoked?

Definition at line 32 of file VuoDisplayRefresh.c.

◆ frameCount

VuoInteger VuoDisplayRefreshInternal::frameCount

The nubmer of frames requested so far.

Definition at line 34 of file VuoDisplayRefresh.c.

◆ initialTime

int64_t VuoDisplayRefreshInternal::initialTime

The output time for which the display link was first invoked.

Definition at line 33 of file VuoDisplayRefresh.c.

◆ requestedFrameTrigger

void(* VuoDisplayRefreshInternal::requestedFrameTrigger) (VuoReal)

The trigger function to be fired when the display link wants the application to output a frame. May be NULL.

Definition at line 28 of file VuoDisplayRefresh.c.

◆ requestedFrameTriggerWithContext

void(* VuoDisplayRefreshInternal::requestedFrameTriggerWithContext) (VuoReal, void *context)

The trigger function to be fired when the display link wants the application to output a frame. May be NULL.

Definition at line 29 of file VuoDisplayRefresh.c.

◆ triggerContext

void* VuoDisplayRefreshInternal::triggerContext

Custom contextual data to be passed to requestedFrameTriggerWithContext.

Definition at line 30 of file VuoDisplayRefresh.c.


The documentation for this struct was generated from the following file: