[{"data":1,"prerenderedAt":583},["ShallowReactive",2],{"6rwsqkhm8H":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":582,"_id":4},"vkSetBufferCollectionImageConstraintsFUCHSIA","Set image-based constraints for a buffer collection","VK_FUCHSIA_buffer_collection","protos",[],{"type":10,"children":11,"toc":580},"root",[12,29,314,366,406,439,477,574],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","Setting the constraints on the buffer collection initiates the format\nnegotiation and allocation of the buffer collection.\nTo set the constraints on a ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkImage",[25],{"type":18,"value":26},"VkImage",{"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 vkSetBufferCollectionImageConstraintsFUCHSIA(\n VkDevice device,\n VkBufferCollectionFUCHSIA collection,\n const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo);\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}," VkImageConstraintsInfoFUCHSIA",{"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}," pImageConstraintsInfo",{"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_image_constraints_fuchsia(\n device: crate :: vk :: vk::Device,\n collection: vk::BufferCollectionFUCHSIA,\n p_image_constraints_info: *const vk::ImageConstraintsInfoFUCHSIA,\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_image_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_image_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},"ImageConstraintsInfoFUCHSIA",{"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},"pImageConstraintsInfo",{"type":18,"value":357}," is a pointer to a\n",{"type":13,"tag":21,"props":359,"children":361},{"href":360},"/man/VkImageConstraintsInfoFUCHSIA",[362],{"type":18,"value":363},"VkImageConstraintsInfoFUCHSIA",{"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\n",{"type":13,"tag":43,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":388},"pImageConstraintsInfo→formatConstraintsCount",{"type":18,"value":390}," is larger than the\nimplementation-defined limit.\nIf that occurs, ",{"type":13,"tag":21,"props":392,"children":394},{"href":393},"/man/vkSetBufferCollectionImageConstraintsFUCHSIA",[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_INITIALIZATION_FAILED",{"type":18,"value":405},".",{"type":13,"tag":14,"props":407,"children":408},{},[409,414,415,418,420,425,427,431,432,438],{"type":13,"tag":43,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":4},{"type":18,"value":375},{"type":13,"tag":377,"props":416,"children":417},{"type":379},[],{"type":18,"value":419}," fail if the\nimplementation does not support any of the formats described by the\n",{"type":13,"tag":43,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":355},{"type":18,"value":426}," structure.\nIf that occurs, ",{"type":13,"tag":21,"props":428,"children":429},{"href":393},[430],{"type":18,"value":4},{"type":18,"value":397},{"type":13,"tag":43,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"VK_ERROR_FORMAT_NOT_SUPPORTED",{"type":18,"value":405},{"type":13,"tag":440,"props":441,"children":443},"validity-group",{"name":442},"Valid Usage",[444],{"type":13,"tag":445,"props":446,"children":448},"validity-field",{"name":447},"VUID-vkSetBufferCollectionImageConstraintsFUCHSIA-collection-06394",[449],{"type":13,"tag":14,"props":450,"children":451},{},[452,457,459,465,466,470,472],{"type":13,"tag":43,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":4},{"type":18,"value":458}," or\n",{"type":13,"tag":43,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"vkSetBufferCollectionBufferConstraintsFUCHSIA",{"type":18,"value":375},{"type":13,"tag":377,"props":467,"children":469},{"type":468},"must",[],{"type":18,"value":471}," not have\nalready been called on ",{"type":13,"tag":43,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":101},{"type":13,"tag":440,"props":478,"children":480},{"name":479},"Valid Usage (Implicit)",[481,506,528,551],{"type":13,"tag":445,"props":482,"children":484},{"name":483},"VUID-vkSetBufferCollectionImageConstraintsFUCHSIA-device-parameter",[485],{"type":13,"tag":14,"props":486,"children":487},{},[488,493,494,497,499,505],{"type":13,"tag":43,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":82},{"type":18,"value":375},{"type":13,"tag":377,"props":495,"children":496},{"type":468},[],{"type":18,"value":498}," be a valid ",{"type":13,"tag":21,"props":500,"children":502},{"href":501},"/man/VkDevice",[503],{"type":18,"value":504},"VkDevice",{"type":18,"value":346},{"type":13,"tag":445,"props":507,"children":509},{"name":508},"VUID-vkSetBufferCollectionImageConstraintsFUCHSIA-collection-parameter",[510],{"type":13,"tag":14,"props":511,"children":512},{},[513,518,519,522,523,527],{"type":13,"tag":43,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":101},{"type":18,"value":375},{"type":13,"tag":377,"props":520,"children":521},{"type":468},[],{"type":18,"value":498},{"type":13,"tag":21,"props":524,"children":525},{"href":341},[526],{"type":18,"value":344},{"type":18,"value":346},{"type":13,"tag":445,"props":529,"children":531},{"name":530},"VUID-vkSetBufferCollectionImageConstraintsFUCHSIA-pImageConstraintsInfo-parameter",[532],{"type":13,"tag":14,"props":533,"children":534},{},[535,540,541,544,546,550],{"type":13,"tag":43,"props":536,"children":538},{"className":537},[],[539],{"type":18,"value":355},{"type":18,"value":375},{"type":13,"tag":377,"props":542,"children":543},{"type":468},[],{"type":18,"value":545}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":547,"children":548},{"href":360},[549],{"type":18,"value":363},{"type":18,"value":365},{"type":13,"tag":445,"props":552,"children":554},{"name":553},"VUID-vkSetBufferCollectionImageConstraintsFUCHSIA-collection-parent",[555],{"type":13,"tag":14,"props":556,"children":557},{},[558,563,564,567,569],{"type":13,"tag":43,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":101},{"type":18,"value":375},{"type":13,"tag":377,"props":565,"children":566},{"type":468},[],{"type":18,"value":568}," have been created, allocated, or retrieved from ",{"type":13,"tag":43,"props":570,"children":572},{"className":571},[],[573],{"type":18,"value":82},{"type":13,"tag":575,"props":576,"children":577},"style",{},[578],{"type":18,"value":579},"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":581},[],"markdown",1729612520797]