|
static auto | add_triangle_adjacency (std::shared_ptr< generator > gen, drawing_variant var) noexcept |
| Constructs instances of triangle_adjacency_gen modifier.
|
|
static auto | add_triangle_adjacency (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of triangle_adjacency_gen modifier.
|
|
static auto | center (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of centered_gen modifier.
|
|
static auto | unit_cube (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_cube_gen. More...
|
|
static constexpr auto | operator| (generator_capability a, generator_capability b) noexcept -> generator_capabilities |
| Bitwise-or operator for generator_capability enumerators.
|
|
static auto | unit_icosahedron (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_icosahedron_gen. More...
|
|
static auto | occlude (std::shared_ptr< generator > gen, span_size_t samples=8) noexcept |
| Constructs instances of occluded_gen modifier.
|
|
static auto | rebox (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of reboxed_gen modifier.
|
|
static auto | unit_round_cube (vertex_attrib_bits attr_bits, int divisions) |
| Constructs instances of unit_round_cube_gen. More...
|
|
static auto | scale (std::shared_ptr< generator > gen, std::array< float, 3 > s) noexcept |
| Constructs instances of scaled_gen modifier.
|
|
static auto | unit_screen (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_screen_gen. More...
|
|
static auto | 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 | unit_sphere (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_sphere_gen. More...
|
|
static auto | to_patches (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of to_patches_gen modifier.
|
|
static auto | to_quads (std::shared_ptr< generator > gen) noexcept |
| Constructs instances of to_quads_gen modifier.
|
|
static auto | 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 | unit_torus (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_torus_gen. More...
|
|
static auto | translate (std::shared_ptr< generator > gen, std::array< float, 3 > d) noexcept |
| Constructs instances of translated_gen modifier.
|
|
static auto | 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 | unit_twisted_torus (vertex_attrib_bits attr_bits) |
| Constructs instances of unit_twisted_torus_gen. More...
|
|
static auto | from_value_tree (valtree::compound source, main_ctx_parent parent) |
| Constructs instances of value_tree_loader. More...
|
|
static constexpr auto | all_vertex_attrib_bits () noexcept -> vertex_attrib_bits |
| Returns vertex_attrib_bits value with all bits set.
|
|
static constexpr auto | operator| (vertex_attrib_kind a, vertex_attrib_kind b) noexcept -> vertex_attrib_bits |
| Bitwise-or operator for vertex_attrib_kind bits.
|
|
static constexpr auto | 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 | 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 | 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 | 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 | 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 | 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 | attrib_values_per_vertex (vertex_attrib_variant vav) noexcept |
| Gets the default number of values per vertex for an attribute variant.
|
|
Shape generator and loader code is placed in this namespace.