{"id":"dolphin.lightlab--dolphinLightSample","name":"dolphinLightSample","owner":"dolphin","package":"dolphin.lightlab","kind":"thing","signature":"external thing dolphinLightSample","description":"A dolphin light sample record carrying r, shape.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[],"returns":"void","members":[{"name":"r","kind":"field","type":"float","description":"Stores r as float.","signature":"float r","tags":["thing","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"shape","kind":"field","type":"int","description":"Stores shape as int.","signature":"int shape","tags":["thing","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"dolphinLightSample","kind":"constructor","parameters":[],"returns":"void","signature":"dolphinLightSample()","description":"Dolphin light sample.","tags":["thing","constructor","dolphin.lightlab"],"updated":"2026-09-09"}],"tags":["cpu","dolphin","dolphin.lightlab","lightlab","source-example","thing"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/transport.yh","line":54,"sha256":"bc741924a5c25f24d5d168baa7ff6aa2b2a957540a52d9feead1a0809d0e84e6"},"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 dolphinLightSample","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.\ndolphinLightSample sample = dolphinLightSample()\nConsole.Log(Text.From(sample.r))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphinlightsample\"\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":"3802c54776df2cc710261609e11d6ad9f3235bb9cb6b1b8ef4560ccf19b651fc","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["r","shape","dolphinLightSample"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--dolphinLightSample","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--dolphinLightSample.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--dolphinLightSample.md"}
