{"id":"dolphin.lightlab--dolphinGpuSurfaceCache","name":"dolphinGpuSurfaceCache","owner":"dolphin","package":"dolphin.lightlab","kind":"class","signature":"external class dolphinGpuSurfaceCache","description":"A dolphin gpu surface cache record carrying primitiveCount, geometryGeneration, wallMicros, addressesReady.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[],"returns":"void","members":[{"name":"primitiveCount","kind":"field","type":"int","description":"Stores primitive count as int.","signature":"int primitiveCount","tags":["class","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"geometryGeneration","kind":"field","type":"int","description":"Stores geometry generation as int.","signature":"int geometryGeneration","tags":["class","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"wallMicros","kind":"field","type":"int","description":"Stores wall micros as int.","signature":"int wallMicros","tags":["class","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"addressesReady","kind":"field","type":"bool","description":"Stores addresses ready as bool.","signature":"bool addressesReady","tags":["class","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"dolphinGpuSurfaceCache","kind":"constructor","parameters":[],"returns":"void","signature":"dolphinGpuSurfaceCache()","description":"Dolphin gpu surface cache.","tags":["class","constructor","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"Begin","kind":"method","parameters":[{"name":"primitiveCount","type":"int","description":"Primitive count."},{"name":"capacity","type":"int","description":"Capacity."}],"returns":"bool","signature":"Begin(int primitiveCount,int capacity) returns bool","description":"Begin.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-Begin-5","updated":"2026-09-09"},{"name":"Record","kind":"method","parameters":[{"name":"label","type":"text","description":"Label."},{"name":"symbol","type":"text","description":"Symbol."},{"name":"began","type":"int","description":"Began."},{"name":"gpu","type":"int","description":"Gpu."},{"name":"bytes","type":"int","description":"Bytes."}],"returns":"void","signature":"Record(text label,text symbol,int began,int gpu,int bytes)","description":"Record.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-Record-6","updated":"2026-09-09"},{"name":"Update","kind":"method","parameters":[{"name":"world","type":"dolphinLightWorld","description":"World."},{"name":"revision","type":"int","description":"Revision."},{"name":"budget","type":"int","description":"Budget."}],"returns":"bool","signature":"Update(dolphinLightWorld world,int revision,int budget) returns bool","description":"Update.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-Update-7","updated":"2026-09-09"},{"name":"Valid","kind":"method","parameters":[{"name":"record","type":"int","description":"Record."}],"returns":"bool","signature":"Valid(int record) returns bool","description":"Valid.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-Valid-8","updated":"2026-09-09"},{"name":"Debug","kind":"method","parameters":[{"name":"view","type":"dolphinGpuView","description":"View."},{"name":"mode","type":"int","description":"Mode."}],"returns":"bool","signature":"Debug(dolphinGpuView view,int mode) returns bool","description":"Debug.","tags":["class","method","dolphin.lightlab"],"exampleId":"method-Debug-9","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_surface_cache.yh","line":110,"sha256":"afd98efc1b9ce2c389096a2cb8d42b38598b22a3a70e1d399faedd322d6ba7df"},"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 dolphinGpuSurfaceCache","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.\ndolphinGpuSurfaceCache sample = dolphinGpuSurfaceCache()\nConsole.Log(Text.From(sample.primitiveCount))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpusurfacecache\"\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":"af92aa9e0e6dd22db9ad9b9861f6bf8a59c734a5982b788e77f928e6af8fc676","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Begin-5","title":"dolphinGpuSurfaceCache.Begin","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Begin.\ndolphinGpuSurfaceCache instance = dolphinGpuSurfaceCache()\nint argument_primitiveCount = 1\nint argument_capacity = 1\nbool result = instance.Begin(argument_primitiveCount, argument_capacity)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpusurfacecache\"\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":"9940c35a0d28bedade6c5dc2c937379cca0548ec83c070b1df92514d7b5c0750","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Record-6","title":"dolphinGpuSurfaceCache.Record","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Record.\ndolphinGpuSurfaceCache instance = dolphinGpuSurfaceCache()\ntext argument_label = \"argument label\"\ntext argument_symbol = \"argument symbol\"\nint argument_began = 1\nint argument_gpu = 1\nint argument_bytes = 4\ninstance.Record(argument_label, argument_symbol, argument_began, argument_gpu, argument_bytes)\nConsole.Log(\"Record completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpusurfacecache\"\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":"938d06d464c8680229d6532b8b585bb3829570eb033903f57419701b9b85aecb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Update-7","title":"dolphinGpuSurfaceCache.Update","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Update.\ndolphinGpuSurfaceCache instance = dolphinGpuSurfaceCache()\ndolphinLightWorld argument_world = dolphinLightWorld()\nint argument_revision = 1\nint argument_budget = 1\nbool result = instance.Update(argument_world, argument_revision, argument_budget)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpusurfacecache\"\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":"3b931e57c60842801b429ba0fda9418b7d4b57930b11dcb6fd77b2b9208d02ff","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Valid-8","title":"dolphinGpuSurfaceCache.Valid","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Valid.\ndolphinGpuSurfaceCache instance = dolphinGpuSurfaceCache()\nint argument_record = 1\nbool result = instance.Valid(argument_record)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpusurfacecache\"\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":"d0447882825ae86143b6188787e8fbc5cc707fe031d586f607930268a314dcbb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Debug-9","title":"dolphinGpuSurfaceCache.Debug","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.lightlab\n\n// Debug.\ndolphinGpuSurfaceCache instance = dolphinGpuSurfaceCache()\ndolphinGpuView argument_view = dolphinGpuView()\nint argument_mode = 1\nbool result = instance.Debug(argument_view, argument_mode)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphingpusurfacecache\"\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":"7d18037383d1f6b4f2ec85d6f1f1e8e025913bc357d0dc93725056f835d42d21","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["primitiveCount","geometryGeneration","wallMicros","addressesReady","dolphinGpuSurfaceCache","Begin","Record","Update","Valid","Debug"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--dolphinGpuSurfaceCache","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--dolphinGpuSurfaceCache.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--dolphinGpuSurfaceCache.md"}
