caramia-0.7.2.2: High-level OpenGL bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.Caramia.Framebuffer.Internal

Synopsis

Documentation

newtype Framebuffer_ Source

Constructors

Framebuffer_ GLuint 

data TextureTarget Source

Constructors

TextureTarget 

Fields

attacher :: GLuint -> IO ()
 
texture :: Texture
 

withBinding :: (MonadIO m, MonadMask m) => Framebuffer -> m a -> m a Source

getDimensions :: MonadIO m => Framebuffer -> m (Int, Int) Source

Returns the size of a framebuffer.

This is an IO action because it can change for the screen framebuffer.