Skip to content

Multiple Vertex Streams

The same rectangle as before, but position and color now live in two separate vertex buffers instead of one interleaved buffer. Color is also packed as 4 bytes per vertex instead of 3 floats.

Released under the MIT License.