Added some getters to VertexBuffer to query its structure
Fixed bug with empty CustomGeometry