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.MemoryObject

Contents

Description

 

Synopsis

Extension Support

glGetEXTMemoryObject :: MonadIO m => m Bool Source #

Is the EXT_memory_object extension supported?

gl_EXT_memory_object :: Bool Source #

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

Enums

Functions

glBufferStorageMemEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLsizeiptr

size of type BufferSize.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glCreateMemoryObjectsEXT Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

memoryObjects.

-> m () 

glDeleteMemoryObjectsEXT Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

memoryObjects pointing to n elements of type GLuint.

-> m () 

glGetMemoryObjectParameterivEXT Source #

Arguments

:: MonadIO m 
=> GLuint

memoryObject.

-> GLenum

pname of type MemoryObjectParameterName.

-> Ptr GLint

params.

-> m () 

glGetUnsignedBytei_vEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLubyte

data pointing to COMPSIZE(target) elements of type GLubyte.

-> m () 

glGetUnsignedBytevEXT Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLubyte

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

-> m () 

glIsMemoryObjectEXT Source #

Arguments

:: MonadIO m 
=> GLuint

memoryObject.

-> m GLboolean

of type Boolean.

glMemoryObjectParameterivEXT Source #

Arguments

:: MonadIO m 
=> GLuint

memoryObject.

-> GLenum

pname of type MemoryObjectParameterName.

-> Ptr GLint

params.

-> m () 

glNamedBufferStorageMemEXT Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLsizeiptr

size of type BufferSize.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTexStorageMem1DEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTexStorageMem2DEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTexStorageMem2DMultisampleEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

samples.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedSampleLocations.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTexStorageMem3DEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTexStorageMem3DMultisampleEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

samples.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedSampleLocations.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTextureStorageMem1DEXT Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTextureStorageMem2DEXT Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTextureStorageMem2DMultisampleEXT Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

samples.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedSampleLocations.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTextureStorageMem3DEXT Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLuint

memory.

-> GLuint64

offset.

-> m () 

glTextureStorageMem3DMultisampleEXT Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

samples.

-> GLenum

internalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedSampleLocations.

-> GLuint

memory.

-> GLuint64

offset.

-> m ()