btu/tex/crunch_texture.hpp file

Namespaces

namespace crnlib
namespace btu
namespace btu::tex

Classes

class btu::tex::CrunchTexture

Functions

auto load_crunch(Path path) →  tl::expected<CrunchTexture, Error> noexcept
auto load_crunch(Path relative_path, std::span<const std::byte> data) →  tl::expected<CrunchTexture, Error> noexcept
auto operator==(const image_u8& lhs, const image_u8& rhs) →  bool noexcept
auto operator==(const mipmapped_texture& lhs, const mipmapped_texture& rhs) →  bool noexcept
auto save(const CrunchTexture& tex, const Path& path) →  ResultError noexcept
auto save(const CrunchTexture& tex) →  tl::expected<std::vector<std::byte>, Error> noexcept