caramia-0.2.0.1: Less painful OpenGL 3.3 rendering

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
 

getDimensions :: Framebuffer -> IO (Int, Int) Source

Returns the size of a framebuffer.

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