MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / timerEvent

Function timerEvent

cpp/0_Introduction/simpleCUDA2GL/main.cpp:381–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void timerEvent(int value)
382{
383 glutPostRedisplay();
384 glutTimerFunc(REFRESH_DELAY, timerEvent, 0);
385}
386
387////////////////////////////////////////////////////////////////////////////////
388//! Keyboard events handler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected