cesium-native icon indicating copy to clipboard operation
cesium-native copied to clipboard

Adopt `rendererOptions` pattern from `RasterOverlayOptions` for `TilesetOptions`, too

Open kring opened this issue 3 years ago • 0 comments

In #471, we added a new rendererOptions field to RasterOverlayOptions. This allows a renderer (e.g. Unreal Engine / Cesium for Unreal) to pass data to an overlay that is then passed back to the renderer via IPrepareRendererResources::prepareRasterInLoadThread. This is important because many objects in both cesium-native and the renderer itself are unsafe to access from this background thread.

We should add a similar field to TilesetOptions and pass it to IPrepareRendererResources::prepareInLoadThread, for the same reason. See discussion here: https://github.com/CesiumGS/cesium-unreal/pull/698#discussion_r844726486

kring avatar Apr 07 '22 06:04 kring