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

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

Graphics.GL.EXT.ExternalBuffer

Contents

Description

 

Synopsis

Extension Support

glGetEXTExternalBuffer :: MonadIO m => m Bool Source #

Is the EXT_external_buffer extension supported?

gl_EXT_external_buffer :: Bool Source #

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

Functions

glBufferStorageExternalEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLintptr

offset.

-> GLsizeiptr

size.

-> GLeglClientBufferEXT

clientBuffer.

-> GLbitfield

flags of type MapBufferUsageMask.

-> m () 

glNamedBufferStorageExternalEXT Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

size.

-> GLeglClientBufferEXT

clientBuffer.

-> GLbitfield

flags of type MapBufferUsageMask.

-> m ()