CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
FontImporter.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
11
14
15namespace CeresEngine {
16
18
19 class FontImporter : public TResourceImporter<Font, FontImportOptions> {
20 public:
21 using TResourceImporter::TResourceImporter;
22 };
23
25 public:
26 using FontImporter::FontImporter;
27
28 public:
30 Async<ImportedResources> import(const ResourceURL& url, const FontImportOptions& options) override;
31
34 };
35
36} // namespace CeresEngine
Definition FontImporter.hpp:24
Async< SupportStatus > supports(const ResourceURL &url) override
Checks if the import supports the given resource.
Definition FontImporter.hpp:19
Creates a new resource importer.
Definition ResourceImporter.hpp:248
A Uniform Resource Identifier (URI) is a unique sequence of characters that identifies a logical or p...
Definition URI.hpp:54
Definition Application.hpp:19
cti::continuable< Args... > Async
Defines a non-copyable continuation type which uses the function2 backend for type erasure.
Definition Async.hpp:22
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition FontImporter.hpp:17
A structure that contains import options that describes how a resource should be imported.
Definition ResourceImportOptions.hpp:16