Copyright | (c) Sven Panne 2011-2019 Lars Corbijn 2011-2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
data FramebufferObjectAttachment Source #
Instances
class Show a => FramebufferAttachment a where Source #
marshalAttachment :: a -> Maybe GLenum Source #
unmarshalAttachment :: GLenum -> a Source #
unmarshalAttachmentSafe :: GLenum -> Maybe a Source #
framebufferRenderbuffer :: FramebufferTarget -> FramebufferObjectAttachment -> RenderbufferTarget -> RenderbufferObject -> IO () Source #
framebufferTexture1D :: FramebufferTarget -> FramebufferObjectAttachment -> TextureTarget1D -> TextureObject -> Level -> IO () Source #
framebufferTexture2D :: FramebufferTarget -> FramebufferObjectAttachment -> TextureTarget2D -> TextureObject -> Level -> IO () Source #
framebufferTexture3D :: FramebufferTarget -> FramebufferObjectAttachment -> TextureTarget3D -> TextureObject -> Level -> GLint -> IO () Source #
framebufferTextureLayer :: FramebufferTarget -> FramebufferObjectAttachment -> TextureObject -> Level -> GLint -> IO () Source #