gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Standard15

Synopsis

Graphics.GL.Standard15

glBindBuffer :: MonadIO m => GLenum -> GLuint -> m () Source #

Usage: glBindBuffer target buffer

The parameter target is a BufferTargetARB.

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

glBufferData :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLenum -> m () Source #

Usage: glBufferData target size data usage

The parameter target is a BufferTargetARB.

The parameter size is a BufferSize.

The parameter usage is a BufferUsageARB.

The length of data should be size.

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

glBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #

Usage: glBufferSubData target offset size data

The parameter target is a BufferTargetARB.

The parameter offset is a BufferOffset.

The parameter size is a BufferSize.

The length of data should be size.

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

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

Usage: glDeleteBuffers n buffers

The length of buffers should be n.

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

glEndQuery :: MonadIO m => GLenum -> m () Source #

Usage: glEndQuery target

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

Usage: glGenBuffers n buffers

The length of buffers should be n.

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

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

Usage: glGenQueries n ids

The length of ids should be n.

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

glGetBufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetBufferParameteriv target pname params

The parameter target is a BufferTargetARB.

The parameter pname is a BufferPNameARB.

The length of params should be COMPSIZE(pname).

glGetBufferPointerv :: MonadIO m => GLenum -> GLenum -> Ptr (Ptr ()) -> m () Source #

Usage: glGetBufferPointerv target pname params

The parameter target is a BufferTargetARB.

The parameter pname is a BufferPointerNameARB.

The length of params should be 1.

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

glGetBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #

Usage: glGetBufferSubData target offset size data

The parameter target is a BufferTargetARB.

The parameter offset is a BufferOffset.

The parameter size is a BufferSize.

The length of data should be size.

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

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

Usage: glGetQueryObjectiv id pname params

The length of params should be COMPSIZE(pname).

glGetQueryObjectuiv :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m () Source #

Usage: glGetQueryObjectuiv id pname params

The length of params should be COMPSIZE(pname).

glGetQueryiv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetQueryiv target pname params

The length of params should be COMPSIZE(pname).

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

glMapBuffer :: MonadIO m => GLenum -> GLenum -> m (Ptr ()) Source #

Usage: glMapBuffer target access

The parameter target is a BufferTargetARB.

The parameter access is a BufferAccessARB.

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

glUnmapBuffer :: MonadIO m => GLenum -> m GLboolean Source #

Usage: glUnmapBuffer target

The parameter target is a BufferTargetARB.

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

pattern GL_ARRAY_BUFFER :: (Eq a, Num a) => a Source #

pattern GL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_ACCESS :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_MAPPED :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_MAP_POINTER :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_SIZE :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_USAGE :: (Eq a, Num a) => a Source #

pattern GL_CURRENT_FOG_COORD :: (Eq a, Num a) => a Source #

pattern GL_CURRENT_QUERY :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_COPY :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_DRAW :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_READ :: (Eq a, Num a) => a Source #

pattern GL_ELEMENT_ARRAY_BUFFER :: (Eq a, Num a) => a Source #

pattern GL_FOG_COORD :: (Eq a, Num a) => a Source #

pattern GL_FOG_COORD_ARRAY :: (Eq a, Num a) => a Source #

pattern GL_FOG_COORD_ARRAY_POINTER :: (Eq a, Num a) => a Source #

pattern GL_FOG_COORD_ARRAY_STRIDE :: (Eq a, Num a) => a Source #

pattern GL_FOG_COORD_ARRAY_TYPE :: (Eq a, Num a) => a Source #

pattern GL_FOG_COORD_SRC :: (Eq a, Num a) => a Source #

pattern GL_QUERY_COUNTER_BITS :: (Eq a, Num a) => a Source #

pattern GL_QUERY_RESULT :: (Eq a, Num a) => a Source #

pattern GL_QUERY_RESULT_AVAILABLE :: (Eq a, Num a) => a Source #

pattern GL_READ_ONLY :: (Eq a, Num a) => a Source #

pattern GL_READ_WRITE :: (Eq a, Num a) => a Source #

pattern GL_SAMPLES_PASSED :: (Eq a, Num a) => a Source #

pattern GL_SRC0_ALPHA :: (Eq a, Num a) => a Source #

pattern GL_SRC0_RGB :: (Eq a, Num a) => a Source #

pattern GL_SRC1_ALPHA :: (Eq a, Num a) => a Source #

pattern GL_SRC1_RGB :: (Eq a, Num a) => a Source #

pattern GL_SRC2_ALPHA :: (Eq a, Num a) => a Source #

pattern GL_SRC2_RGB :: (Eq a, Num a) => a Source #

pattern GL_STATIC_COPY :: (Eq a, Num a) => a Source #

pattern GL_STATIC_DRAW :: (Eq a, Num a) => a Source #

pattern GL_STATIC_READ :: (Eq a, Num a) => a Source #

pattern GL_STREAM_COPY :: (Eq a, Num a) => a Source #

pattern GL_STREAM_DRAW :: (Eq a, Num a) => a Source #

pattern GL_STREAM_READ :: (Eq a, Num a) => a Source #

pattern GL_WRITE_ONLY :: (Eq a, Num a) => a Source #