{"id":"dolphin.lightlab--dolphinGpuSpatialResolver","name":"dolphinGpuSpatialResolver","owner":"dolphin","package":"dolphin.lightlab","kind":"class","signature":"external class dolphinGpuSpatialResolver","description":"A dolphin gpu spatial resolver object with the operations listed below.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[],"returns":"void","members":[{"name":"dolphinGpuSpatialResolver","kind":"constructor","parameters":[],"returns":"void","signature":"dolphinGpuSpatialResolver()","description":"Dolphin gpu spatial resolver.","tags":["class","constructor","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"Resolve","kind":"method","parameters":[{"name":"pixels","type":"buffer of int","description":"Pixels."},{"name":"geometry","type":"buffer of float","description":"Geometry."},{"name":"history","type":"buffer of float","description":"History."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."},{"name":"exposure","type":"float","description":"Exposure."},{"name":"denoise","type":"bool","description":"Denoise."}],"returns":"bool","signature":"Resolve(buffer of int pixels,buffer of float geometry,buffer of float history,int width,int height,float exposure,bool denoise) returns bool","description":"Resolve.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-Resolve-1","updated":"2026-09-09"},{"name":"ResolveWithTone","kind":"method","parameters":[{"name":"pixels","type":"buffer of int","description":"Pixels."},{"name":"geometry","type":"buffer of float","description":"Geometry."},{"name":"history","type":"buffer of float","description":"History."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."},{"name":"exposure","type":"float","description":"Exposure."},{"name":"denoise","type":"bool","description":"Denoise."},{"name":"tone","type":"int","description":"Tone."}],"returns":"bool","signature":"ResolveWithTone(buffer of int pixels,buffer of float geometry,buffer of float history,int width,int height,float exposure,bool denoise,int tone) returns bool","description":"Resolve with tone.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-ResolveWithTone-2","updated":"2026-09-09"}],"tags":["class","cpu","dolphin","dolphin.lightlab","lightlab","method","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/gpu_resolve.yh","line":141,"sha256":"4fb5dcc7b05ebeb0a8fd3ace668045492a8bf95741cad3168d715784b33adac0"},"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 dolphinGpuSpatialResolver","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.\ndolphinGpuSpatialResolver sample = dolphinGpuSpatialResolver()\nConsole.Log(\"Created dolphinGpuSpatialResolver\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpuspatialresolver\"\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":"18f302ecfd5ffb832ef7ac5cb415244d029dcfb9e25dd27e1cad279de5b9f538","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Resolve-1","title":"dolphinGpuSpatialResolver.Resolve","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Resolve.\ndolphinGpuSpatialResolver instance = dolphinGpuSpatialResolver()\nbuffer of int argument_pixels\nargument_pixels.Resize(8)\nbuffer of float argument_geometry\nargument_geometry.Resize(8)\nbuffer of float argument_history\nargument_history.Resize(8)\nint argument_width = 1\nint argument_height = 1\nfloat argument_exposure = 1.0\nbool argument_denoise = true\nbool result = instance.Resolve(argument_pixels, argument_geometry, argument_history, argument_width, argument_height, argument_exposure, argument_denoise)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpuspatialresolver\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"ac6b2b3b16d8564c7ffc0e1a065165e3eef17c6bfd53be4007db550b45c61e02","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ResolveWithTone-2","title":"dolphinGpuSpatialResolver.ResolveWithTone","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Resolve with tone.\ndolphinGpuSpatialResolver instance = dolphinGpuSpatialResolver()\nbuffer of int argument_pixels\nargument_pixels.Resize(8)\nbuffer of float argument_geometry\nargument_geometry.Resize(8)\nbuffer of float argument_history\nargument_history.Resize(8)\nint argument_width = 1\nint argument_height = 1\nfloat argument_exposure = 1.0\nbool argument_denoise = true\nint argument_tone = 1\nbool result = instance.ResolveWithTone(argument_pixels, argument_geometry, argument_history, argument_width, argument_height, argument_exposure, argument_denoise, argument_tone)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpuspatialresolver\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"a286a06ab64540d311fe6a85a513db7c8aa4e2dea3454f001c044b13dab259e2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["dolphinGpuSpatialResolver","Resolve","ResolveWithTone"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--dolphinGpuSpatialResolver","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--dolphinGpuSpatialResolver.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--dolphinGpuSpatialResolver.md"}
