mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
docs(globe): pickPosition reads the last drawn frame
Also corrects the separate drape pass cost in the phase 2 report to 0.8–0.95 ms, as measured in the spike.
This commit is contained in:
1 parent
80cc0b536e
commit
179c846f3e
1 file changed
+2
@@ -207,6 +207,8 @@
|
|||||||
* pickGlobe: where the ray through a window position meets the globe
|
* pickGlobe: where the ray through a window position meets the globe
|
||||||
* surface (terrain, not tiles or models; Cesium's globe.pick of the camera's
|
* surface (terrain, not tiles or models; Cesium's globe.pick of the camera's
|
||||||
* pick ray); an engine without a terrain surface answers the ellipsoid.
|
* pick ray); an engine without a terrain surface answers the ellipsoid.
|
||||||
|
* pickPosition reads the depth of the last drawn frame: after a camera change,
|
||||||
|
* request a render and wait a frame before reading it.
|
||||||
* @property {GlobeProjector} projector
|
* @property {GlobeProjector} projector
|
||||||
* @property {{ preUpdate: EngineEvent, preRender: EngineEvent, postRender: EngineEvent }} frames Listeners receive a timestamp in ms.
|
* @property {{ preUpdate: EngineEvent, preRender: EngineEvent, postRender: EngineEvent }} frames Listeners receive a timestamp in ms.
|
||||||
* @property {GlobeRender} render
|
* @property {GlobeRender} render
|
||||||
|
|||||||
Reference in new issue
Block a user