Add a modified SMeshBuffer class