gl-0.8.0: 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 :: forall a. (Num a, Eq a) => a Source #

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

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

pattern GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

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

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

pattern GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

pattern GL_TRANSFORM_FEEDBACK_BUFFER_INDEX :: forall a. (Num a, Eq a) => a Source #

pattern GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE :: forall a. (Num a, Eq a) => a Source #