Shortcuts

Template Function ripple::fill_indices

Function Documentation

template<size_t Size, typename Iterator, iterator_enable_t<Iterator> = 0>
auto ripple::fill_indices(std::array<uint32_t, Size> &indices, bool &set, Iterator &&it) noexcept -> void

Fills the given indices container if the iterator is an iterator.

Note

This overload is for iterators.

Note

This overload is for non-iterators, and does nothing.

Parameters
  • indices: The indices to fill from the iterator.

  • set: If the indices have previously been set.

  • it: The iterator to use to set the indices.

Template Parameters
  • Size: The size of the indices container.

  • Iterator: The type of the iterator.

Parameters
  • indices: The indices to fill from the iterator.

  • set: If the indices have previously been set.

  • it: The iterator to use to set the indices.

Template Parameters
  • Size: The size of the indices container.

  • Iterator: The type of the iterator.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples