gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.FramebufferObject

Synopsis

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

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

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).

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

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_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_UNDEFINED :: (Eq a, Num a) => a Source #

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

pattern GL_INDEX :: (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_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 #