flaw-canvas-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.Graphics.Sprite

Description

 
Synopsis

Documentation

initQuadRenderer :: Device d => d -> IO (QuadRenderer d, IO ()) Source #

type RenderQuadsM c = ReaderT (QuadToRender -> Render c ()) (Render c) Source #

renderQuads :: Context c d => QuadRenderer d -> TextureId d -> RenderQuadsM c a -> Render c a Source #

Draw quads.

data RenderableIcon Source #

Runtime data about one sprite of particular sprite set.

Constructors

RenderableIcon 

Fields

newtype RenderableQuad Source #

Constructors

RenderableQuad 

Fields