#include <Sync.h>
|
| ~Sync () |
|
GLenum | clientWaitSync (GLbitfield flags=GL_SYNC_FLUSH_COMMANDS_BIT, GLuint64 timeoutNanoseconds=0) |
|
void | waitSync (GLbitfield flags=0, GLuint64 timeout=GL_TIMEOUT_IGNORED) |
|
GLsync | getObject () |
|
|
static SyncRef | create (GLenum condition=GL_SYNC_GPU_COMMANDS_COMPLETE, GLbitfield flags=0) |
|
|
| Sync (GLenum condition, GLbitfield flags) |
|
cinder::gl::Sync::~Sync |
( |
| ) |
|
cinder::gl::Sync::Sync |
( |
GLenum |
condition, |
|
|
GLbitfield |
flags |
|
) |
| |
|
protected |
SyncRef cinder::gl::Sync::create |
( |
GLenum |
condition = GL_SYNC_GPU_COMMANDS_COMPLETE , |
|
|
GLbitfield |
flags = 0 |
|
) |
| |
|
static |
Analogous to glFenceSync().
GLenum cinder::gl::Sync::clientWaitSync |
( |
GLbitfield |
flags = GL_SYNC_FLUSH_COMMANDS_BIT , |
|
|
GLuint64 |
timeoutNanoseconds = 0 |
|
) |
| |
Analogous to glClientWaitSync(). Returns GL_ALREADY_SIGNALED
, GL_TIMEOUT_EXPIRED
, GL_CONDITION_SATISFIED
, or GL_WAIT_FAILED
.
void cinder::gl::Sync::waitSync |
( |
GLbitfield |
flags = 0 , |
|
|
GLuint64 |
timeout = GL_TIMEOUT_IGNORED |
|
) |
| |
Analogous to glWaitSync(). As of this writing flags and timeout must be their default values, 0
and GL_TIMEOUT_IGNORED
.
GLsync cinder::gl::Sync::getObject |
( |
| ) |
|
Returns the raw OpenGL Sync Object.
GLsync cinder::gl::Sync::mSync |
|
protected |
The documentation for this class was generated from the following files: