OpenGLRaw-3.2.7.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2017
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.Sync

Contents

Description

 

Synopsis

Extension Support

glGetARBSync :: MonadIO m => m Bool Source #

Is the ARB_sync extension supported?

gl_ARB_sync :: Bool Source #

Is the ARB_sync extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBSync in those cases instead.

Enums

Functions

glClientWaitSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLbitfield

flags of type SyncObjectMask.

-> GLuint64

timeout.

-> m GLenum

of type SyncStatus.

Manual pages for OpenGL 3.x or OpenGL 4.x.

glDeleteSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glFenceSync Source #

Arguments

:: MonadIO m 
=> GLenum

condition of type SyncCondition.

-> GLbitfield

flags.

-> m GLsync

of type sync.

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGetInteger64v Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLint64

data pointing to COMPSIZE(pname) elements of type GLint64.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGetSynciv Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLenum

pname of type SyncParameterName.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

values pointing to bufSize elements of type GLint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glIsSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> m GLboolean

of type Boolean.

Manual pages for OpenGL 3.x or OpenGL 4.x.

glWaitSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLbitfield

flags.

-> GLuint64

timeout.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.