fwgl-0.1.1.0: FRP 2D/3D game engine

Safe HaskellNone
LanguageHaskell2010

FWGL.Shader.CPU

Synopsis

Documentation

class Typeable g => AttributeCPU c g | g -> c where

CPU types convertible to GPU types (as attributes).

Methods

encodeAttribute :: g -> [c] -> GL Array

setAttribute :: g -> GLUInt -> GL ()

attr :: GLES => GLUInt -> GLInt -> GL ()