VertexArray.opIndex

Get a read-write access to a vertex by its index

This function doesn't check index, it must be in range [0, getVertexCount() - 1]. The behavior is undefined otherwise.

class VertexArray
ref
opIndex
(
size_t index
)

Parameters

index size_t

Index of the vertex to get

Return Value

Type: Vertex

Reference to the index-th vertex.

Meta