Go to the documentation of this file.
9 #ifndef EAGINE_SHAPES_REBOXED_HPP
10 #define EAGINE_SHAPES_REBOXED_HPP
25 reboxed_gen(std::shared_ptr<generator> gen) noexcept
33 static inline auto rebox(std::shared_ptr<generator> gen) noexcept {
34 return std::make_unique<reboxed_gen>(std::move(gen));
41 #if !EAGINE_LINK_LIBRARY || defined(EAGINE_IMPLEMENTING_LIBRARY)
42 #include <eagine/shapes/reboxed.inl>
45 #endif // EAGINE_SHAPES_REBOXED_HPP
Common code is placed in this namespace.
Definition: eagine.hpp:21
Generator modifier recalculating the vertex box coords values.
Definition: reboxed.hpp:22
Class designating an vertex attribute variant in a shape generator.
Definition: vertex_attrib.hpp:104
static auto rebox(std::shared_ptr< generator > gen) noexcept
Constructs instances of reboxed_gen modifier.
Definition: reboxed.hpp:33
void attrib_values(vertex_attrib_variant, span< float >) override
Fetches the vertex attribute data for the specified variant as floats.
Base class for delegating shape generators based on other generators.
Definition: delegated.hpp:21