initialises vertex shader resource