- Support cubemap textures. For such textures each level will contain all 6 faces in order: +X, -X, +Y, -Y, +Z, -Z.
- Add new default feature
std
which can be disabled to allow no-std usage.
Ktx
now uses a genericD: Deref<Target = [u8]>
instead of requiring a slice. This supports owned data usage in addition to slice usage. The texture slice lifetime is now the shorterKtx
lifetime because of this.- Remove internal macros instead
AsRef<KtxHeader>
now providesKtxInfo
allowingKtx
,KtxHeader
,KtxDecoder
to all implementKtxInfo
.
- Add
ktx::Decoder
useful when reading from a file and/or compressed data. - Separate header logic into
KtxInfo
trait now provided by methods instead of direct field access.
Initial release supporting KTX formatted byte data.