keid-render-basic-0.1.8.0: Basic rendering programs for Keid engine.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Render.Unlit.Line2d.Draw

Documentation

batch :: (MonadIO m, Foldable t) => CommandBuffer -> Segment -> Allocated s InstanceAttrs -> t ("firstInstance" ::: Word32, "instanceCount" ::: Word32) -> Bound dsl vertices instances m () Source #

single :: MonadIO m => CommandBuffer -> Segment -> Allocated s InstanceAttrs -> Bound dsl vertices instances m () Source #

bind :: MonadIO io => CommandBuffer -> Segment -> Buffer s -> io () Source #

segments :: MonadIO io => CommandBuffer -> Allocated s a -> ("firstInstance" ::: Word32, "instanceCount" ::: Word32) -> io () Source #