{"id":"compute.buffer--computeBufferTransferPolicy","name":"computeBufferTransferPolicy","owner":"yeho","package":"compute.buffer","kind":"thing","signature":"external thing computeBufferTransferPolicy","description":"A compute buffer transfer policy record carrying name, source, destination, synchronization, cpuOracleRequired, and related state.","context":"Describe compute buffer layouts, ownership, transfers, and validation.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","compute.buffer"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","compute.buffer"],"updated":"2026-09-09"},{"name":"destination","kind":"field","type":"text","description":"Stores destination as text.","signature":"text destination","tags":["thing","field","compute.buffer"],"updated":"2026-09-09"},{"name":"synchronization","kind":"field","type":"text","description":"Stores synchronization as text.","signature":"text synchronization","tags":["thing","field","compute.buffer"],"updated":"2026-09-09"},{"name":"cpuOracleRequired","kind":"field","type":"bool","description":"Stores cpu oracle required as bool.","signature":"bool cpuOracleRequired","tags":["thing","field","compute.buffer"],"updated":"2026-09-09"},{"name":"notes","kind":"field","type":"text","description":"Stores notes as text.","signature":"text notes","tags":["thing","field","compute.buffer"],"updated":"2026-09-09"},{"name":"computeBufferTransferPolicy","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"source","type":"text","description":"Source."},{"name":"destination","type":"text","description":"Destination."},{"name":"synchronization","type":"text","description":"Synchronization."},{"name":"cpuOracleRequired","type":"bool","description":"Cpu oracle required."},{"name":"notes","type":"text","description":"Notes."}],"returns":"void","signature":"computeBufferTransferPolicy(text name, text source, text destination, text synchronization, bool cpuOracleRequired, text notes)","description":"Compute buffer transfer policy.","tags":["thing","constructor","compute.buffer"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.buffer"],"exampleId":"method-Describe-7","updated":"2026-09-09"}],"tags":["buffer","compute","compute.buffer","cpu","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/buffer/buffer.yh","line":39,"sha256":"16a6aed3a11a796843cd162a1ccc118898f76191ebe330e1a7f9d8fb67eea5ac"},"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 computeBufferTransferPolicy","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.buffer\n\n// Describe compute buffer layouts, ownership, transfers, and validation.\ncomputeBufferTransferPolicy sample = computeBufferTransferPolicy(\"Nova\", \"example\", \"destination\", \"synchronization\", true, \"notes\")\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_buffer__computebuffertransferpolicy\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"ff00eb0ea5c7608193f306ca12cc68ef8d8b907be2b9fac63c2a98151d2ca91b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-7","title":"computeBufferTransferPolicy.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.buffer\n\n// Describe.\ncomputeBufferTransferPolicy instance = computeBufferTransferPolicy(\"Nova\", \"example\", \"destination\", \"synchronization\", true, \"notes\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_buffer__computebuffertransferpolicy\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"23e0eda29a0841dc2d2ab240565d6d9a19ff2e95f30e2e8c0800fa6117552b1b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","source","destination","synchronization","cpuOracleRequired","notes","computeBufferTransferPolicy","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.buffer--computeBufferTransferPolicy","json":"https://demonhunterlabs.com/reference/items/compute.buffer--computeBufferTransferPolicy.json","markdown":"https://demonhunterlabs.com/reference/text/compute.buffer--computeBufferTransferPolicy.md"}
