Added util functionality for generating vertex buffer for standard types.