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