lambdacube-engine-0.2.2: 3D rendering engine written entirely in Haskell

Graphics.LambdaCube.Entity

Synopsis

Documentation

data (HardwareVertexBuffer vb, HardwareIndexBuffer ib, Texture t, LinkedGpuProgram lp) => SubEntity vb ib t lp Source

The sub-parts of an Entity. Its primary function is to provide the link between the Material which the SubEntity uses (which may be the default Material for the SubMesh or may have been changed for this object) and the SubMesh data.

Constructors

SubEntity 

Fields

seMaterial :: Material t lp

Cached pointer to material.

seSubMesh :: SubMesh vb ib

Pointer to the SubMesh defining geometry.

data (HardwareVertexBuffer vb, HardwareIndexBuffer ib, Texture t, LinkedGpuProgram lp) => Entity vb ib t lp Source

Constructors

Entity 

Fields

enName :: String
 
enRenderQueue :: Int
 
enMesh :: Mesh vb ib
 
enSubEntityList :: [SubEntity vb ib t lp]
 

Instances