gl-0.7.4: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Core44

Contents

Synopsis

Graphics.GL.Core44

glBindBuffersBase :: MonadIO m => GLenum -> GLuint -> GLsizei -> Ptr GLuint -> m () Source

Usage: glBindBuffersBase target first count buffers

The length of buffers should be count.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBindBuffersBase.xhtml

glBindBuffersRange :: MonadIO m => GLenum -> GLuint -> GLsizei -> Ptr GLuint -> Ptr GLintptr -> Ptr GLsizeiptr -> m () Source

Usage: glBindBuffersRange target first count buffers offsets sizes

The length of buffers should be count.

The length of offsets should be count.

The length of sizes should be count.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBindBuffersRange.xhtml

glBindImageTextures :: MonadIO m => GLuint -> GLsizei -> Ptr GLuint -> m () Source

Usage: glBindImageTextures first count textures

The length of textures should be count.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBindImageTextures.xhtml

glBindSamplers :: MonadIO m => GLuint -> GLsizei -> Ptr GLuint -> m () Source

Usage: glBindSamplers first count samplers

The length of samplers should be count.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBindSamplers.xhtml

glBindTextures :: MonadIO m => GLuint -> GLsizei -> Ptr GLuint -> m () Source

Usage: glBindTextures first count textures

The length of textures should be count.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBindTextures.xhtml

glBindVertexBuffers :: MonadIO m => GLuint -> GLsizei -> Ptr GLuint -> Ptr GLintptr -> Ptr GLsizei -> m () Source

Usage: glBindVertexBuffers first count buffers offsets strides

The length of buffers should be count.

The length of offsets should be count.

The length of strides should be count.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBindVertexBuffers.xhtml

glBufferStorage :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLbitfield -> m () Source

Usage: glBufferStorage target size data flags

The length of data should be size.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBufferStorage.xhtml

glClearTexImage :: MonadIO m => GLuint -> GLint -> GLenum -> GLenum -> Ptr () -> m () Source

Usage: glClearTexImage texture level format type data

The length of data should be COMPSIZE(format,type).

Manual page: https://www.opengl.org/sdk/docs/man/html/glClearTexImage.xhtml

glClearTexSubImage :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source

Usage: glClearTexSubImage texture level xoffset yoffset zoffset width height depth format type data

The length of data should be COMPSIZE(format,type).

Manual page: https://www.opengl.org/sdk/docs/man/html/glClearTexSubImage.xhtml

pattern GL_BUFFER_IMMUTABLE_STORAGE :: (Num a, Eq a) => a Source

pattern GL_BUFFER_STORAGE_FLAGS :: (Num a, Eq a) => a Source

pattern GL_CLEAR_TEXTURE :: (Num a, Eq a) => a Source

pattern GL_CLIENT_STORAGE_BIT :: (Num a, Eq a) => a Source

pattern GL_DYNAMIC_STORAGE_BIT :: (Num a, Eq a) => a Source

pattern GL_LOCATION_COMPONENT :: (Num a, Eq a) => a Source

pattern GL_MAP_COHERENT_BIT :: (Num a, Eq a) => a Source

pattern GL_MAP_PERSISTENT_BIT :: (Num a, Eq a) => a Source

pattern GL_MAX_VERTEX_ATTRIB_STRIDE :: (Num a, Eq a) => a Source

pattern GL_MIRROR_CLAMP_TO_EDGE :: (Num a, Eq a) => a Source

pattern GL_QUERY_BUFFER :: (Num a, Eq a) => a Source

pattern GL_QUERY_BUFFER_BARRIER_BIT :: (Num a, Eq a) => a Source

pattern GL_QUERY_BUFFER_BINDING :: (Num a, Eq a) => a Source

pattern GL_QUERY_RESULT_NO_WAIT :: (Num a, Eq a) => a Source

pattern GL_TEXTURE_BUFFER_BINDING :: (Num a, Eq a) => a Source