12 lines
287 B
Haskell
12 lines
287 B
Haskell
{-# LANGUAGE TypeFamilies #-}
|
|
{-# LANGUAGE AllowAmbiguousTypes #-}
|
|
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 ()
|