Copyright | (c) Sven Panne 2018 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetEXTExternalBuffer :: MonadIO m => m Bool
- gl_EXT_external_buffer :: Bool
- glBufferStorageExternalEXT :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> GLeglClientBufferEXT -> GLbitfield -> m ()
- glNamedBufferStorageExternalEXT :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> GLeglClientBufferEXT -> GLbitfield -> m ()
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 #
:: MonadIO m | |
=> GLenum |
|
-> GLintptr |
|
-> GLsizeiptr |
|
-> GLeglClientBufferEXT |
|
-> GLbitfield |
|
-> m () |
glNamedBufferStorageExternalEXT Source #
:: MonadIO m | |
=> GLuint |
|
-> GLintptr |
|
-> GLsizeiptr |
|
-> GLeglClientBufferEXT |
|
-> GLbitfield |
|
-> m () |