Now takes in a custom object with attributes, uniforms etc. The WebGLPointsLayer uses this to handle image icons.