Add some new methods for making it easier to bind a buffer to a shader attribute.