Skip to content

Commit

Permalink
D.Z.Texture: add textureIdentifiers, export types and instances
Browse files Browse the repository at this point in the history
  • Loading branch information
kfish committed Nov 23, 2011
1 parent 164fd8f commit 35aedda
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Data/ZoomCache/Texture.hs
Expand Up @@ -42,6 +42,15 @@ Field encoding formats:
----------------------------------------------------------------------

module Data.ZoomCache.Texture (
-- * Types
TextureSlice(..)

-- * Zoom-cache codec instances
, SummaryData(..)
, SummaryWork(..)

-- * Codec identifiers
, textureIdentifiers
) where

import Blaze.ByteString.Builder
Expand All @@ -63,6 +72,11 @@ textureLength = 5
data TextureSlice = TextureSlice [Float]
deriving (Show, Typeable)

textureIdentifiers :: [IdentifyCodec]
textureIdentifiers =
[ identifyCodec (undefined :: TextureSlice)
]

----------------------------------------------------------------------

-- Identifier for track headers
Expand Down

0 comments on commit 35aedda

Please sign in to comment.