code: public ImageBuffer getRaster(int id)
      {
          return rasters.get(UtilMath.clamp(id, 0, rasters.size() - 1));
      }
docs: Get the raster from its ID.
  
  @param id The raster ID (must be superior or equal to 0).
  @return The image buffer representing the raster.