lambdacube-core-0.2.0: LambdaCube 3D IR

Safe HaskellSafe-Inferred
LanguageHaskell2010

LambdaCube.Core.Type

Documentation

data V2 a Source

Constructors

V2 !a !a 

Instances

Eq a => Eq (V2 a) 
Ord a => Ord (V2 a) 
Read a => Read (V2 a) 
Show a => Show (V2 a) 
Typeable (* -> *) V2 

data V3 a Source

Constructors

V3 !a !a !a 

Instances

Eq a => Eq (V3 a) 
Ord a => Ord (V3 a) 
Read a => Read (V3 a) 
Show a => Show (V3 a) 
Typeable (* -> *) V3 

data V4 a Source

Constructors

V4 !a !a !a !a 

Instances

Eq a => Eq (V4 a) 
Ord a => Ord (V4 a) 
Read a => Read (V4 a) 
Show a => Show (V4 a) 
Typeable (* -> *) V4 

type M22F = V2 V2F Source

type M23F = V3 V2F Source

type M24F = V4 V2F Source

type M32F = V2 V3F Source

type M33F = V3 V3F Source

type M34F = V4 V3F Source

type M42F = V2 V4F Source

type M43F = V3 V4F Source

type M44F = V4 V4F Source

type V2B = V2 Bool Source

type V3B = V3 Bool Source

type V4B = V4 Bool Source

data Ty Source

Constructors

Single !InputType 
Tuple [Ty] 
Unknown String 

Instances

data StencilOps Source

Constructors

StencilOps 

Fields

frontStencilOp :: StencilOperation

Used for front faced triangles and other primitives.

backStencilOp :: StencilOperation

Used for back faced triangles.

data StencilTest Source

Constructors

StencilTest 

Fields

stencilComparision :: ComparisonFunction

The function used to compare the stencilReference and the stencil buffers value with.

stencilReference :: Int32

The value to compare with the stencil buffer's value.

stencilMask :: Word32

A bit mask with ones in each position that should be compared and written to the stencil buffer.