dmtools/lib/dmbmx/ZiffChunk.hpp

21 lines
381 B
C++

// Copyright 2024 The DMBMX2Tools Authors
// SPDX-License-Identifier: MIT
#include <base/FourCC.hpp>
namespace dmtools::dmbmx {
/// Z-Axis IFF chunk header.
struct ZiffChunkHeader {
FourCCT ckId;
u32 ckSz;
/// returns true if the chunk id matches the specific FourCC
template<FixedString string>
constexpr bool Is() {
return ckId == FourCC<string>();
}
};
}