OpenGL-3.0.0.2: A binding for the OpenGL graphics system

Copyright(c) Sven Panne, Lars Corbijn 2011-2016
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.GL.FramebufferObjects.Queries

Description

 

Synopsis

Documentation

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