gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Core45

Synopsis

Graphics.GL.Core45

glBlitNamedFramebuffer :: MonadIO m => GLuint -> GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLbitfield -> GLenum -> m () Source #

Usage: glBlitNamedFramebuffer readFramebuffer drawFramebuffer srcX0 srcY0 srcX1 srcY1 dstX0 dstY0 dstX1 dstY1 mask filter

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

Usage: glClearNamedBufferData buffer internalformat format type data

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

Usage: glClearNamedBufferSubData buffer internalformat offset size format type data

The parameter size is a BufferSize.

glClearNamedFramebufferfi :: MonadIO m => GLuint -> GLenum -> GLint -> GLfloat -> GLint -> m () Source #

Usage: glClearNamedFramebufferfi framebuffer buffer drawbuffer depth stencil

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

Usage: glClearNamedFramebufferfv framebuffer buffer drawbuffer value

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

Usage: glClearNamedFramebufferiv framebuffer buffer drawbuffer value

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

Usage: glClearNamedFramebufferuiv framebuffer buffer drawbuffer value

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

Usage: glCompressedTextureSubImage1D texture level xoffset width format imageSize data

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

Usage: glCompressedTextureSubImage2D texture level xoffset yoffset width height format imageSize data

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

Usage: glCompressedTextureSubImage3D texture level xoffset yoffset zoffset width height depth format imageSize data

glCopyNamedBufferSubData :: MonadIO m => GLuint -> GLuint -> GLintptr -> GLintptr -> GLsizeiptr -> m () Source #

Usage: glCopyNamedBufferSubData readBuffer writeBuffer readOffset writeOffset size

The parameter size is a BufferSize.

glCopyTextureSubImage1D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> m () Source #

Usage: glCopyTextureSubImage1D texture level xoffset x y width

glCopyTextureSubImage2D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glCopyTextureSubImage2D texture level xoffset yoffset x y width height

glCopyTextureSubImage3D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glCopyTextureSubImage3D texture level xoffset yoffset zoffset x y width height

glFlushMappedNamedBufferRange :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> m () Source #

Usage: glFlushMappedNamedBufferRange buffer offset length

The parameter length is a BufferSize.

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

Usage: glGetCompressedTextureImage texture level bufSize pixels

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

Usage: glGetCompressedTextureSubImage texture level xoffset yoffset zoffset width height depth bufSize pixels

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

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

Usage: glGetNamedBufferPointerv buffer pname params

glGetNamedBufferSubData :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #

Usage: glGetNamedBufferSubData buffer offset size data

The parameter size is a BufferSize.

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

Usage: glGetQueryBufferObjecti64v id buffer pname offset

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

Usage: glGetQueryBufferObjectiv id buffer pname offset

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

Usage: glGetQueryBufferObjectuiv id buffer pname offset

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

Usage: glGetTextureImage texture level format type bufSize pixels

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

Usage: glGetTextureLevelParameterfv texture level pname params

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

Usage: glGetTextureLevelParameteriv texture level pname params

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

Usage: glGetTextureParameterIiv texture pname params

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

Usage: glGetTextureParameterIuiv texture pname params

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

Usage: glGetTextureParameterfv texture pname params

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

Usage: glGetTextureParameteriv texture pname params

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

Usage: glGetTextureSubImage texture level xoffset yoffset zoffset width height depth format type bufSize pixels

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

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

Usage: glGetTransformFeedbacki_v xfb pname index param

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

Usage: glGetVertexArrayIndexed64iv vaobj index pname param

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

Usage: glGetVertexArrayIndexediv vaobj index pname param

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

Usage: glGetnCompressedTexImage target lod bufSize pixels

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

Usage: glGetnTexImage target level format type bufSize pixels

glGetnUniformdv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m () Source #

Usage: glGetnUniformdv program location bufSize params

glGetnUniformfv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m () Source #

Usage: glGetnUniformfv program location bufSize params

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

Usage: glGetnUniformiv program location bufSize params

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

Usage: glGetnUniformuiv program location bufSize params

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

