void VertexBuffer::doadvance() { VertexDeclaration* vd = m_vertexdeclaration; if( vd ) { vd->advance(); } }