Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_framebuffer_object :: Bool
- glBindFramebuffer :: MonadIO m => GLenum -> GLuint -> m ()
- glBindRenderbuffer :: MonadIO m => GLenum -> GLuint -> m ()
- glBlitFramebuffer :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLbitfield -> GLenum -> m ()
- glCheckFramebufferStatus :: MonadIO m => GLenum -> m GLenum
- glDeleteFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glDeleteRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glFramebufferRenderbuffer :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> m ()
- glFramebufferTexture1D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> m ()
- glFramebufferTexture2D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> m ()
- glFramebufferTexture3D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> GLint -> m ()
- glFramebufferTextureLayer :: MonadIO m => GLenum -> GLenum -> GLuint -> GLint -> GLint -> m ()
- glGenFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenerateMipmap :: MonadIO m => GLenum -> m ()
- glGetFramebufferAttachmentParameteriv :: MonadIO m => GLenum -> GLenum -> GLenum -> Ptr GLint -> m ()
- glGetRenderbufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glIsFramebuffer :: MonadIO m => GLuint -> m GLboolean
- glIsRenderbuffer :: MonadIO m => GLuint -> m GLboolean
- glRenderbufferStorage :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLsizei -> m ()
- glRenderbufferStorageMultisample :: MonadIO m => GLenum -> GLsizei -> GLenum -> GLsizei -> GLsizei -> m ()
- pattern GL_COLOR_ATTACHMENT0 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT1 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT10 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT11 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT12 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT13 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT14 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT15 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT2 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT3 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT4 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT5 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT6 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT7 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT8 :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT9 :: (Eq a, Num a) => a
- pattern GL_DEPTH24_STENCIL8 :: (Eq a, Num a) => a
- pattern GL_DEPTH_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_DEPTH_STENCIL :: (Eq a, Num a) => a
- pattern GL_DEPTH_STENCIL_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_DRAW_FRAMEBUFFER :: (Eq a, Num a) => a
- pattern GL_DRAW_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_COMPLETE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_DEFAULT :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_UNDEFINED :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_UNSUPPORTED :: (Eq a, Num a) => a
- pattern GL_INDEX :: (Eq a, Num a) => a
- pattern GL_INVALID_FRAMEBUFFER_OPERATION :: (Eq a, Num a) => a
- pattern GL_MAX_COLOR_ATTACHMENTS :: (Eq a, Num a) => a
- pattern GL_MAX_RENDERBUFFER_SIZE :: (Eq a, Num a) => a
- pattern GL_MAX_SAMPLES :: (Eq a, Num a) => a
- pattern GL_READ_FRAMEBUFFER :: (Eq a, Num a) => a
- pattern GL_READ_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_ALPHA_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_BLUE_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_DEPTH_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_GREEN_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_HEIGHT :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_INTERNAL_FORMAT :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_RED_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_SAMPLES :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_STENCIL_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_WIDTH :: (Eq a, Num a) => a
- pattern GL_STENCIL_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_STENCIL_INDEX1 :: (Eq a, Num a) => a
- pattern GL_STENCIL_INDEX16 :: (Eq a, Num a) => a
- pattern GL_STENCIL_INDEX4 :: (Eq a, Num a) => a
- pattern GL_STENCIL_INDEX8 :: (Eq a, Num a) => a
- pattern GL_TEXTURE_STENCIL_SIZE :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_INT_24_8 :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_NORMALIZED :: (Eq a, Num a) => a
Extension Support
gl_ARB_framebuffer_object :: Bool Source #
Checks that the GL_ARB_framebuffer_object extension is available.
GL_ARB_framebuffer_object
glBindFramebuffer :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindFramebuffer
target framebuffer
The parameter target
is a FramebufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindFramebuffer.xhtml
glBindRenderbuffer :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindRenderbuffer
target renderbuffer
The parameter target
is a RenderbufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindRenderbuffer.xhtml
glBlitFramebuffer :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLbitfield -> GLenum -> m () Source #
Usage: glBlitFramebuffer
srcX0 srcY0 srcX1 srcY1 dstX0 dstY0 dstX1 dstY1 mask filter
The parameter mask
is a ClearBufferMask
, one of: GL_ACCUM_BUFFER_BIT
, GL_COLOR_BUFFER_BIT
, GL_COVERAGE_BUFFER_BIT_NV
, GL_DEPTH_BUFFER_BIT
, GL_STENCIL_BUFFER_BIT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBlitFramebuffer.xhtml
glCheckFramebufferStatus :: MonadIO m => GLenum -> m GLenum Source #
Usage: glCheckFramebufferStatus
target
The parameter target
is a FramebufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCheckFramebufferStatus.xhtml
glDeleteFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteFramebuffers
n framebuffers
The length of framebuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteFramebuffers.xhtml
glDeleteRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteRenderbuffers
n renderbuffers
The length of renderbuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteRenderbuffers.xhtml
glFramebufferRenderbuffer :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> m () Source #
Usage: glFramebufferRenderbuffer
target attachment renderbuffertarget renderbuffer
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
The parameter renderbuffertarget
is a RenderbufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glFramebufferRenderbuffer.xhtml
glFramebufferTexture1D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> m () Source #
Usage: glFramebufferTexture1D
target attachment textarget texture level
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
glFramebufferTexture2D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> m () Source #
Usage: glFramebufferTexture2D
target attachment textarget texture level
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
glFramebufferTexture3D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> GLint -> m () Source #
Usage: glFramebufferTexture3D
target attachment textarget texture level zoffset
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
glFramebufferTextureLayer :: MonadIO m => GLenum -> GLenum -> GLuint -> GLint -> GLint -> m () Source #
Usage: glFramebufferTextureLayer
target attachment texture level layer
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
The parameter texture
is a Texture
.
The parameter level
is a CheckedInt32
.
The parameter layer
is a CheckedInt32
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glFramebufferTextureLayer.xhtml
glGenFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenFramebuffers
n framebuffers
The length of framebuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenFramebuffers.xhtml
glGenRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenRenderbuffers
n renderbuffers
The length of renderbuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenRenderbuffers.xhtml
glGenerateMipmap :: MonadIO m => GLenum -> m () Source #
Usage: glGenerateMipmap
target
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenerateMipmap.xhtml
glGetFramebufferAttachmentParameteriv :: MonadIO m => GLenum -> GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetFramebufferAttachmentParameteriv
target attachment pname params
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
The length of params
should be COMPSIZE(pname)
.
glGetRenderbufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetRenderbufferParameteriv
target pname params
The parameter target
is a RenderbufferTarget
.
The length of params
should be COMPSIZE(pname)
.
glIsFramebuffer :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsFramebuffer
framebuffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsFramebuffer.xhtml
glIsRenderbuffer :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsRenderbuffer
renderbuffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsRenderbuffer.xhtml
glRenderbufferStorage :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLsizei -> m () Source #
Usage: glRenderbufferStorage
target internalformat width height
The parameter target
is a RenderbufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glRenderbufferStorage.xhtml
glRenderbufferStorageMultisample :: MonadIO m => GLenum -> GLsizei -> GLenum -> GLsizei -> GLsizei -> m () Source #
Usage: glRenderbufferStorageMultisample
target samples internalformat width height
Manual page: https://www.opengl.org/sdk/docs/man/html/glRenderbufferStorageMultisample.xhtml
pattern GL_COLOR_ATTACHMENT0 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT1 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT10 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT11 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT12 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT13 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT14 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT15 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT2 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT3 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT4 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT5 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT6 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT7 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT8 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT9 :: (Eq a, Num a) => a Source #
pattern GL_DEPTH24_STENCIL8 :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_STENCIL :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_STENCIL_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_DRAW_FRAMEBUFFER :: (Eq a, Num a) => a Source #
pattern GL_DRAW_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_COMPLETE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_DEFAULT :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_UNDEFINED :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_UNSUPPORTED :: (Eq a, Num a) => a Source #
pattern GL_INVALID_FRAMEBUFFER_OPERATION :: (Eq a, Num a) => a Source #
pattern GL_MAX_COLOR_ATTACHMENTS :: (Eq a, Num a) => a Source #
pattern GL_MAX_RENDERBUFFER_SIZE :: (Eq a, Num a) => a Source #
pattern GL_MAX_SAMPLES :: (Eq a, Num a) => a Source #
pattern GL_READ_FRAMEBUFFER :: (Eq a, Num a) => a Source #
pattern GL_READ_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_ALPHA_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_BLUE_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_DEPTH_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_GREEN_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_HEIGHT :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_INTERNAL_FORMAT :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_RED_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_SAMPLES :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_STENCIL_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_WIDTH :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_INDEX1 :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_INDEX16 :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_INDEX4 :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_INDEX8 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_STENCIL_SIZE :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_INT_24_8 :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_NORMALIZED :: (Eq a, Num a) => a Source #