Usage: glInvalidateNamedFramebufferData framebuffer numAttachments attachments

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

Usage: glInvalidateNamedFramebufferSubData framebuffer numAttachments attachments x y width height

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

Usage: glMapNamedBuffer buffer access

glMapNamedBufferRange :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> GLbitfield -> m (Ptr ()) Source #

Usage: glMapNamedBufferRange buffer offset length access

The parameter length is a BufferSize.

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

Usage: glNamedBufferData buffer size data usage

The parameter size is a BufferSize.

glNamedBufferStorage :: MonadIO m => GLuint -> GLsizeiptr -> Ptr () -> GLbitfield -> m () Source #

Usage: glNamedBufferStorage buffer size data flags

The parameter size is a BufferSize.

The length of data should be size.

glNamedBufferSubData :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #

Usage: glNamedBufferSubData buffer offset size data

The parameter size is a BufferSize.

The length of data should be COMPSIZE(size).

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

Usage: glNamedFramebufferParameteri framebuffer pname param

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

Usage: glNamedFramebufferRenderbuffer framebuffer attachment renderbuffertarget renderbuffer

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

Usage: glNamedFramebufferTexture framebuffer attachment texture level

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

Usage: glNamedFramebufferTextureLayer framebuffer attachment texture level layer

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

Usage: glNamedRenderbufferStorage renderbuffer internalformat width height

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

Usage: glNamedRenderbufferStorageMultisample renderbuffer samples internalformat width height

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

Usage: glReadnPixels x y width height format type bufSize data

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

Usage: glTextureBuffer texture internalformat buffer

glTextureBufferRange :: MonadIO m => GLuint -> GLenum -> GLuint -> GLintptr -> GLsizeiptr -> m () Source #

Usage: glTextureBufferRange texture internalformat buffer offset size

The parameter size is a BufferSize.

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

Usage: glTextureParameterIiv texture pname params

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

Usage: glTextureParameterIuiv texture pname params

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

Usage: glTextureParameterf texture pname param

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

Usage: glTextureParameterfv texture pname param

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

Usage: glTextureParameteri texture pname param

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

Usage: glTextureParameteriv texture pname param

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

Usage: glTextureStorage1D texture levels internalformat width

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

Usage: glTextureStorage2D texture levels internalformat width height

glTextureStorage2DMultisample :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLboolean -> m () Source #

Usage: glTextureStorage2DMultisample texture samples internalformat width height fixedsamplelocations

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

Usage: glTextureStorage3D texture levels internalformat width height depth

glTextureStorage3DMultisample :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLboolean -> m () Source #

Usage: glTextureStorage3DMultisample texture samples internalformat width height depth fixedsamplelocations

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

Usage: glTextureSubImage1D texture level xoffset width format type pixels

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

Usage: glTextureSubImage2D texture level xoffset yoffset width height format type pixels

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

Usage: glTextureSubImage3D texture level xoffset yoffset zoffset width height depth format type pixels

glVertexArrayAttribBinding :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source #

Usage: glVertexArrayAttribBinding vaobj attribindex bindingindex

glVertexArrayAttribFormat :: MonadIO m => GLuint -> GLuint -> GLint -> GLenum -> GLboolean -> GLuint -> m () Source #

Usage: glVertexArrayAttribFormat vaobj attribindex size type normalized relativeoffset

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

Usage: glVertexArrayAttribIFormat vaobj attribindex size type relativeoffset

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

Usage: glVertexArrayAttribLFormat vaobj attribindex size type relativeoffset

glVertexArrayBindingDivisor :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source #

Usage: glVertexArrayBindingDivisor vaobj bindingindex divisor

glVertexArrayVertexBuffer :: MonadIO m => GLuint -> GLuint -> GLuint -> GLintptr -> GLsizei -> m () Source #

Usage: glVertexArrayVertexBuffer vaobj bindingindex buffer offset stride

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

Usage: glVertexArrayVertexBuffers vaobj first count buffers offsets strides

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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