index

Index the input vertex range into a range of indices with the given Indexer. The shared vertices will be put into the given output range. (each vertex is given once)

index
(
VR
VOR
Indexer
)
(,,
Indexer indexer = LruIndexer!(ushort, ElementType!VR)(8)
)
if (
isInputRange!VR &&
!isFace!(ElementType!VR)
&&
isOutputRange!(VOR, ElementType!VR)
&&
isIndexer!Indexer
&&
is(ElementType!VR == Indexer.VertexType)
)

Meta