Moved vertex layout to memory.h