Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::Codecs::Decodable Concept Reference

#include <haio_codec.hpp>

Concept definition

template<Format F, Color P>
concept Decodable = requires (const Blob& b) { { Decode<F, P>(b) } -> std::same_as<Result<Image<P>>>; }
Result< Image< P > > Decode(const Blob &)=delete

Detailed Description

can this pair be read into pixels, asked of the pair rather than answered by hand.

Definition at line 222 of file haio_codec.hpp.