{"id":"dolphin.lightlab--DolphinGpuTrafficForView","name":"DolphinGpuTrafficForView","owner":"dolphin","package":"dolphin.lightlab","kind":"function","signature":"external DolphinGpuTrafficForView(dolphinGpuFrameSample frame,int view) returns dolphinGpuTraffic","description":"Dolphin gpu traffic for view.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[{"name":"frame","type":"dolphinGpuFrameSample","description":"Supply frame as dolphinGpuFrameSample."},{"name":"view","type":"int","description":"Supply view as int."}],"returns":"dolphinGpuTraffic","members":[],"tags":["cpu","dolphin","dolphin.lightlab","function","lightlab","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/gpu_traffic.yh","line":35,"sha256":"7c15e75045affb9f728f2e035f4701ec0a75c92224e61514efb1de0b48414a68"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use DolphinGpuTrafficForView","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.lightlab\n\n// Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.\ndolphinGpuFrameSample frame = dolphinGpuFrameSample()\nint view = 1\ndolphinGpuTraffic result = DolphinGpuTrafficForView(frame, view)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingputrafficforview\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.lightlab\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/lightlab\"\n\n[[dependencies]]\npackage = \"dolphin.materials\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/materials\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"d882e08752195f76e916b7dd28a83d54b04b3186f026364cadb3fa86dd120dcb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--DolphinGpuTrafficForView","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--DolphinGpuTrafficForView.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--DolphinGpuTrafficForView.md"}
