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

Safe HaskellSafe-Infered

Graphics.LambdaCube.Mesh

Documentation

data (HardwareVertexBuffer vb, HardwareIndexBuffer ib) => SubMesh vb ib Source

Constructors

SubMesh 

Fields

smOperationType :: OperationType

The render operation type used to render this submesh

smVertexData :: Maybe (VertexData vb)

Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.

smIndexData :: Maybe (IndexData ib)

Face index data , smExtremityPoints :: [FloatType3]

smMaterialName :: String

Name of the material this SubMesh uses.