12 lines
259 B
Haskell
12 lines
259 B
Haskell
{-# LANGUAGE TypeFamilies #-}
|
|
{-# LANGUAGE AllowAmbiguousTypes #-}
|
|
module Classes.Renderable where
|
|
|
|
class Renderable a where
|
|
type VertexObjects a :: *
|
|
|
|
type ShaderObjects a :: *
|
|
|
|
init :: IO ()
|
|
|
|
draw :: VertexObjects a -> ShaderObjects a -> a -> IO ()
|