canvas/app/Classes/Renderable.hs

12 lines
250 B
Haskell
Raw Normal View History

2020-02-06 13:41:06 +00:00
{-# LANGUAGE TypeFamilies #-}
module Classes.Renderable where
class Renderable a where
type VertexObjects a :: *
type ShaderObjects a :: *
type RenderableInfo a :: *
draw :: VertexObjects a -> ShaderObjects a -> RenderableInfo a -> IO ()