cal3d-0.1: Haskell binding to the Cal3D animation library.Source codeContentsIndex
Most (possibly all) data type declarations are collected here, in order to avoid mutually recursive modules, like where module Model needs data Mixer from module Mixer, and module Mixer needs data Model from module Model.
data CoreModel
type LoadResult a = IO (Either String a)
type Loader a = CoreModel -> FilePath -> LoadResult a
type CLoader = CoreModel -> CString -> IO CInt
newtype AnimationId = AnimationId CInt
newtype MeshId = MeshId CInt
newtype MaterialId = MaterialId CInt
data MaterialThreadId = MaterialThreadId Int
data MaterialSetId = MaterialSetId Int
data Model
data Mixer
data Renderer
data CoreModel Source
A CoreModel is a type which may have multiple instances (Models). See Graphics.Animation.Cal3D.Model.
type LoadResult a = IO (Either String a)Source
LoadResult is (Left error_message) or (Right thing_loaded_from_file)
type Loader a = CoreModel -> FilePath -> LoadResult aSource
A function that loads something from a file.
type CLoader = CoreModel -> CString -> IO CIntSource
newtype AnimationId Source
Identifies an animation.
AnimationId CInt
newtype MeshId Source
Identifies a mesh.
MeshId CInt
show/hide Instances
newtype MaterialId Source
Identifies a material.
MaterialId CInt
data MaterialThreadId Source
Identifies a material thread.
MaterialThreadId Int
data MaterialSetId Source
Identifies a material set.
MaterialSetId Int
data Model Source
A Model is an "instance" of a CoreModel. See Graphics.Animation.Cal3D.Model.
data Mixer Source
A Mixer can blend simultaneous animations and play them. See Graphics.Animation.Cal3D.Mixer.
data Renderer Source
A Renderer provides data needed for graphics rendering. Cal3D does no rendering itself; the Renderer simply provides the needed information for a graphics API such as OpenGL. See Graphics.Animation.Cal3D.Renderer; also see the cal3d-opengl package.
Produced by Haddock version 2.4.2