lua.wetgenes.grd.clear
g:clear(color)
Fill this grd with a single color, the color passed in depends on the format of the grd, it could be an index value for 8bit images or a 32bit value for rgba images.
Returns nil,error if something goes wrong so can be used with assert otherwise returns g so that we can chain the result.