[{"data":1,"prerenderedAt":598},["ShallowReactive",2],{"M36s0RGXkU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":597,"_id":4},"VkBufferCollectionConstraintsInfoFUCHSIA","Structure of general buffer collection constraints","VK_FUCHSIA_buffer_collection","structs",[],{"type":10,"children":11,"toc":595},"root",[12,28,367,466,479,497,534,589],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,170],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkBufferCollectionConstraintsInfoFUCHSIA {\n VkStructureType sType;\n const void* pNext;\n uint32_t minBufferCount;\n uint32_t maxBufferCount;\n uint32_t minBufferCountForCamping;\n uint32_t minBufferCountForDedicatedSlack;\n uint32_t minBufferCountForSharedSlack;\n} VkBufferCollectionConstraintsInfoFUCHSIA;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,122,135,148,161],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkBufferCollectionConstraintsInfoFUCHSIA {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," minBufferCount;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":103},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," maxBufferCount;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},6,[126,130],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":103},{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," minBufferCountForCamping;\n",{"type":13,"tag":45,"props":136,"children":138},{"class":47,"line":137},7,[139,143],{"type":13,"tag":45,"props":140,"children":141},{"style":52},[142],{"type":18,"value":103},{"type":13,"tag":45,"props":144,"children":145},{"style":63},[146],{"type":18,"value":147}," minBufferCountForDedicatedSlack;\n",{"type":13,"tag":45,"props":149,"children":151},{"class":47,"line":150},8,[152,156],{"type":13,"tag":45,"props":153,"children":154},{"style":52},[155],{"type":18,"value":103},{"type":13,"tag":45,"props":157,"children":158},{"style":63},[159],{"type":18,"value":160}," minBufferCountForSharedSlack;\n",{"type":13,"tag":45,"props":162,"children":164},{"class":47,"line":163},9,[165],{"type":13,"tag":45,"props":166,"children":167},{"style":63},[168],{"type":18,"value":169},"} VkBufferCollectionConstraintsInfoFUCHSIA;\n",{"type":13,"tag":33,"props":171,"children":176},{"className":172,"code":173,"filename":174,"language":175,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BufferCollectionConstraintsInfoFUCHSIA {\n s_type: vk::StructureType,\n p_next: *const c_void,\n min_buffer_count: u32,\n max_buffer_count: u32,\n min_buffer_count_for_camping: u32,\n min_buffer_count_for_dedicated_slack: u32,\n min_buffer_count_for_shared_slack: u32,\n}\n","Rust","rs",[177],{"type":13,"tag":21,"props":178,"children":179},{"__ignoreMap":39},[180,203,236,258,279,299,319,339,359],{"type":13,"tag":45,"props":181,"children":182},{"class":47,"line":48},[183,188,192,198],{"type":13,"tag":45,"props":184,"children":185},{"style":52},[186],{"type":18,"value":187},"pub",{"type":13,"tag":45,"props":189,"children":190},{"style":52},[191],{"type":18,"value":60},{"type":13,"tag":45,"props":193,"children":195},{"style":194},"--shiki-default:#953800;--shiki-dark:#FFA657",[196],{"type":18,"value":197}," BufferCollectionConstraintsInfoFUCHSIA",{"type":13,"tag":45,"props":199,"children":200},{"style":63},[201],{"type":18,"value":202}," {\n",{"type":13,"tag":45,"props":204,"children":205},{"class":47,"line":69},[206,211,216,221,226,231],{"type":13,"tag":45,"props":207,"children":208},{"style":63},[209],{"type":18,"value":210}," s_type",{"type":13,"tag":45,"props":212,"children":213},{"style":52},[214],{"type":18,"value":215},":",{"type":13,"tag":45,"props":217,"children":218},{"style":194},[219],{"type":18,"value":220}," vk",{"type":13,"tag":45,"props":222,"children":223},{"style":52},[224],{"type":18,"value":225},"::",{"type":13,"tag":45,"props":227,"children":228},{"style":194},[229],{"type":18,"value":230},"StructureType",{"type":13,"tag":45,"props":232,"children":233},{"style":63},[234],{"type":18,"value":235},",\n",{"type":13,"tag":45,"props":237,"children":238},{"class":47,"line":78},[239,244,248,253],{"type":13,"tag":45,"props":240,"children":241},{"style":63},[242],{"type":18,"value":243}," p_next",{"type":13,"tag":45,"props":245,"children":246},{"style":52},[247],{"type":18,"value":215},{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":252}," *const",{"type":13,"tag":45,"props":254,"children":255},{"style":63},[256],{"type":18,"value":257}," c_void,\n",{"type":13,"tag":45,"props":259,"children":260},{"class":47,"line":97},[261,266,270,275],{"type":13,"tag":45,"props":262,"children":263},{"style":63},[264],{"type":18,"value":265}," min_buffer_count",{"type":13,"tag":45,"props":267,"children":268},{"style":52},[269],{"type":18,"value":215},{"type":13,"tag":45,"props":271,"children":272},{"style":194},[273],{"type":18,"value":274}," u32",{"type":13,"tag":45,"props":276,"children":277},{"style":63},[278],{"type":18,"value":235},{"type":13,"tag":45,"props":280,"children":281},{"class":47,"line":111},[282,287,291,295],{"type":13,"tag":45,"props":283,"children":284},{"style":63},[285],{"type":18,"value":286}," max_buffer_count",{"type":13,"tag":45,"props":288,"children":289},{"style":52},[290],{"type":18,"value":215},{"type":13,"tag":45,"props":292,"children":293},{"style":194},[294],{"type":18,"value":274},{"type":13,"tag":45,"props":296,"children":297},{"style":63},[298],{"type":18,"value":235},{"type":13,"tag":45,"props":300,"children":301},{"class":47,"line":124},[302,307,311,315],{"type":13,"tag":45,"props":303,"children":304},{"style":63},[305],{"type":18,"value":306}," min_buffer_count_for_camping",{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":215},{"type":13,"tag":45,"props":312,"children":313},{"style":194},[314],{"type":18,"value":274},{"type":13,"tag":45,"props":316,"children":317},{"style":63},[318],{"type":18,"value":235},{"type":13,"tag":45,"props":320,"children":321},{"class":47,"line":137},[322,327,331,335],{"type":13,"tag":45,"props":323,"children":324},{"style":63},[325],{"type":18,"value":326}," min_buffer_count_for_dedicated_slack",{"type":13,"tag":45,"props":328,"children":329},{"style":52},[330],{"type":18,"value":215},{"type":13,"tag":45,"props":332,"children":333},{"style":194},[334],{"type":18,"value":274},{"type":13,"tag":45,"props":336,"children":337},{"style":63},[338],{"type":18,"value":235},{"type":13,"tag":45,"props":340,"children":341},{"class":47,"line":150},[342,347,351,355],{"type":13,"tag":45,"props":343,"children":344},{"style":63},[345],{"type":18,"value":346}," min_buffer_count_for_shared_slack",{"type":13,"tag":45,"props":348,"children":349},{"style":52},[350],{"type":18,"value":215},{"type":13,"tag":45,"props":352,"children":353},{"style":194},[354],{"type":18,"value":274},{"type":13,"tag":45,"props":356,"children":357},{"style":63},[358],{"type":18,"value":235},{"type":13,"tag":45,"props":360,"children":361},{"class":47,"line":163},[362],{"type":13,"tag":45,"props":363,"children":364},{"style":63},[365],{"type":18,"value":366},"}\n",{"type":13,"tag":368,"props":369,"children":370},"ul",{},[371,392,411,422,433,444,455],{"type":13,"tag":372,"props":373,"children":374},"li",{},[375,381,383,390],{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"sType",{"type":18,"value":382}," is a ",{"type":13,"tag":384,"props":385,"children":387},"a",{"href":386},"/man/VkStructureType",[388],{"type":18,"value":389},"VkStructureType",{"type":18,"value":391}," value identifying this structure.",{"type":13,"tag":372,"props":393,"children":394},{},[395,401,403,409],{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"pNext",{"type":18,"value":402}," is ",{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":408},"NULL",{"type":18,"value":410}," or a pointer to a structure extending this\nstructure",{"type":13,"tag":372,"props":412,"children":413},{},[414,420],{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"minBufferCount",{"type":18,"value":421}," is the minimum number of buffers available in the\ncollection",{"type":13,"tag":372,"props":423,"children":424},{},[425,431],{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"maxBufferCount",{"type":18,"value":432}," is the maximum number of buffers allowed in the\ncollection",{"type":13,"tag":372,"props":434,"children":435},{},[436,442],{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"minBufferCountForCamping",{"type":18,"value":443}," is the per-participant minimum buffers\nfor camping",{"type":13,"tag":372,"props":445,"children":446},{},[447,453],{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":452},"minBufferCountForDedicatedSlack",{"type":18,"value":454}," is the per-participant minimum\nbuffers for dedicated slack",{"type":13,"tag":372,"props":456,"children":457},{},[458,464],{"type":13,"tag":21,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":463},"minBufferCountForSharedSlack",{"type":18,"value":465}," is the per-participant minimum\nbuffers for shared slack",{"type":13,"tag":14,"props":467,"children":468},{},[469,471,477],{"type":18,"value":470},"Sysmem uses all buffer count parameters in combination to determine the\nnumber of buffers it will allocate.\nSysmem defines buffer count constraints in\n",{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":476},"fuchsia.sysmem/constraints.fidl",{"type":18,"value":478},".",{"type":13,"tag":14,"props":480,"children":481},{},[482,488,490,495],{"type":13,"tag":483,"props":484,"children":485},"em",{},[486],{"type":18,"value":487},"Camping",{"type":18,"value":489}," as referred to by ",{"type":13,"tag":21,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":441},{"type":18,"value":496},", is the number of\nbuffers that should be available for the participant that are not for\ntransient use.\nThis number of buffers is required for the participant to logically operate.",{"type":13,"tag":14,"props":498,"children":499},{},[500,505,506,511,513,518,520,525,527,532],{"type":13,"tag":483,"props":501,"children":502},{},[503],{"type":18,"value":504},"Slack",{"type":18,"value":489},{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":452},{"type":18,"value":512}," and\n",{"type":13,"tag":21,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":463},{"type":18,"value":519},", refers to the number of buffers desired\nby participants for optimal performance.\n",{"type":13,"tag":21,"props":521,"children":523},{"className":522},[],[524],{"type":18,"value":452},{"type":18,"value":526}," refers to the current participant.\n",{"type":13,"tag":21,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":463},{"type":18,"value":533}," refers to buffer slack for all\nparticipants in the collection.",{"type":13,"tag":535,"props":536,"children":538},"validity-group",{"name":537},"Valid Usage (Implicit)",[539,567],{"type":13,"tag":540,"props":541,"children":543},"validity-field",{"name":542},"VUID-VkBufferCollectionConstraintsInfoFUCHSIA-sType-sType",[544],{"type":13,"tag":14,"props":545,"children":546},{},[547,552,554,559,561],{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":380},{"type":18,"value":553}," ",{"type":13,"tag":555,"props":556,"children":558},"normative",{"type":557},"must",[],{"type":18,"value":560}," be ",{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":566},"VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA",{"type":13,"tag":540,"props":568,"children":570},{"name":569},"VUID-VkBufferCollectionConstraintsInfoFUCHSIA-pNext-pNext",[571],{"type":13,"tag":14,"props":572,"children":573},{},[574,579,580,583,584],{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":400},{"type":18,"value":553},{"type":13,"tag":555,"props":581,"children":582},{"type":557},[],{"type":18,"value":560},{"type":13,"tag":21,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":408},{"type":13,"tag":590,"props":591,"children":592},"style",{},[593],{"type":18,"value":594},"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":39,"searchDepth":69,"depth":69,"links":596},[],"markdown",1725732540693]