OpenGL-3.0.3.0: A binding for the OpenGL graphics system

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

Graphics.Rendering.OpenGL.GL.FramebufferObjects.Attachments

Description

# Documentation

data FramebufferObjectAttachment Source #

Constructors

ColorAttachment !GLuint |
DepthAttachment |
StencilAttachment |
DepthStencilAttachment |

#### Instances

Instances details

FramebufferAttachment FramebufferObjectAttachment Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment Methods marshalAttachment :: FramebufferObjectAttachment -> Maybe GLenum Source # unmarshalAttachment :: GLenum -> FramebufferObjectAttachment Source # unmarshalAttachmentSafe :: GLenum -> Maybe FramebufferObjectAttachment Source #
Show FramebufferObjectAttachment Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment Methods showsPrec :: Int -> FramebufferObjectAttachment -> ShowS Source # show :: FramebufferObjectAttachment -> String Source # showList :: [FramebufferObjectAttachment] -> ShowS Source #
Eq FramebufferObjectAttachment Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment Methods (==) :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Bool Source # (/=) :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Bool Source #
Ord FramebufferObjectAttachment Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment

Methods

compare :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Ordering Source #

(<) :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Bool Source #

(<=) :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Bool Source #

(>) :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Bool Source #

(>=) :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> Bool Source #

max :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> FramebufferObjectAttachment Source #

min :: FramebufferObjectAttachment -> FramebufferObjectAttachment -> FramebufferObjectAttachment Source #

fboaToBufferMode :: FramebufferObjectAttachment -> Maybe BufferMode Source #

fboaFromBufferMode :: BufferMode -> Maybe FramebufferObjectAttachment Source #

class Show a => FramebufferAttachment a where Source #

Methods

marshalAttachment :: a -> Maybe GLenum Source #

unmarshalAttachment :: GLenum -> a Source #

unmarshalAttachmentSafe :: GLenum -> Maybe a Source #

#### Instances

Instances details

FramebufferAttachment BufferMode Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment Methods marshalAttachment :: BufferMode -> Maybe GLenum Source # unmarshalAttachment :: GLenum -> BufferMode Source # unmarshalAttachmentSafe :: GLenum -> Maybe BufferMode Source #
FramebufferAttachment FramebufferObjectAttachment Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment Methods marshalAttachment :: FramebufferObjectAttachment -> Maybe GLenum Source # unmarshalAttachment :: GLenum -> FramebufferObjectAttachment Source # unmarshalAttachmentSafe :: GLenum -> Maybe FramebufferObjectAttachment 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 #