[{"data":1,"prerenderedAt":138},["ShallowReactive",2],{"xJVqL2VHCW":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":137,"_id":4},"VkBufferCollectionFUCHSIA","Opaque handle to a buffer collection object","VK_FUCHSIA_buffer_collection","handles",[],{"type":10,"children":11,"toc":135},"root",[12,28,33,38,51,129],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","Fuchsia’s FIDL-based Sysmem service interoperates with Vulkan via the\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/extensions/VK_FUCHSIA_buffer_collection",[25],{"type":18,"value":6},{"type":18,"value":27}," extension.",{"type":13,"tag":14,"props":29,"children":30},{},[31],{"type":18,"value":32},"A buffer collection is a set of one or more buffers which were allocated\ntogether as a group and which all have the same properties.\nThese properties describe the buffers' internal representation, such as its\ndimensions and memory layout.\nThis ensures that all of the buffers can be used interchangeably by tasks\nthat require swapping among multiple buffers, such as double-buffered\ngraphics rendering.",{"type":13,"tag":14,"props":34,"children":35},{},[36],{"type":18,"value":37},"On Fuchsia, the Sysmem service uses buffer collections as a core construct\nin its design.",{"type":13,"tag":14,"props":39,"children":40},{},[41,43,49],{"type":18,"value":42},"Buffer collections are represented by ",{"type":13,"tag":44,"props":45,"children":47},"code",{"className":46},[],[48],{"type":18,"value":4},{"type":18,"value":50},"\nhandles:",{"type":13,"tag":52,"props":53,"children":54},"code-group",{},[55,85],{"type":13,"tag":56,"props":57,"children":63},"pre",{"className":58,"code":59,"filename":60,"language":61,"meta":62,"style":62},"language-c shiki shiki-themes github-light-default github-dark-default","VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBufferCollectionFUCHSIA)\n","C","c","",[64],{"type":13,"tag":44,"props":65,"children":66},{"__ignoreMap":62},[67],{"type":13,"tag":68,"props":69,"children":72},"span",{"class":70,"line":71},"line",1,[73,79],{"type":13,"tag":68,"props":74,"children":76},{"style":75},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[77],{"type":18,"value":78},"VK_DEFINE_NON_DISPATCHABLE_HANDLE",{"type":13,"tag":68,"props":80,"children":82},{"style":81},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[83],{"type":18,"value":84},"(VkBufferCollectionFUCHSIA)\n",{"type":13,"tag":56,"props":86,"children":91},{"className":87,"code":88,"filename":89,"language":90,"meta":62,"style":62},"language-rs shiki shiki-themes github-light-default github-dark-default","#[repr(transparent)]\npub struct BufferCollectionFUCHSIA(_);\n","Rust","rs",[92],{"type":13,"tag":44,"props":93,"children":94},{"__ignoreMap":62},[95,103],{"type":13,"tag":68,"props":96,"children":97},{"class":70,"line":71},[98],{"type":13,"tag":68,"props":99,"children":100},{"style":81},[101],{"type":18,"value":102},"#[repr(transparent)]\n",{"type":13,"tag":68,"props":104,"children":106},{"class":70,"line":105},2,[107,113,118,124],{"type":13,"tag":68,"props":108,"children":110},{"style":109},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[111],{"type":18,"value":112},"pub",{"type":13,"tag":68,"props":114,"children":115},{"style":109},[116],{"type":18,"value":117}," struct",{"type":13,"tag":68,"props":119,"children":121},{"style":120},"--shiki-default:#953800;--shiki-dark:#FFA657",[122],{"type":18,"value":123}," BufferCollectionFUCHSIA",{"type":13,"tag":68,"props":125,"children":126},{"style":81},[127],{"type":18,"value":128},"(_);\n",{"type":13,"tag":130,"props":131,"children":132},"style",{},[133],{"type":18,"value":134},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":62,"searchDepth":105,"depth":105,"links":136},[],"markdown",1729612434938]