Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data Shader g i o a where Source
Pure :: a -> Shader g i o a | |
Bind :: Shader g' i' o' b -> (b -> Shader g'' i'' o'' a) -> Shader g i o a | |
Get :: (Member a i, Typeable a, ShaderType a) => Shader g i o a | |
Global :: (Member a g, Typeable a, ShaderType a) => Shader g i o a | |
Put :: (Member a o, Typeable a, ShaderType a) => a -> Shader g i o () |
type PartialShader g i o a = (Subset o o', Subset g g', Subset i i', Subset i' i) => Shader g' i' o' a Source
class AllTypeable xs Source
AllTypeable ([] *) | |
(Typeable * x, AllTypeable xs) => AllTypeable ((:) * x xs) |