gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.FramebufferObject

Contents

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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