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

Safe HaskellSafe-Infered

Graphics.LambdaCube.VertexIndexData

Documentation

data HardwareVertexBuffer vb => VertexData vb Source

Constructors

VertexData 

Fields

vdVertexDeclaration :: VertexDeclaration

Declaration of the vertex to be used in this operation. remarks Note that this is created for you on construction.

vdVertexBufferBinding :: VertexBufferBinding vb

The vertex buffer bindings to be used. remarks Note that this is created for you on construction.

vdVertexStart :: Int

The base vertex index to start from

vdVertexCount :: Int

The number of vertices used in this operation

data HardwareIndexBuffer ib => IndexData ib Source

Constructors

IndexData 

Fields

idIndexBuffer :: ib

pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true

idIndexStart :: Int

index in the buffer to start from for this operation

idIndexCount :: Int

The number of indexes to use from the buffer