29 this->bounds[0] = newBounds;
30 this->bounds[1] = newBounds;
31 this->bounds[2] = newBounds;
32 this->bounds[3] = newBounds;
44 explicit SHT(std::span<const std::byte> shtData);
46 explicit SHT(
const std::string& shtPath);
48 [[nodiscard]]
explicit operator bool()
const;
54 [[nodiscard]]
const std::vector<Sequence>&
getSequences()
const;
64 [[nodiscard]] std::vector<std::byte>
bake()
const;
66 bool bake(
const std::string& 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