|
static auto | eagine::shapes::add_triangle_adjacency (std::shared_ptr< generator > gen, drawing_variant var) noexcept |
| Constructs instances of triangle_adjacency_gen modifier.
|
|
static auto | eagine::shapes::add_triangle_adjacency (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of triangle_adjacency_gen modifier.
|
|
static auto | eagine::shapes::center (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of centered_gen modifier.
|
|
static auto | eagine::shapes::unit_cube (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_cube_gen. More...
|
|
static constexpr auto | eagine::shapes::operator| (generator_capability a, generator_capability b) noexcept -> generator_capabilities |
| Bitwise-or operator for generator_capability enumerators.
|
|
static auto | eagine::shapes::unit_icosahedron (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_icosahedron_gen. More...
|
|
static auto | eagine::shapes::occlude (std::shared_ptr< generator > gen, span_size_t samples=8) noexcept |
| Constructs instances of occluded_gen modifier.
|
|
static auto | eagine::shapes::rebox (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of reboxed_gen modifier.
|
|
static auto | eagine::shapes::unit_round_cube (vertex_attrib_bits attr_bits, int divisions) |
| Constructs instances of unit_round_cube_gen. More...
|
|
static auto | eagine::shapes::scale (std::shared_ptr< generator > gen, std::array< float, 3 > s) noexcept |
| Constructs instances of scaled_gen modifier.
|
|
static auto | eagine::shapes::unit_screen (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_screen_gen. More...
|
|
static auto | eagine::shapes::unit_sphere (vertex_attrib_bits attr_bits, valid_if_greater_than< int, 2 > rings, valid_if_greater_than< int, 3 > sections) |
| Constructs instances of unit_sphere_gen. More...
|
|
static auto | eagine::shapes::unit_sphere (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_sphere_gen. More...
|
|
static auto | eagine::shapes::to_patches (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of to_patches_gen modifier.
|
|
static auto | eagine::shapes::to_quads (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of to_quads_gen modifier.
|
|
static auto | eagine::shapes::unit_torus (vertex_attrib_bits attr_bits, valid_if_greater_than< int, 4 > rings, valid_if_greater_than< int, 3 > sections, valid_if_ge0_lt1< float > radius_ratio) |
| Constructs instances of unit_torus_gen.
|
|
static auto | eagine::shapes::unit_torus (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_torus_gen. More...
|
|
static auto | eagine::shapes::translate (std::shared_ptr< generator > gen, std::array< float, 3 > d) noexcept |
| Constructs instances of translated_gen modifier.
|
|
static auto | eagine::shapes::unit_twisted_torus (vertex_attrib_bits attr_bits, int twist, valid_if_greater_than< int, 2 > rings, valid_if_greater_than< int, 3 > sections, valid_if_ge0_lt1< float > radius_ratio) |
| Constructs instances of unit_twisted_torus_gen. More...
|
|
static auto | eagine::shapes::unit_twisted_torus (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_twisted_torus_gen. More...
|
|
static auto | eagine::shapes::from_value_tree (valtree::compound source, main_ctx_parent parent) |
| Constructs instances of value_tree_loader. More...
|
|
static constexpr auto | eagine::shapes::all_vertex_attrib_bits () noexcept -> vertex_attrib_bits |
| Returns vertex_attrib_bits value with all bits set.
|
|
static constexpr auto | eagine::shapes::operator| (vertex_attrib_kind a, vertex_attrib_kind b) noexcept -> vertex_attrib_bits |
| Bitwise-or operator for vertex_attrib_kind bits.
|
|
static constexpr auto | eagine::shapes::operator/ (vertex_attrib_kind attrib, span_size_t variant_index) noexcept -> vertex_attrib_variant |
| Operator for constructing of vertex_attrib_variant from kind and index.
|
|
static constexpr auto | eagine::shapes::operator+ (vertex_attrib_variant a) noexcept -> vertex_attrib_variants< 1 > |
| Operator for creating of single element array of vertex attrib variant. More...
|
|
static constexpr auto | eagine::shapes::operator+ (vertex_attrib_variant a, vertex_attrib_variant b) noexcept -> vertex_attrib_variants< 2 > |
| Operator for creating of two element array of vertex attrib variants. More...
|
|
template<std::size_t N> |
static constexpr auto | eagine::shapes::operator+ (const vertex_attrib_variants< N > &a, vertex_attrib_variant b) noexcept -> vertex_attrib_variants< N+1 > |
| Operator for concatenation of vertex attrib variants into an array. More...
|
|
template<std::size_t N> |
static auto | eagine::shapes::get_attrib_bits (const vertex_attrib_variants< N > &vaals) noexcept -> vertex_attrib_bits |
| Extracts vertex attribute kind bits from and vertex attribute variants array. More...
|
|
static auto | eagine::shapes::attrib_values_per_vertex (vertex_attrib_kind attr) noexcept -> span_size_t |
| Gets the default number of values per vertex for an attribute kind.
|
|
static auto | eagine::shapes::attrib_values_per_vertex (vertex_attrib_variant vav) noexcept |
| Gets the default number of values per vertex for an attribute variant.
|
|
template<typename A > |
auto | eagine::oglp::translate (const basic_gl_api< A > &, shapes::primitive_type) noexcept -> primitive_type |
| Translates from shape primitive type to GL primitive type. More...
|
|
template<typename A > |
auto | eagine::oglp::translate (const basic_gl_api< A > &, shapes::attrib_data_type) noexcept -> data_type |
| Translates from shape attribute data type to GL data type. More...
|
|
template<typename A > |
auto | eagine::oglp::translate (const basic_gl_api< A > &, shapes::index_data_type) noexcept -> index_data_type |
| Translates from shape index data type to GL data type. More...
|
|
template<typename A > |
auto | eagine::oglp::type_size (const basic_gl_api< A > &, shapes::attrib_data_type) noexcept -> span_size_t |
| Returns the byte size of a shape attribute data type. More...
|
|
template<typename A > |
auto | eagine::oglp::type_size (const basic_gl_api< A > &, shapes::index_data_type) noexcept -> span_size_t |
| Returns the byte size of a shape index data type. More...
|
|
template<typename A > |
void | eagine::oglp::draw_using_instructions (const basic_gl_api< A > &api, span< const shape_draw_operation > ops) noexcept |
| Takes a sequence of draw operations from a shape generator and draws them. More...
|
|
template<typename A > |
void | eagine::oglp::draw_instanced_using_instructions (const basic_gl_api< A > &api, span< const shape_draw_operation > ops, gl_types::sizei_type inst_count) noexcept |
| Takes a sequence of draw operations from a shape generator and draws them. More...
|
|
template<typename A > |
void | eagine::oglp::draw_using_instructions (const basic_gl_api< A > &api, span< const shape_draw_operation > ops, const shape_draw_subset &subs) noexcept |
| Takes a sequence of draw operations from a shape generator and draws them. More...
|
|
template<typename A > |
void | eagine::oglp::draw_instanced_using_instructions (const basic_gl_api< A > &api, span< const shape_draw_operation > ops, const shape_draw_subset &subs, gl_types::sizei_type inst_count) noexcept |
| Takes a sequence of draw operations from a shape generator and draws them. More...
|
|