Safe Haskell | None |
---|---|
Language | Haskell98 |
Graphics.GLUtil.Linear
Description
Support for writing Linear types to uniform locations in shader programs.
- class AsUniform t where
- asUniform :: t -> UniformLocation -> IO ()
Documentation
class AsUniform t where Source
A type class for things we can write to uniform locations in shader programs. We can provide instances of this class for types from Linear without introducing orphan instances.
Minimal complete definition
Nothing
Methods
asUniform :: t -> UniformLocation -> IO () Source
Instances