open override fun upload(format: VertexFormat, data: ByteBuffer): GpuBufferSlice Uploads vertex data.
The returned slice's byte offset must be aligned to VertexFormat.vertexSize for format.
Uploads index data.
The returned slice's byte offset must be aligned to IndexType.bytes for type.