Extracted vertex buffer/array calls into methods