OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Safe HaskellNone

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