FieldTrip-0.2.4: Functional 3DSource codeContentsIndex
Graphics.FieldTrip.Render
Stabilityexperimental
Maintainerconal@conal.net
Description
Misc rendering-related
Synopsis
type ErrorBound = R
type MaterialTrans = Unop Material
data GContext = GC {
gcErr :: ErrorBound
gcMaterialTrans :: MaterialTrans
gcNormals :: Maybe Col
}
defaultGC :: GContext
onErr :: Unop ErrorBound -> Unop GContext
enableNormals :: Col -> GContext -> GContext
type Renderer = GContext -> IO ()
Documentation
type ErrorBound = RSource
For use in dynamically approximating curved surfaces
type MaterialTrans = Unop MaterialSource
A transformation on materials. Accumulated during rendering.
data GContext Source
Rendering context for geometry
Constructors
GC
gcErr :: ErrorBound
gcMaterialTrans :: MaterialTrans
gcNormals :: Maybe Col
defaultGC :: GContextSource
Default graphics context
onErr :: Unop ErrorBound -> Unop GContextSource
Modify the error-bound in a GContext
enableNormals :: Col -> GContext -> GContextSource
Turn on visible normals.
type Renderer = GContext -> IO ()Source
renderer
Produced by Haddock version 2.4.2