Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Renderable rend tex where
- class Texture tex where
- class Renderer rend where
- newtype RawTexture = RawTexture {}
Documentation
class Renderable rend tex where #
This class modells that something can be rendered to another thing.
textureAlphaMod :: tex -> StateVar Word8 #
textureColorMod :: tex -> StateVar (V3 Word8) #
textureBlendMode :: tex -> StateVar BlendMode #
textureWidth :: tex -> IO Int #
textureHeight :: tex -> IO Int #
textureDims :: tex -> IO (V2 Int) #
destroyTexture :: tex -> IO () #
Bindings for low level sdl2
newtype RawTexture #
Wrapper around the raw Texture type from SDL package.