Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type Model buf = Indexed buf Packed VertexAttrs
- type Vertex = Vertex3d VertexAttrs
- type VertexAttrs = "uv" ::: Vec2
- data AttrsF f = Attrs {
- params :: HKD f TileMapParams
- transforms :: HKD f Transform
- type Attrs = AttrsF Identity
- type Stores = AttrsF Vector
- type Buffers = AttrsF (Allocated 'Coherent)
- data TileMapParams = TileMapParams {
- tmpTextureIds :: IVec4
- tmpViewOffset :: Vec2
- tmpViewportSize :: Vec2
- tmpMapTextureSize :: Vec2
- tmpTilesetTextureSize :: Vec2
- tmpTileSize :: Vec2
- tmpTilesetOffset :: Vec2
- tmpTilesetBorder :: Vec2
- type ObserverCoherent = ObserverIO Buffers
Documentation
type Model buf = Indexed buf Packed VertexAttrs Source #
Vertex data
type Vertex = Vertex3d VertexAttrs Source #
type VertexAttrs = "uv" ::: Vec2 Source #
Instance data
Attrs | |
|
Instances
data TileMapParams Source #
TileMapParams | |
|
Instances
type ObserverCoherent = ObserverIO Buffers Source #