/** * Constructs a new compiler. */ protected LayerCompiler() { read_cb = new SmartReadCallback(); render_order = -1; fade_lods = false; overlay = false; aoi_xmin = double.MaxValue; aoi_ymin = double.MaxValue; aoi_xmax = double.MinValue; aoi_ymax = double.MinValue; localize_resources = true; compress_textures = false; }
/** * Sets the read callback that terrain intersectors can share. * * @param cb * Read callback for caching and paged-lod traversal */ public void setTerrainReadCallback(SmartReadCallback cb) { terrain_read_cb = cb; }