28 this->bounds[0] = newBounds;
29 this->bounds[1] = newBounds;
30 this->bounds[2] = newBounds;
31 this->bounds[3] = newBounds;
43 explicit SHT(std::span<const std::byte> shtData);
45 explicit SHT(
const std::filesystem::path& shtPath);
47 [[nodiscard]]
explicit operator bool()
const;
53 [[nodiscard]]
const std::vector<Sequence>&
getSequences()
const;
63 [[nodiscard]] std::vector<std::byte>
bake()
const;
65 bool bake(
const std::filesystem::path& shtPath)
const;
const Sequence * getSequenceFromID(uint32_t id) const
std::vector< Sequence > sequences
void setVersion(uint32_t v)
uint32_t getVersion() const
uint8_t getFrameBoundsCount() const
std::vector< std::byte > bake() const
const std::vector< Sequence > & getSequences() const
void setAllBounds(Bounds newBounds)
std::array< Bounds, 4 > bounds
std::vector< Frame > frames