Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype AccessorIx = AccessorIx {
- unAccessorIx :: Int
- data Accessor = Accessor {
- componentType :: ComponentType
- normalized :: Bool
- byteOffset :: Size
- count :: Size
- type' :: AttributeType
- bufferView :: Maybe BufferViewIx
- min :: Maybe (Vector Scientific)
- max :: Maybe (Vector Scientific)
- sparse :: Maybe AccessorSparse
- name :: Maybe Text
- extensions :: Maybe Object
- extras :: Maybe Value
- data AccessorSparse = AccessorSparse {}
- data AccessorSparseIndices = AccessorSparseIndices {}
- data AccessorSparseValues = AccessorSparseValues {}
- newtype ComponentType = ComponentType {}
- pattern BYTE :: ComponentType
- pattern UNSIGNED_BYTE :: ComponentType
- pattern SHORT :: ComponentType
- pattern UNSIGNED_SHORT :: ComponentType
- pattern UNSIGNED_INT :: ComponentType
- pattern FLOAT :: ComponentType
- newtype AttributeType = AttributeType {}
- pattern SCALAR :: AttributeType
- pattern VEC2 :: AttributeType
- pattern VEC3 :: AttributeType
- pattern VEC4 :: AttributeType
- pattern MAT2 :: AttributeType
- pattern MAT3 :: AttributeType
- pattern MAT4 :: AttributeType
Documentation
newtype AccessorIx Source #
Instances
The root object for a glTF Accessor.
Accessor | |
|
Instances
data AccessorSparse Source #
Sparse storage of attributes that deviate from their initialization value.
Instances
data AccessorSparseIndices Source #
Indices of those attributes that deviate from their initialization value.
Instances
data AccessorSparseValues Source #
Array of size accessor.sparse.count
times number of components storing
the displaced accessor attributes pointed by accessor.sparse.indices
.
Instances
newtype ComponentType Source #
Instances
pattern BYTE :: ComponentType Source #
pattern UNSIGNED_BYTE :: ComponentType Source #
pattern SHORT :: ComponentType Source #
pattern UNSIGNED_SHORT :: ComponentType Source #
pattern UNSIGNED_INT :: ComponentType Source #
pattern FLOAT :: ComponentType Source #
newtype AttributeType Source #
Instances
pattern SCALAR :: AttributeType Source #
pattern VEC2 :: AttributeType Source #
pattern VEC3 :: AttributeType Source #
pattern VEC4 :: AttributeType Source #
pattern MAT2 :: AttributeType Source #
pattern MAT3 :: AttributeType Source #
pattern MAT4 :: AttributeType Source #