[{"data":1,"prerenderedAt":826},["ShallowReactive",2],{"vezch2nkwl":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":825,"_id":4},"VkImageFormatConstraintsInfoFUCHSIA","Structure image-based buffer collection constraints","VK_FUCHSIA_buffer_collection","structs",[],{"type":10,"children":11,"toc":823},"root",[12,28,440,613,817],{"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,182],{"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 VkImageFormatConstraintsInfoFUCHSIA {\n VkStructureType sType;\n const void* pNext;\n VkImageCreateInfo imageCreateInfo;\n VkFormatFeatureFlags requiredFormatFeatures;\n VkImageFormatConstraintsFlagsFUCHSIA flags;\n uint64_t sysmemPixelFormat;\n uint32_t colorSpaceCount;\n const VkSysmemColorSpaceFUCHSIA* pColorSpaces;\n} VkImageFormatConstraintsInfoFUCHSIA;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122,136,150,173],{"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}," VkImageFormatConstraintsInfoFUCHSIA {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkImageCreateInfo imageCreateInfo;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkFormatFeatureFlags requiredFormatFeatures;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkImageFormatConstraintsFlagsFUCHSIA flags;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126,131],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":130}," uint64_t",{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135}," sysmemPixelFormat;\n",{"type":13,"tag":45,"props":137,"children":139},{"class":47,"line":138},8,[140,145],{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144}," uint32_t",{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149}," colorSpaceCount;\n",{"type":13,"tag":45,"props":151,"children":153},{"class":47,"line":152},9,[154,158,163,168],{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":84},{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," VkSysmemColorSpaceFUCHSIA",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},"*",{"type":13,"tag":45,"props":169,"children":170},{"style":63},[171],{"type":18,"value":172}," pColorSpaces;\n",{"type":13,"tag":45,"props":174,"children":176},{"class":47,"line":175},10,[177],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181},"} VkImageFormatConstraintsInfoFUCHSIA;\n",{"type":13,"tag":33,"props":183,"children":188},{"className":184,"code":185,"filename":186,"language":187,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageFormatConstraintsInfoFUCHSIA {\n s_type: vk::StructureType,\n p_next: *const c_void,\n image_create_info: vk::ImageCreateInfo,\n required_format_features: vk::FormatFeatureFlags,\n flags: vk::ImageFormatConstraintsFlagsFUCHSIA,\n sysmem_pixel_format: u64,\n color_space_count: u32,\n p_color_spaces: *const vk::SysmemColorSpaceFUCHSIA,\n}\n","Rust","rs",[189],{"type":13,"tag":21,"props":190,"children":191},{"__ignoreMap":39},[192,215,248,270,299,328,357,378,399,432],{"type":13,"tag":45,"props":193,"children":194},{"class":47,"line":48},[195,200,204,210],{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199},"pub",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":60},{"type":13,"tag":45,"props":205,"children":207},{"style":206},"--shiki-default:#953800;--shiki-dark:#FFA657",[208],{"type":18,"value":209}," ImageFormatConstraintsInfoFUCHSIA",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214}," {\n",{"type":13,"tag":45,"props":216,"children":217},{"class":47,"line":69},[218,223,228,233,238,243],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," s_type",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":227},":",{"type":13,"tag":45,"props":229,"children":230},{"style":206},[231],{"type":18,"value":232}," vk",{"type":13,"tag":45,"props":234,"children":235},{"style":52},[236],{"type":18,"value":237},"::",{"type":13,"tag":45,"props":239,"children":240},{"style":206},[241],{"type":18,"value":242},"StructureType",{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247},",\n",{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":78},[251,256,260,265],{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":255}," p_next",{"type":13,"tag":45,"props":257,"children":258},{"style":52},[259],{"type":18,"value":227},{"type":13,"tag":45,"props":261,"children":262},{"style":52},[263],{"type":18,"value":264}," *const",{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":269}," c_void,\n",{"type":13,"tag":45,"props":271,"children":272},{"class":47,"line":97},[273,278,282,286,290,295],{"type":13,"tag":45,"props":274,"children":275},{"style":63},[276],{"type":18,"value":277}," image_create_info",{"type":13,"tag":45,"props":279,"children":280},{"style":52},[281],{"type":18,"value":227},{"type":13,"tag":45,"props":283,"children":284},{"style":206},[285],{"type":18,"value":232},{"type":13,"tag":45,"props":287,"children":288},{"style":52},[289],{"type":18,"value":237},{"type":13,"tag":45,"props":291,"children":292},{"style":206},[293],{"type":18,"value":294},"ImageCreateInfo",{"type":13,"tag":45,"props":296,"children":297},{"style":63},[298],{"type":18,"value":247},{"type":13,"tag":45,"props":300,"children":301},{"class":47,"line":106},[302,307,311,315,319,324],{"type":13,"tag":45,"props":303,"children":304},{"style":63},[305],{"type":18,"value":306}," required_format_features",{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":227},{"type":13,"tag":45,"props":312,"children":313},{"style":206},[314],{"type":18,"value":232},{"type":13,"tag":45,"props":316,"children":317},{"style":52},[318],{"type":18,"value":237},{"type":13,"tag":45,"props":320,"children":321},{"style":206},[322],{"type":18,"value":323},"FormatFeatureFlags",{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":247},{"type":13,"tag":45,"props":329,"children":330},{"class":47,"line":115},[331,336,340,344,348,353],{"type":13,"tag":45,"props":332,"children":333},{"style":63},[334],{"type":18,"value":335}," flags",{"type":13,"tag":45,"props":337,"children":338},{"style":52},[339],{"type":18,"value":227},{"type":13,"tag":45,"props":341,"children":342},{"style":206},[343],{"type":18,"value":232},{"type":13,"tag":45,"props":345,"children":346},{"style":52},[347],{"type":18,"value":237},{"type":13,"tag":45,"props":349,"children":350},{"style":206},[351],{"type":18,"value":352},"ImageFormatConstraintsFlagsFUCHSIA",{"type":13,"tag":45,"props":354,"children":355},{"style":63},[356],{"type":18,"value":247},{"type":13,"tag":45,"props":358,"children":359},{"class":47,"line":124},[360,365,369,374],{"type":13,"tag":45,"props":361,"children":362},{"style":63},[363],{"type":18,"value":364}," sysmem_pixel_format",{"type":13,"tag":45,"props":366,"children":367},{"style":52},[368],{"type":18,"value":227},{"type":13,"tag":45,"props":370,"children":371},{"style":206},[372],{"type":18,"value":373}," u64",{"type":13,"tag":45,"props":375,"children":376},{"style":63},[377],{"type":18,"value":247},{"type":13,"tag":45,"props":379,"children":380},{"class":47,"line":138},[381,386,390,395],{"type":13,"tag":45,"props":382,"children":383},{"style":63},[384],{"type":18,"value":385}," color_space_count",{"type":13,"tag":45,"props":387,"children":388},{"style":52},[389],{"type":18,"value":227},{"type":13,"tag":45,"props":391,"children":392},{"style":206},[393],{"type":18,"value":394}," u32",{"type":13,"tag":45,"props":396,"children":397},{"style":63},[398],{"type":18,"value":247},{"type":13,"tag":45,"props":400,"children":401},{"class":47,"line":152},[402,407,411,415,419,423,428],{"type":13,"tag":45,"props":403,"children":404},{"style":63},[405],{"type":18,"value":406}," p_color_spaces",{"type":13,"tag":45,"props":408,"children":409},{"style":52},[410],{"type":18,"value":227},{"type":13,"tag":45,"props":412,"children":413},{"style":52},[414],{"type":18,"value":264},{"type":13,"tag":45,"props":416,"children":417},{"style":206},[418],{"type":18,"value":232},{"type":13,"tag":45,"props":420,"children":421},{"style":52},[422],{"type":18,"value":237},{"type":13,"tag":45,"props":424,"children":425},{"style":206},[426],{"type":18,"value":427},"SysmemColorSpaceFUCHSIA",{"type":13,"tag":45,"props":429,"children":430},{"style":63},[431],{"type":18,"value":247},{"type":13,"tag":45,"props":433,"children":434},{"class":47,"line":175},[435],{"type":13,"tag":45,"props":436,"children":437},{"style":63},[438],{"type":18,"value":439},"}\n",{"type":13,"tag":441,"props":442,"children":443},"ul",{},[444,465,484,517,536,547,573,590],{"type":13,"tag":445,"props":446,"children":447},"li",{},[448,454,456,463],{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":453},"sType",{"type":18,"value":455}," is a ",{"type":13,"tag":457,"props":458,"children":460},"a",{"href":459},"/man/VkStructureType",[461],{"type":18,"value":462},"VkStructureType",{"type":18,"value":464}," value identifying this structure.",{"type":13,"tag":445,"props":466,"children":467},{},[468,474,476,482],{"type":13,"tag":21,"props":469,"children":471},{"className":470},[],[472],{"type":18,"value":473},"pNext",{"type":18,"value":475}," is ",{"type":13,"tag":21,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"NULL",{"type":18,"value":483}," or a pointer to a structure extending this\nstructure",{"type":13,"tag":445,"props":485,"children":486},{},[487,493,495,501,503,509,511],{"type":13,"tag":21,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":492},"imageCreateInfo",{"type":18,"value":494}," is the ",{"type":13,"tag":457,"props":496,"children":498},{"href":497},"/man/VkImageCreateInfo",[499],{"type":18,"value":500},"VkImageCreateInfo",{"type":18,"value":502}," used to create a\n",{"type":13,"tag":457,"props":504,"children":506},{"href":505},"/man/VkImage",[507],{"type":18,"value":508},"VkImage",{"type":18,"value":510}," that is to use memory from the\n",{"type":13,"tag":457,"props":512,"children":514},{"href":513},"/man/VkBufferCollectionFUCHSIA",[515],{"type":18,"value":516},"VkBufferCollectionFUCHSIA",{"type":13,"tag":445,"props":518,"children":519},{},[520,526,528,534],{"type":13,"tag":21,"props":521,"children":523},{"className":522},[],[524],{"type":18,"value":525},"requiredFormatFeatures",{"type":18,"value":527}," is a bitmask of\n",{"type":13,"tag":21,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":533},"VkFormatFeatureFlagBits",{"type":18,"value":535}," specifying required features of the\nbuffers in the buffer collection",{"type":13,"tag":445,"props":537,"children":538},{},[539,545],{"type":13,"tag":21,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":544},"flags",{"type":18,"value":546}," is reserved for future use",{"type":13,"tag":445,"props":548,"children":549},{},[550,556,557,563,565,571],{"type":13,"tag":21,"props":551,"children":553},{"className":552},[],[554],{"type":18,"value":555},"sysmemPixelFormat",{"type":18,"value":455},{"type":13,"tag":21,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":562},"PixelFormatType",{"type":18,"value":564}," value from the\n",{"type":13,"tag":21,"props":566,"children":568},{"className":567},[],[569],{"type":18,"value":570},"fuchsia.sysmem/image_formats.fidl",{"type":18,"value":572}," FIDL interface",{"type":13,"tag":445,"props":574,"children":575},{},[576,582,584],{"type":13,"tag":21,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":581},"colorSpaceCount",{"type":18,"value":583}," the element count of ",{"type":13,"tag":21,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":589},"pColorSpaces",{"type":13,"tag":445,"props":591,"children":592},{},[593,598,600,606,608],{"type":13,"tag":21,"props":594,"children":596},{"className":595},[],[597],{"type":18,"value":589},{"type":18,"value":599}," is a pointer to an array of\n",{"type":13,"tag":457,"props":601,"children":603},{"href":602},"/man/VkSysmemColorSpaceFUCHSIA",[604],{"type":18,"value":605},"VkSysmemColorSpaceFUCHSIA",{"type":18,"value":607}," structs of size ",{"type":13,"tag":21,"props":609,"children":611},{"className":610},[],[612],{"type":18,"value":581},{"type":13,"tag":614,"props":615,"children":617},"validity-group",{"name":616},"Valid Usage (Implicit)",[618,646,668,692,717,741,763,794],{"type":13,"tag":619,"props":620,"children":622},"validity-field",{"name":621},"VUID-VkImageFormatConstraintsInfoFUCHSIA-sType-sType",[623],{"type":13,"tag":14,"props":624,"children":625},{},[626,631,633,638,640],{"type":13,"tag":21,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":453},{"type":18,"value":632}," ",{"type":13,"tag":634,"props":635,"children":637},"normative",{"type":636},"must",[],{"type":18,"value":639}," be ",{"type":13,"tag":21,"props":641,"children":643},{"className":642},[],[644],{"type":18,"value":645},"VK_STRUCTURE_TYPE_IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA",{"type":13,"tag":619,"props":647,"children":649},{"name":648},"VUID-VkImageFormatConstraintsInfoFUCHSIA-pNext-pNext",[650],{"type":13,"tag":14,"props":651,"children":652},{},[653,658,659,662,663],{"type":13,"tag":21,"props":654,"children":656},{"className":655},[],[657],{"type":18,"value":473},{"type":18,"value":632},{"type":13,"tag":634,"props":660,"children":661},{"type":636},[],{"type":18,"value":639},{"type":13,"tag":21,"props":664,"children":666},{"className":665},[],[667],{"type":18,"value":481},{"type":13,"tag":619,"props":669,"children":671},{"name":670},"VUID-VkImageFormatConstraintsInfoFUCHSIA-imageCreateInfo-parameter",[672],{"type":13,"tag":14,"props":673,"children":674},{},[675,680,681,684,686,690],{"type":13,"tag":21,"props":676,"children":678},{"className":677},[],[679],{"type":18,"value":492},{"type":18,"value":632},{"type":13,"tag":634,"props":682,"children":683},{"type":636},[],{"type":18,"value":685}," be a valid ",{"type":13,"tag":457,"props":687,"children":688},{"href":497},[689],{"type":18,"value":500},{"type":18,"value":691}," structure",{"type":13,"tag":619,"props":693,"children":695},{"name":694},"VUID-VkImageFormatConstraintsInfoFUCHSIA-requiredFormatFeatures-parameter",[696],{"type":13,"tag":14,"props":697,"children":698},{},[699,704,705,708,710,715],{"type":13,"tag":21,"props":700,"children":702},{"className":701},[],[703],{"type":18,"value":525},{"type":18,"value":632},{"type":13,"tag":634,"props":706,"children":707},{"type":636},[],{"type":18,"value":709}," be a valid combination of ",{"type":13,"tag":457,"props":711,"children":713},{"href":712},"/man/VkFormatFeatureFlagBits",[714],{"type":18,"value":533},{"type":18,"value":716}," values",{"type":13,"tag":619,"props":718,"children":720},{"name":719},"VUID-VkImageFormatConstraintsInfoFUCHSIA-requiredFormatFeatures-requiredbitmask",[721],{"type":13,"tag":14,"props":722,"children":723},{},[724,729,730,733,735],{"type":13,"tag":21,"props":725,"children":727},{"className":726},[],[728],{"type":18,"value":525},{"type":18,"value":632},{"type":13,"tag":634,"props":731,"children":732},{"type":636},[],{"type":18,"value":734}," not be ",{"type":13,"tag":21,"props":736,"children":738},{"className":737},[],[739],{"type":18,"value":740},"0",{"type":13,"tag":619,"props":742,"children":744},{"name":743},"VUID-VkImageFormatConstraintsInfoFUCHSIA-flags-zerobitmask",[745],{"type":13,"tag":14,"props":746,"children":747},{},[748,753,754,757,758],{"type":13,"tag":21,"props":749,"children":751},{"className":750},[],[752],{"type":18,"value":544},{"type":18,"value":632},{"type":13,"tag":634,"props":755,"children":756},{"type":636},[],{"type":18,"value":639},{"type":13,"tag":21,"props":759,"children":761},{"className":760},[],[762],{"type":18,"value":740},{"type":13,"tag":619,"props":764,"children":766},{"name":765},"VUID-VkImageFormatConstraintsInfoFUCHSIA-pColorSpaces-parameter",[767],{"type":13,"tag":14,"props":768,"children":769},{},[770,775,776,779,781,786,788,792],{"type":13,"tag":21,"props":771,"children":773},{"className":772},[],[774],{"type":18,"value":589},{"type":18,"value":632},{"type":13,"tag":634,"props":777,"children":778},{"type":636},[],{"type":18,"value":780}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":782,"children":784},{"className":783},[],[785],{"type":18,"value":581},{"type":18,"value":787}," valid ",{"type":13,"tag":457,"props":789,"children":790},{"href":602},[791],{"type":18,"value":605},{"type":18,"value":793}," structures",{"type":13,"tag":619,"props":795,"children":797},{"name":796},"VUID-VkImageFormatConstraintsInfoFUCHSIA-colorSpaceCount-arraylength",[798],{"type":13,"tag":14,"props":799,"children":800},{},[801,806,807,810,812],{"type":13,"tag":21,"props":802,"children":804},{"className":803},[],[805],{"type":18,"value":581},{"type":18,"value":632},{"type":13,"tag":634,"props":808,"children":809},{"type":636},[],{"type":18,"value":811}," be greater than ",{"type":13,"tag":21,"props":813,"children":815},{"className":814},[],[816],{"type":18,"value":740},{"type":13,"tag":818,"props":819,"children":820},"style",{},[821],{"type":18,"value":822},"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":824},[],"markdown",1725732557501]