helm-1.0.0: A functionally reactive game engine.

Safe HaskellNone
LanguageHaskell2010

Helm.Engine.SDL.Graphics2D

Description

Contains the SDL implementation 2D graphics rendering implementation.

The SDL engine uses Cairo for its 2D vector graphics, which is hardware accelerated and generally pretty fast.

Synopsis

Documentation

render :: Texture -> V2 CInt -> Collage SDLEngine -> IO () Source

Render a 2D element to an SDL texture (with a width and height).