[{"data":1,"prerenderedAt":550},["ShallowReactive",2],{"SVrAxpPFkv":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":549,"_id":4},"vkSetBufferCollectionBufferConstraintsFUCHSIA","Set buffer-based constraints for a buffer collection","VK_FUCHSIA_buffer_collection","protos",[],{"type":10,"children":11,"toc":547},"root",[12,29,314,366,406,444,541],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","To set the constraints on a ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkBuffer",[25],{"type":18,"value":26},"VkBuffer",{"type":18,"value":28}," buffer collection, call:",{"type":13,"tag":30,"props":31,"children":32},"code-group",{},[33,136],{"type":13,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkSetBufferCollectionBufferConstraintsFUCHSIA(\n VkDevice device,\n VkBufferCollectionFUCHSIA collection,\n const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);\n","C","c","",[42],{"type":13,"tag":43,"props":44,"children":45},"code",{"__ignoreMap":40},[46,68,88,106],{"type":13,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":13,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[56],{"type":18,"value":57},"VkResult ",{"type":13,"tag":47,"props":59,"children":61},{"style":60},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[62],{"type":18,"value":4},{"type":13,"tag":47,"props":64,"children":65},{"style":54},[66],{"type":18,"value":67},"(\n",{"type":13,"tag":47,"props":69,"children":71},{"class":49,"line":70},2,[72,77,83],{"type":13,"tag":47,"props":73,"children":74},{"style":54},[75],{"type":18,"value":76}," VkDevice ",{"type":13,"tag":47,"props":78,"children":80},{"style":79},"--shiki-default:#953800;--shiki-dark:#FFA657",[81],{"type":18,"value":82},"device",{"type":13,"tag":47,"props":84,"children":85},{"style":54},[86],{"type":18,"value":87},",\n",{"type":13,"tag":47,"props":89,"children":91},{"class":49,"line":90},3,[92,97,102],{"type":13,"tag":47,"props":93,"children":94},{"style":54},[95],{"type":18,"value":96}," VkBufferCollectionFUCHSIA ",{"type":13,"tag":47,"props":98,"children":99},{"style":79},[100],{"type":18,"value":101},"collection",{"type":13,"tag":47,"props":103,"children":104},{"style":54},[105],{"type":18,"value":87},{"type":13,"tag":47,"props":107,"children":109},{"class":49,"line":108},4,[110,116,121,126,131],{"type":13,"tag":47,"props":111,"children":113},{"style":112},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[114],{"type":18,"value":115}," const",{"type":13,"tag":47,"props":117,"children":118},{"style":54},[119],{"type":18,"value":120}," VkBufferConstraintsInfoFUCHSIA",{"type":13,"tag":47,"props":122,"children":123},{"style":112},[124],{"type":18,"value":125},"*",{"type":13,"tag":47,"props":127,"children":128},{"style":79},[129],{"type":18,"value":130}," pBufferConstraintsInfo",{"type":13,"tag":47,"props":132,"children":133},{"style":54},[134],{"type":18,"value":135},");\n",{"type":13,"tag":34,"props":137,"children":142},{"className":138,"code":139,"filename":140,"language":141,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn set_buffer_collection_buffer_constraints_fuchsia(\n device: crate :: vk :: vk::Device,\n collection: vk::BufferCollectionFUCHSIA,\n p_buffer_constraints_info: *const vk::BufferConstraintsInfoFUCHSIA,\n) -> vk::Result;\n","Rust","rs",[143],{"type":13,"tag":43,"props":144,"children":145},{"__ignoreMap":40},[146,168,219,248,282],{"type":13,"tag":47,"props":147,"children":148},{"class":49,"line":50},[149,154,159,164],{"type":13,"tag":47,"props":150,"children":151},{"style":112},[152],{"type":18,"value":153},"pub",{"type":13,"tag":47,"props":155,"children":156},{"style":112},[157],{"type":18,"value":158}," fn",{"type":13,"tag":47,"props":160,"children":161},{"style":60},[162],{"type":18,"value":163}," set_buffer_collection_buffer_constraints_fuchsia",{"type":13,"tag":47,"props":165,"children":166},{"style":54},[167],{"type":18,"value":67},{"type":13,"tag":47,"props":169,"children":170},{"class":49,"line":70},[171,176,181,186,191,196,201,206,210,215],{"type":13,"tag":47,"props":172,"children":173},{"style":54},[174],{"type":18,"value":175}," device",{"type":13,"tag":47,"props":177,"children":178},{"style":112},[179],{"type":18,"value":180},":",{"type":13,"tag":47,"props":182,"children":183},{"style":112},[184],{"type":18,"value":185}," crate",{"type":13,"tag":47,"props":187,"children":188},{"style":112},[189],{"type":18,"value":190}," ::",{"type":13,"tag":47,"props":192,"children":193},{"style":54},[194],{"type":18,"value":195}," vk ",{"type":13,"tag":47,"props":197,"children":198},{"style":112},[199],{"type":18,"value":200},"::",{"type":13,"tag":47,"props":202,"children":203},{"style":79},[204],{"type":18,"value":205}," vk",{"type":13,"tag":47,"props":207,"children":208},{"style":112},[209],{"type":18,"value":200},{"type":13,"tag":47,"props":211,"children":212},{"style":79},[213],{"type":18,"value":214},"Device",{"type":13,"tag":47,"props":216,"children":217},{"style":54},[218],{"type":18,"value":87},{"type":13,"tag":47,"props":220,"children":221},{"class":49,"line":90},[222,227,231,235,239,244],{"type":13,"tag":47,"props":223,"children":224},{"style":54},[225],{"type":18,"value":226}," collection",{"type":13,"tag":47,"props":228,"children":229},{"style":112},[230],{"type":18,"value":180},{"type":13,"tag":47,"props":232,"children":233},{"style":79},[234],{"type":18,"value":205},{"type":13,"tag":47,"props":236,"children":237},{"style":112},[238],{"type":18,"value":200},{"type":13,"tag":47,"props":240,"children":241},{"style":79},[242],{"type":18,"value":243},"BufferCollectionFUCHSIA",{"type":13,"tag":47,"props":245,"children":246},{"style":54},[247],{"type":18,"value":87},{"type":13,"tag":47,"props":249,"children":250},{"class":49,"line":108},[251,256,260,265,269,273,278],{"type":13,"tag":47,"props":252,"children":253},{"style":54},[254],{"type":18,"value":255}," p_buffer_constraints_info",{"type":13,"tag":47,"props":257,"children":258},{"style":112},[259],{"type":18,"value":180},{"type":13,"tag":47,"props":261,"children":262},{"style":112},[263],{"type":18,"value":264}," *const",{"type":13,"tag":47,"props":266,"children":267},{"style":79},[268],{"type":18,"value":205},{"type":13,"tag":47,"props":270,"children":271},{"style":112},[272],{"type":18,"value":200},{"type":13,"tag":47,"props":274,"children":275},{"style":79},[276],{"type":18,"value":277},"BufferConstraintsInfoFUCHSIA",{"type":13,"tag":47,"props":279,"children":280},{"style":54},[281],{"type":18,"value":87},{"type":13,"tag":47,"props":283,"children":285},{"class":49,"line":284},5,[286,291,296,300,304,309],{"type":13,"tag":47,"props":287,"children":288},{"style":54},[289],{"type":18,"value":290},") ",{"type":13,"tag":47,"props":292,"children":293},{"style":112},[294],{"type":18,"value":295},"->",{"type":13,"tag":47,"props":297,"children":298},{"style":79},[299],{"type":18,"value":205},{"type":13,"tag":47,"props":301,"children":302},{"style":112},[303],{"type":18,"value":200},{"type":13,"tag":47,"props":305,"children":306},{"style":79},[307],{"type":18,"value":308},"Result",{"type":13,"tag":47,"props":310,"children":311},{"style":54},[312],{"type":18,"value":313},";\n",{"type":13,"tag":315,"props":316,"children":317},"ul",{},[318,329,347],{"type":13,"tag":319,"props":320,"children":321},"li",{},[322,327],{"type":13,"tag":43,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":82},{"type":18,"value":328}," is the logical device",{"type":13,"tag":319,"props":330,"children":331},{},[332,337,339,345],{"type":13,"tag":43,"props":333,"children":335},{"className":334},[],[336],{"type":18,"value":101},{"type":18,"value":338}," is the ",{"type":13,"tag":21,"props":340,"children":342},{"href":341},"/man/VkBufferCollectionFUCHSIA",[343],{"type":18,"value":344},"VkBufferCollectionFUCHSIA",{"type":18,"value":346}," handle",{"type":13,"tag":319,"props":348,"children":349},{},[350,356,358,364],{"type":13,"tag":43,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"pBufferConstraintsInfo",{"type":18,"value":357}," is a pointer to a\n",{"type":13,"tag":21,"props":359,"children":361},{"href":360},"/man/VkBufferConstraintsInfoFUCHSIA",[362],{"type":18,"value":363},"VkBufferConstraintsInfoFUCHSIA",{"type":18,"value":365}," structure",{"type":13,"tag":14,"props":367,"children":368},{},[369,374,376,381,383,389,391,396,398,404],{"type":13,"tag":43,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":4},{"type":18,"value":375}," ",{"type":13,"tag":377,"props":378,"children":380},"normative",{"type":379},"may",[],{"type":18,"value":382}," fail if the\nimplementation does not support the constraints specified in the\n",{"type":13,"tag":43,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":388},"bufferCollectionConstraints",{"type":18,"value":390}," structure.\nIf that occurs, ",{"type":13,"tag":21,"props":392,"children":394},{"href":393},"/man/vkSetBufferCollectionBufferConstraintsFUCHSIA",[395],{"type":18,"value":4},{"type":18,"value":397}," will\nreturn ",{"type":13,"tag":43,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"VK_ERROR_FORMAT_NOT_SUPPORTED",{"type":18,"value":405},".",{"type":13,"tag":407,"props":408,"children":410},"validity-group",{"name":409},"Valid Usage",[411],{"type":13,"tag":412,"props":413,"children":415},"validity-field",{"name":414},"VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-collection-06403",[416],{"type":13,"tag":14,"props":417,"children":418},{},[419,425,427,432,433,437,439],{"type":13,"tag":43,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":424},"vkSetBufferCollectionImageConstraintsFUCHSIA",{"type":18,"value":426}," or\n",{"type":13,"tag":43,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":4},{"type":18,"value":375},{"type":13,"tag":377,"props":434,"children":436},{"type":435},"must",[],{"type":18,"value":438}," not have\nalready been called on ",{"type":13,"tag":43,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":101},{"type":13,"tag":407,"props":445,"children":447},{"name":446},"Valid Usage (Implicit)",[448,473,495,518],{"type":13,"tag":412,"props":449,"children":451},{"name":450},"VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-device-parameter",[452],{"type":13,"tag":14,"props":453,"children":454},{},[455,460,461,464,466,472],{"type":13,"tag":43,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":82},{"type":18,"value":375},{"type":13,"tag":377,"props":462,"children":463},{"type":435},[],{"type":18,"value":465}," be a valid ",{"type":13,"tag":21,"props":467,"children":469},{"href":468},"/man/VkDevice",[470],{"type":18,"value":471},"VkDevice",{"type":18,"value":346},{"type":13,"tag":412,"props":474,"children":476},{"name":475},"VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-collection-parameter",[477],{"type":13,"tag":14,"props":478,"children":479},{},[480,485,486,489,490,494],{"type":13,"tag":43,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":101},{"type":18,"value":375},{"type":13,"tag":377,"props":487,"children":488},{"type":435},[],{"type":18,"value":465},{"type":13,"tag":21,"props":491,"children":492},{"href":341},[493],{"type":18,"value":344},{"type":18,"value":346},{"type":13,"tag":412,"props":496,"children":498},{"name":497},"VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-pBufferConstraintsInfo-parameter",[499],{"type":13,"tag":14,"props":500,"children":501},{},[502,507,508,511,513,517],{"type":13,"tag":43,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":355},{"type":18,"value":375},{"type":13,"tag":377,"props":509,"children":510},{"type":435},[],{"type":18,"value":512}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":514,"children":515},{"href":360},[516],{"type":18,"value":363},{"type":18,"value":365},{"type":13,"tag":412,"props":519,"children":521},{"name":520},"VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-collection-parent",[522],{"type":13,"tag":14,"props":523,"children":524},{},[525,530,531,534,536],{"type":13,"tag":43,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":101},{"type":18,"value":375},{"type":13,"tag":377,"props":532,"children":533},{"type":435},[],{"type":18,"value":535}," have been created, allocated, or retrieved from ",{"type":13,"tag":43,"props":537,"children":539},{"className":538},[],[540],{"type":18,"value":82},{"type":13,"tag":542,"props":543,"children":544},"style",{},[545],{"type":18,"value":546},"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":40,"searchDepth":70,"depth":70,"links":548},[],"markdown",1725732623352]