OGLplus  (0.59.0) a C++ wrapper for rendering APIs

init.hpp
1 #ifndef EAGINE_EXAMPLE_ECS_INIT_HPP // NOLINT(llvm-header-guard)
9 #define EAGINE_EXAMPLE_ECS_INIT_HPP
10 
11 #include "entity.hpp"
14 #include <eagine/main_ctx.hpp>
15 
16 namespace eagine {
17 //------------------------------------------------------------------------------
18 void initialize(main_ctx&, ecs::basic_manager<element_symbol>& elements);
19 //------------------------------------------------------------------------------
20 } // namespace eagine
21 
22 #endif
std::ptrdiff_t span_size_t
Signed span size type used by eagine.
Definition: types.hpp:36
#define EAGINE_ID(NAME)
Macro for constructing instances of eagine::identifier.
Definition: identifier.hpp:353
Common code is placed in this namespace.
Definition: eagine.hpp:21
static constexpr auto cover(T *addr, S size) noexcept -> span_if_mutable< T >
Creates a span starting at the specified pointer and specified length.
Definition: span.hpp:465
static constexpr auto extract(api_result_value< Result, api_result_validity::never > &) noexcept -> Result &
Overload of extract for api_result_value.
Definition: c_api_wrap.hpp:270
static constexpr auto std_size(T v) noexcept
Converts argument to std size type.
Definition: types.hpp:52
auto from_json_text(string_view, main_ctx_parent) -> compound
Creates a compound from a JSON text string view.
static constexpr auto as_chars(block blk) noexcept
Converts a block into a span of characters.
Definition: block.hpp:48
static auto embed(identifier res_id, string_view src_path) noexcept -> embedded_resource
Triggers the embedding of data from a file on the specified path.
Definition: embed.hpp:105

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).