Copyright | (C) 2015 Dimitri Sabadie |
---|---|
License | BSD3 |
Maintainer | Dimitri Sabadie <dimitri.sabadie@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Command type
Command type. Used to accumulate GPU commands. Use runCmd
to execute
the whole chain of commands.
Available commands
draw :: FBBatch rw c d -> Cmd (Output c d) Source
Draw a framebuffer batch and return the framebuffer’s output.
blit :: (Readable r, Writable w) => Framebuffer r c0 d0 -> Framebuffer w c1 d1 -> Int -> Int -> Natural -> Natural -> Int -> Int -> Natural -> Natural -> FramebufferBlitMask -> Filter -> Cmd (Output c1 d1) Source
Blit a framebuffer batch onto a framebuffer and return the framebuffer’s output of the write framebuffer.