CTor
Stores a Vertex
Stores a Vertex
Append a whole Quad. This method provides a simple way to add a quadratic texture-view. And this as easily as if you would work with a Sprite.
Clear all Vertices but preserve the storage and capacity
Returns the current texture or null
Returns all Vertices
Returns all Vertices
Reserve (additional) space for the internal Vertex array
Set or reset a Texture
Returns the current amount of stored Vertices
Draw method which is called from the Window's draw method
A VertrexArray is a simple way to handle a performant textured shape. It provides a simple API and maintains the necessary properties. It is similar to a trimmed-down version of Shape, but does not contain possible unnecessary content.
See: Shape, Vertex