cesium-native
cesium-native copied to clipboard
Incorporate Render Thread into Async System
This may be looking forward a little bit, but it might be useful to have a consistent way to run RHI-level commands on the render thread. This is possible in Unreal and I assume it would be possible in O3DE and any other modern rendering engine. The weird part will be of course that the RHI API you would be interested in running on the render thread will be different per rendering engine. Even still we can create interfaces for common GPU tasks like generating mip-maps or running occlusion queries, these interfaces can be implemented separately on each rendering engine using their RHI and their shading language.
This is not completely urgent since this is not a blocker, any such RHI task can still be implemented in Unreal without a Cesium Native abstraction. But going forward, this may be a way to bring GPU compute resources into Cesium Native, even if in a heavily abstracted / indirect way.