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

Description

Synopsis

- data AttachmentObjectType
  - = DefaultFramebufferAttachment
  - | TextureAttachment
  - | RenderbufferAttachment
- attachmentObjectType :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar (Maybe AttachmentObjectType)
- attachmentObject :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar (Maybe (Either RenderbufferObject TextureObject))
- attachmentTextureLayer :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- attachmentTextureLevel :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar Level
- attachmentTextureTextureTargetCubeMapFace :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar TextureTargetCubeMapFace
- attachmentRedSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- attachmentBlueSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- attachmentGreenSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- attachmentAlphaSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- attachmentDepthSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- attachmentStencilSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint
- renderbufferWidth :: RenderbufferTarget -> GettableStateVar GLsizei
- renderbufferHeight :: RenderbufferTarget -> GettableStateVar GLsizei
- renderbufferInternalFormat :: RenderbufferTarget -> GettableStateVar PixelInternalFormat
- renderbufferSamples :: RenderbufferTarget -> GettableStateVar Samples
- renderbufferRedSize :: RenderbufferTarget -> GettableStateVar GLint
- renderbufferBlueSize :: RenderbufferTarget -> GettableStateVar GLint
- renderbufferGreenSize :: RenderbufferTarget -> GettableStateVar GLint
- renderbufferAlphaSize :: RenderbufferTarget -> GettableStateVar GLint
- renderbufferDepthSize :: RenderbufferTarget -> GettableStateVar GLint
- renderbufferStencilSize :: RenderbufferTarget -> GettableStateVar GLint

# Documentation

data AttachmentObjectType Source #

Constructors

DefaultFramebufferAttachment |
TextureAttachment |
RenderbufferAttachment |

#### Instances

Instances details

Show AttachmentObjectType Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.Queries Methods showsPrec :: Int -> AttachmentObjectType -> ShowS Source # show :: AttachmentObjectType -> String Source # showList :: [AttachmentObjectType] -> ShowS Source #
Eq AttachmentObjectType Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.Queries Methods (==) :: AttachmentObjectType -> AttachmentObjectType -> Bool Source # (/=) :: AttachmentObjectType -> AttachmentObjectType -> Bool Source #
Ord AttachmentObjectType Source # |

Instance details

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

Methods

compare :: AttachmentObjectType -> AttachmentObjectType -> Ordering Source #

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

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

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

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

max :: AttachmentObjectType -> AttachmentObjectType -> AttachmentObjectType Source #

min :: AttachmentObjectType -> AttachmentObjectType -> AttachmentObjectType Source #

attachmentObjectType :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar (Maybe AttachmentObjectType) Source #

attachmentObject :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar (Maybe (Either RenderbufferObject TextureObject)) Source #

tries to retrieve the object that is bound to the attachment point of the given framebuffertarget. If the object type of it is None or the default, then `Nothing` is returned, otherwise the bound `RenderbufferObject` or `TextureObject`

attachmentTextureLayer :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

attachmentTextureLevel :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar Level Source #

attachmentTextureTextureTargetCubeMapFace :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar TextureTargetCubeMapFace Source #

attachmentRedSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

attachmentBlueSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

attachmentGreenSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

attachmentAlphaSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

attachmentDepthSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

attachmentStencilSize :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar GLint Source #

renderbufferWidth :: RenderbufferTarget -> GettableStateVar GLsizei Source #

renderbufferHeight :: RenderbufferTarget -> GettableStateVar GLsizei Source #

renderbufferInternalFormat :: RenderbufferTarget -> GettableStateVar PixelInternalFormat Source #

renderbufferSamples :: RenderbufferTarget -> GettableStateVar Samples Source #

renderbufferRedSize :: RenderbufferTarget -> GettableStateVar GLint Source #

renderbufferBlueSize :: RenderbufferTarget -> GettableStateVar GLint Source #

renderbufferGreenSize :: RenderbufferTarget -> GettableStateVar GLint Source #

renderbufferAlphaSize :: RenderbufferTarget -> GettableStateVar GLint Source #

renderbufferDepthSize :: RenderbufferTarget -> GettableStateVar GLint Source #

renderbufferStencilSize :: RenderbufferTarget -> GettableStateVar GLint Source #