OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Safe Haskell | None

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
- attachmentTextureCubeMapTarget :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar CubeMapTarget
- 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 |

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

attachmentTextureCubeMapTarget :: FramebufferAttachment fba => FramebufferTarget -> fba -> GettableStateVar CubeMapTarget 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