[{"data":1,"prerenderedAt":654},["ShallowReactive",2],{"OdpTLTPCJ7":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":653,"_id":4},"vkGetBufferCollectionPropertiesFUCHSIA","Retrieve properties from a buffer collection","VK_FUCHSIA_buffer_collection","protos",[],{"type":10,"children":11,"toc":651},"root",[12,45,57,336,388,393,439,479,510,547,645],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35,37,43],{"type":18,"value":19},"text","After constraints have been set on the buffer collection by calling\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/vkSetBufferCollectionImageConstraintsFUCHSIA",[25],{"type":18,"value":26},"vkSetBufferCollectionImageConstraintsFUCHSIA",{"type":18,"value":28}," or\n",{"type":13,"tag":21,"props":30,"children":32},{"href":31},"/man/vkSetBufferCollectionBufferConstraintsFUCHSIA",[33],{"type":18,"value":34},"vkSetBufferCollectionBufferConstraintsFUCHSIA",{"type":18,"value":36},", call\n",{"type":13,"tag":38,"props":39,"children":41},"code",{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," to retrieve the negotiated and\nfinalized properties of the buffer collection.",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The call to ",{"type":13,"tag":38,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," is synchronous.\nIt waits for the Sysmem format negotiation and buffer collection allocation\nto complete before returning.",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,158],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetBufferCollectionPropertiesFUCHSIA(\n VkDevice device,\n VkBufferCollectionFUCHSIA collection,\n VkBufferCollectionPropertiesFUCHSIA* pProperties);\n","C","c","",[70],{"type":13,"tag":38,"props":71,"children":72},{"__ignoreMap":68},[73,95,115,133],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[83],{"type":18,"value":84},"VkResult ",{"type":13,"tag":74,"props":86,"children":88},{"style":87},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[89],{"type":18,"value":4},{"type":13,"tag":74,"props":91,"children":92},{"style":81},[93],{"type":18,"value":94},"(\n",{"type":13,"tag":74,"props":96,"children":98},{"class":76,"line":97},2,[99,104,110],{"type":13,"tag":74,"props":100,"children":101},{"style":81},[102],{"type":18,"value":103}," VkDevice ",{"type":13,"tag":74,"props":105,"children":107},{"style":106},"--shiki-default:#953800;--shiki-dark:#FFA657",[108],{"type":18,"value":109},"device",{"type":13,"tag":74,"props":111,"children":112},{"style":81},[113],{"type":18,"value":114},",\n",{"type":13,"tag":74,"props":116,"children":118},{"class":76,"line":117},3,[119,124,129],{"type":13,"tag":74,"props":120,"children":121},{"style":81},[122],{"type":18,"value":123}," VkBufferCollectionFUCHSIA ",{"type":13,"tag":74,"props":125,"children":126},{"style":106},[127],{"type":18,"value":128},"collection",{"type":13,"tag":74,"props":130,"children":131},{"style":81},[132],{"type":18,"value":114},{"type":13,"tag":74,"props":134,"children":136},{"class":76,"line":135},4,[137,142,148,153],{"type":13,"tag":74,"props":138,"children":139},{"style":81},[140],{"type":18,"value":141}," VkBufferCollectionPropertiesFUCHSIA",{"type":13,"tag":74,"props":143,"children":145},{"style":144},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[146],{"type":18,"value":147},"*",{"type":13,"tag":74,"props":149,"children":150},{"style":106},[151],{"type":18,"value":152}," pProperties",{"type":13,"tag":74,"props":154,"children":155},{"style":81},[156],{"type":18,"value":157},");\n",{"type":13,"tag":62,"props":159,"children":164},{"className":160,"code":161,"filename":162,"language":163,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_buffer_collection_properties_fuchsia(\n device: crate :: vk :: vk::Device,\n collection: vk::BufferCollectionFUCHSIA,\n p_properties: *mut vk::BufferCollectionPropertiesFUCHSIA,\n) -> vk::Result;\n","Rust","rs",[165],{"type":13,"tag":38,"props":166,"children":167},{"__ignoreMap":68},[168,190,241,270,304],{"type":13,"tag":74,"props":169,"children":170},{"class":76,"line":77},[171,176,181,186],{"type":13,"tag":74,"props":172,"children":173},{"style":144},[174],{"type":18,"value":175},"pub",{"type":13,"tag":74,"props":177,"children":178},{"style":144},[179],{"type":18,"value":180}," fn",{"type":13,"tag":74,"props":182,"children":183},{"style":87},[184],{"type":18,"value":185}," get_buffer_collection_properties_fuchsia",{"type":13,"tag":74,"props":187,"children":188},{"style":81},[189],{"type":18,"value":94},{"type":13,"tag":74,"props":191,"children":192},{"class":76,"line":97},[193,198,203,208,213,218,223,228,232,237],{"type":13,"tag":74,"props":194,"children":195},{"style":81},[196],{"type":18,"value":197}," device",{"type":13,"tag":74,"props":199,"children":200},{"style":144},[201],{"type":18,"value":202},":",{"type":13,"tag":74,"props":204,"children":205},{"style":144},[206],{"type":18,"value":207}," crate",{"type":13,"tag":74,"props":209,"children":210},{"style":144},[211],{"type":18,"value":212}," ::",{"type":13,"tag":74,"props":214,"children":215},{"style":81},[216],{"type":18,"value":217}," vk ",{"type":13,"tag":74,"props":219,"children":220},{"style":144},[221],{"type":18,"value":222},"::",{"type":13,"tag":74,"props":224,"children":225},{"style":106},[226],{"type":18,"value":227}," vk",{"type":13,"tag":74,"props":229,"children":230},{"style":144},[231],{"type":18,"value":222},{"type":13,"tag":74,"props":233,"children":234},{"style":106},[235],{"type":18,"value":236},"Device",{"type":13,"tag":74,"props":238,"children":239},{"style":81},[240],{"type":18,"value":114},{"type":13,"tag":74,"props":242,"children":243},{"class":76,"line":117},[244,249,253,257,261,266],{"type":13,"tag":74,"props":245,"children":246},{"style":81},[247],{"type":18,"value":248}," collection",{"type":13,"tag":74,"props":250,"children":251},{"style":144},[252],{"type":18,"value":202},{"type":13,"tag":74,"props":254,"children":255},{"style":106},[256],{"type":18,"value":227},{"type":13,"tag":74,"props":258,"children":259},{"style":144},[260],{"type":18,"value":222},{"type":13,"tag":74,"props":262,"children":263},{"style":106},[264],{"type":18,"value":265},"BufferCollectionFUCHSIA",{"type":13,"tag":74,"props":267,"children":268},{"style":81},[269],{"type":18,"value":114},{"type":13,"tag":74,"props":271,"children":272},{"class":76,"line":135},[273,278,282,287,291,295,300],{"type":13,"tag":74,"props":274,"children":275},{"style":81},[276],{"type":18,"value":277}," p_properties",{"type":13,"tag":74,"props":279,"children":280},{"style":144},[281],{"type":18,"value":202},{"type":13,"tag":74,"props":283,"children":284},{"style":144},[285],{"type":18,"value":286}," *mut",{"type":13,"tag":74,"props":288,"children":289},{"style":106},[290],{"type":18,"value":227},{"type":13,"tag":74,"props":292,"children":293},{"style":144},[294],{"type":18,"value":222},{"type":13,"tag":74,"props":296,"children":297},{"style":106},[298],{"type":18,"value":299},"BufferCollectionPropertiesFUCHSIA",{"type":13,"tag":74,"props":301,"children":302},{"style":81},[303],{"type":18,"value":114},{"type":13,"tag":74,"props":305,"children":307},{"class":76,"line":306},5,[308,313,318,322,326,331],{"type":13,"tag":74,"props":309,"children":310},{"style":81},[311],{"type":18,"value":312},") ",{"type":13,"tag":74,"props":314,"children":315},{"style":144},[316],{"type":18,"value":317},"->",{"type":13,"tag":74,"props":319,"children":320},{"style":106},[321],{"type":18,"value":227},{"type":13,"tag":74,"props":323,"children":324},{"style":144},[325],{"type":18,"value":222},{"type":13,"tag":74,"props":327,"children":328},{"style":106},[329],{"type":18,"value":330},"Result",{"type":13,"tag":74,"props":332,"children":333},{"style":81},[334],{"type":18,"value":335},";\n",{"type":13,"tag":337,"props":338,"children":339},"ul",{},[340,351,369],{"type":13,"tag":341,"props":342,"children":343},"li",{},[344,349],{"type":13,"tag":38,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":109},{"type":18,"value":350}," is the logical device handle",{"type":13,"tag":341,"props":352,"children":353},{},[354,359,361,367],{"type":13,"tag":38,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":128},{"type":18,"value":360}," is the ",{"type":13,"tag":21,"props":362,"children":364},{"href":363},"/man/VkBufferCollectionFUCHSIA",[365],{"type":18,"value":366},"VkBufferCollectionFUCHSIA",{"type":18,"value":368}," handle",{"type":13,"tag":341,"props":370,"children":371},{},[372,378,380,386],{"type":13,"tag":38,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":377},"pProperties",{"type":18,"value":379}," is a pointer to the retrieved\n",{"type":13,"tag":21,"props":381,"children":383},{"href":382},"/man/VkBufferCollectionPropertiesFUCHSIA",[384],{"type":18,"value":385},"VkBufferCollectionPropertiesFUCHSIA",{"type":18,"value":387}," struct",{"type":13,"tag":389,"props":390,"children":392},"anchor",{"id":391},"sysmem-chosen-create-infos",[],{"type":13,"tag":14,"props":394,"children":395},{},[396,398,403,405,411,412,418,420,424,426,430,431,437],{"type":18,"value":397},"For image-based buffer collections, upon calling\n",{"type":13,"tag":38,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":4},{"type":18,"value":404},", Sysmem will choose an element\nof the ",{"type":13,"tag":21,"props":406,"children":408},{"href":407},"/man/VkImageConstraintsInfoFUCHSIA",[409],{"type":18,"value":410},"VkImageConstraintsInfoFUCHSIA",{"type":18,"value":222},{"type":13,"tag":38,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"pImageCreateInfos",{"type":18,"value":419},"\nestablished by the preceding call to\n",{"type":13,"tag":21,"props":421,"children":422},{"href":23},[423],{"type":18,"value":26},{"type":18,"value":425},".\nThe index of the element chosen is stored in and can be retrieved from\n",{"type":13,"tag":21,"props":427,"children":428},{"href":382},[429],{"type":18,"value":385},{"type":18,"value":222},{"type":13,"tag":38,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":436},"createInfoIndex",{"type":18,"value":438},".",{"type":13,"tag":14,"props":440,"children":441},{},[442,444,450,452,458,459,465,467,471,472,477],{"type":18,"value":443},"For buffer-based buffer collections, a single ",{"type":13,"tag":21,"props":445,"children":447},{"href":446},"/man/VkBufferCreateInfo",[448],{"type":18,"value":449},"VkBufferCreateInfo",{"type":18,"value":451}," is\nspecified as ",{"type":13,"tag":21,"props":453,"children":455},{"href":454},"/man/VkBufferConstraintsInfoFUCHSIA",[456],{"type":18,"value":457},"VkBufferConstraintsInfoFUCHSIA",{"type":18,"value":222},{"type":13,"tag":38,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"createInfo",{"type":18,"value":466},".\n",{"type":13,"tag":21,"props":468,"children":469},{"href":382},[470],{"type":18,"value":385},{"type":18,"value":222},{"type":13,"tag":38,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":436},{"type":18,"value":478}," will\ntherefore always be zero.",{"type":13,"tag":14,"props":480,"children":481},{},[482,487,489,494,496,501,503,509],{"type":13,"tag":38,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":4},{"type":18,"value":488}," ",{"type":13,"tag":490,"props":491,"children":493},"normative",{"type":492},"may",[],{"type":18,"value":495}," fail if Sysmem is unable\nto resolve the constraints of all of the participants in the buffer\ncollection.\nIf that occurs, ",{"type":13,"tag":38,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":4},{"type":18,"value":502}," will return\n",{"type":13,"tag":38,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":508},"VK_ERROR_INITIALIZATION_FAILED",{"type":18,"value":438},{"type":13,"tag":511,"props":512,"children":514},"validity-group",{"name":513},"Valid Usage",[515],{"type":13,"tag":516,"props":517,"children":519},"validity-field",{"name":518},"VUID-vkGetBufferCollectionPropertiesFUCHSIA-None-06405",[520],{"type":13,"tag":14,"props":521,"children":522},{},[523,525,530,532,536,538,542,543],{"type":18,"value":524},"Prior to calling ",{"type":13,"tag":21,"props":526,"children":528},{"href":527},"/man/vkGetBufferCollectionPropertiesFUCHSIA",[529],{"type":18,"value":4},{"type":18,"value":531},", the\nconstraints on the buffer collection ",{"type":13,"tag":490,"props":533,"children":535},{"type":534},"must",[],{"type":18,"value":537}," have been set by either\n",{"type":13,"tag":21,"props":539,"children":540},{"href":23},[541],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":21,"props":544,"children":545},{"href":31},[546],{"type":18,"value":34},{"type":13,"tag":511,"props":548,"children":550},{"name":549},"Valid Usage (Implicit)",[551,576,598,622],{"type":13,"tag":516,"props":552,"children":554},{"name":553},"VUID-vkGetBufferCollectionPropertiesFUCHSIA-device-parameter",[555],{"type":13,"tag":14,"props":556,"children":557},{},[558,563,564,567,569,575],{"type":13,"tag":38,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":109},{"type":18,"value":488},{"type":13,"tag":490,"props":565,"children":566},{"type":534},[],{"type":18,"value":568}," be a valid ",{"type":13,"tag":21,"props":570,"children":572},{"href":571},"/man/VkDevice",[573],{"type":18,"value":574},"VkDevice",{"type":18,"value":368},{"type":13,"tag":516,"props":577,"children":579},{"name":578},"VUID-vkGetBufferCollectionPropertiesFUCHSIA-collection-parameter",[580],{"type":13,"tag":14,"props":581,"children":582},{},[583,588,589,592,593,597],{"type":13,"tag":38,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":128},{"type":18,"value":488},{"type":13,"tag":490,"props":590,"children":591},{"type":534},[],{"type":18,"value":568},{"type":13,"tag":21,"props":594,"children":595},{"href":363},[596],{"type":18,"value":366},{"type":18,"value":368},{"type":13,"tag":516,"props":599,"children":601},{"name":600},"VUID-vkGetBufferCollectionPropertiesFUCHSIA-pProperties-parameter",[602],{"type":13,"tag":14,"props":603,"children":604},{},[605,610,611,614,616,620],{"type":13,"tag":38,"props":606,"children":608},{"className":607},[],[609],{"type":18,"value":377},{"type":18,"value":488},{"type":13,"tag":490,"props":612,"children":613},{"type":534},[],{"type":18,"value":615}," be a valid pointer to a ",{"type":13,"tag":21,"props":617,"children":618},{"href":382},[619],{"type":18,"value":385},{"type":18,"value":621}," structure",{"type":13,"tag":516,"props":623,"children":625},{"name":624},"VUID-vkGetBufferCollectionPropertiesFUCHSIA-collection-parent",[626],{"type":13,"tag":14,"props":627,"children":628},{},[629,634,635,638,640],{"type":13,"tag":38,"props":630,"children":632},{"className":631},[],[633],{"type":18,"value":128},{"type":18,"value":488},{"type":13,"tag":490,"props":636,"children":637},{"type":534},[],{"type":18,"value":639}," have been created, allocated, or retrieved from ",{"type":13,"tag":38,"props":641,"children":643},{"className":642},[],[644],{"type":18,"value":109},{"type":13,"tag":646,"props":647,"children":648},"style",{},[649],{"type":18,"value":650},"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":68,"searchDepth":97,"depth":97,"links":652},[],"markdown",1725732616723]