Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

D.Z.Texture: add textureIdentifiers, export types and instances

  • Loading branch information...
commit 35aedda202ff00255f4e9f1d57d47c2ae24c5f6f 1 parent 164fd8f
@kfish authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 Data/ZoomCache/Texture.hs
View
14 Data/ZoomCache/Texture.hs
@@ -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
@@ -63,6 +72,11 @@ textureLength = 5
data TextureSlice = TextureSlice [Float]
deriving (Show, Typeable)
+textureIdentifiers :: [IdentifyCodec]
+textureIdentifiers =
+ [ identifyCodec (undefined :: TextureSlice)
+ ]
+
----------------------------------------------------------------------
-- Identifier for track headers
Please sign in to comment.
Something went wrong with that request. Please try again.