Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
ModernImageDecoder.hpp File Reference
#include "MeshRuntime.hpp"
#include <cstddef>
#include <expected>
#include <span>
Include dependency graph for ModernImageDecoder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::data::ModernImageDecodeLimits
 

Namespaces

namespace  monopoly
 
namespace  monopoly::data
 

Enumerations

enum class  monopoly::data::ModernImageEncoding : std::uint8_t { monopoly::data::Png , monopoly::data::Jpeg }
 

Functions

std::expected< std::shared_ptr< const ModernTextureImage >, MeshRuntimeError > monopoly::data::decodeModernImage (std::span< const std::byte > bytes, ModernImageEncoding encoding, ModernImageDecodeLimits limits)