[{"data":1,"prerenderedAt":609},["ShallowReactive",2],{"UIqFhi3Mcn":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":608,"_id":4},"VkImageFormatProperties2","Structure specifying an image format properties","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":606},"root",[12,28,233,238,303,387,414,456,600],{"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,108],{"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 VkImageFormatProperties2 {\n VkStructureType sType;\n void* pNext;\n VkImageFormatProperties imageFormatProperties;\n} VkImageFormatProperties2;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkImageFormatProperties2 {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkImageFormatProperties imageFormatProperties;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107},"} VkImageFormatProperties2;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageFormatProperties2 {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n image_format_properties: vk::ImageFormatProperties,\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,225],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," ImageFormatProperties2",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," image_format_properties",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"ImageFormatProperties",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":173},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":101},[228],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},"}\n",{"type":13,"tag":14,"props":234,"children":235},{},[236],{"type":18,"value":237},"or the equivalent",{"type":13,"tag":29,"props":239,"children":240},{},[241,260],{"type":13,"tag":33,"props":242,"children":244},{"className":35,"code":243,"filename":37,"language":38,"meta":39,"style":39},"typedef VkImageFormatProperties2 VkImageFormatProperties2KHR;\n",[245],{"type":13,"tag":21,"props":246,"children":247},{"__ignoreMap":39},[248],{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":48},[251,255],{"type":13,"tag":45,"props":252,"children":253},{"style":52},[254],{"type":18,"value":55},{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," VkImageFormatProperties2 VkImageFormatProperties2KHR;\n",{"type":13,"tag":33,"props":261,"children":263},{"className":110,"code":262,"filename":112,"language":113,"meta":39,"style":39},"type ImageFormatProperties2KHR = vk::ImageFormatProperties2;\n",[264],{"type":13,"tag":21,"props":265,"children":266},{"__ignoreMap":39},[267],{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":48},[270,275,280,285,289,293,298],{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":274},"type",{"type":13,"tag":45,"props":276,"children":277},{"style":132},[278],{"type":18,"value":279}," ImageFormatProperties2KHR",{"type":13,"tag":45,"props":281,"children":282},{"style":52},[283],{"type":18,"value":284}," =",{"type":13,"tag":45,"props":286,"children":287},{"style":132},[288],{"type":18,"value":158},{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":163},{"type":13,"tag":45,"props":294,"children":295},{"style":132},[296],{"type":18,"value":297},"ImageFormatProperties2",{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302},";\n",{"type":13,"tag":304,"props":305,"children":306},"ul",{},[307,328,369],{"type":13,"tag":308,"props":309,"children":310},"li",{},[311,317,319,326],{"type":13,"tag":21,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"sType",{"type":18,"value":318}," is a ",{"type":13,"tag":320,"props":321,"children":323},"a",{"href":322},"/man/VkStructureType",[324],{"type":18,"value":325},"VkStructureType",{"type":18,"value":327}," value identifying this structure.",{"type":13,"tag":308,"props":329,"children":330},{},[331,337,339,345,347,352,354,359,361,367],{"type":13,"tag":21,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":336},"pNext",{"type":18,"value":338}," is ",{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"NULL",{"type":18,"value":346}," or a pointer to a structure extending this\nstructure.\nThe ",{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":336},{"type":18,"value":353}," chain of ",{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":4},{"type":18,"value":360}," is used to allow\nthe specification of additional capabilities to be returned from\n",{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":366},"vkGetPhysicalDeviceImageFormatProperties2",{"type":18,"value":368},".",{"type":13,"tag":308,"props":370,"children":371},{},[372,378,379,385],{"type":13,"tag":21,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":377},"imageFormatProperties",{"type":18,"value":318},{"type":13,"tag":320,"props":380,"children":382},{"href":381},"/man/VkImageFormatProperties",[383],{"type":18,"value":384},"VkImageFormatProperties",{"type":18,"value":386}," structure\nin which capabilities are returned.",{"type":13,"tag":14,"props":388,"children":389},{},[390,392,397,399,405,407,412],{"type":18,"value":391},"If the combination of parameters to\n",{"type":13,"tag":21,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":366},{"type":18,"value":398}," is not supported by the\nimplementation for use in ",{"type":13,"tag":320,"props":400,"children":402},{"href":401},"/man/vkCreateImage",[403],{"type":18,"value":404},"vkCreateImage",{"type":18,"value":406},", then all members of\n",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":377},{"type":18,"value":413}," will be filled with zero.",{"type":13,"tag":415,"props":416,"children":417},"note",{},[418],{"type":13,"tag":14,"props":419,"children":420},{},[421,423,428,430,435,437,442,443,448,450,455],{"type":18,"value":422},"Filling ",{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":377},{"type":18,"value":429}," with zero for unsupported formats is an\nexception to the usual rule that output structures have undefined: contents\non error.\nThis exception was unintentional, but is preserved for backwards\ncompatibility.\nThis exception only applies to ",{"type":13,"tag":21,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":377},{"type":18,"value":436},", not ",{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":316},{"type":18,"value":173},{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":336},{"type":18,"value":449},", or any structures chained from ",{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":336},{"type":18,"value":368},{"type":13,"tag":457,"props":458,"children":460},"validity-group",{"name":459},"Valid Usage (Implicit)",[461,489,574],{"type":13,"tag":462,"props":463,"children":465},"validity-field",{"name":464},"VUID-VkImageFormatProperties2-sType-sType",[466],{"type":13,"tag":14,"props":467,"children":468},{},[469,474,476,481,483],{"type":13,"tag":21,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":316},{"type":18,"value":475}," ",{"type":13,"tag":477,"props":478,"children":480},"normative",{"type":479},"must",[],{"type":18,"value":482}," be ",{"type":13,"tag":21,"props":484,"children":486},{"className":485},[],[487],{"type":18,"value":488},"VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2",{"type":13,"tag":462,"props":490,"children":492},{"name":491},"VUID-VkImageFormatProperties2-pNext-pNext",[493],{"type":13,"tag":14,"props":494,"children":495},{},[496,498,503,505,510,512,515,517,522,524,530,532,538,539,545,546,552,553,559,560,566,568],{"type":18,"value":497},"Each ",{"type":13,"tag":21,"props":499,"children":501},{"className":500},[],[502],{"type":18,"value":336},{"type":18,"value":504}," member of any structure (including this one) in the ",{"type":13,"tag":21,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":336},{"type":18,"value":511}," chain ",{"type":13,"tag":477,"props":513,"children":514},{"type":479},[],{"type":18,"value":516}," be either ",{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":344},{"type":18,"value":523}," or a pointer to a valid instance of ",{"type":13,"tag":320,"props":525,"children":527},{"href":526},"/man/VkAndroidHardwareBufferUsageANDROID",[528],{"type":18,"value":529},"VkAndroidHardwareBufferUsageANDROID",{"type":18,"value":531},", ",{"type":13,"tag":320,"props":533,"children":535},{"href":534},"/man/VkExternalImageFormatProperties",[536],{"type":18,"value":537},"VkExternalImageFormatProperties",{"type":18,"value":531},{"type":13,"tag":320,"props":540,"children":542},{"href":541},"/man/VkFilterCubicImageViewImageFormatPropertiesEXT",[543],{"type":18,"value":544},"VkFilterCubicImageViewImageFormatPropertiesEXT",{"type":18,"value":531},{"type":13,"tag":320,"props":547,"children":549},{"href":548},"/man/VkHostImageCopyDevicePerformanceQueryEXT",[550],{"type":18,"value":551},"VkHostImageCopyDevicePerformanceQueryEXT",{"type":18,"value":531},{"type":13,"tag":320,"props":554,"children":556},{"href":555},"/man/VkImageCompressionPropertiesEXT",[557],{"type":18,"value":558},"VkImageCompressionPropertiesEXT",{"type":18,"value":531},{"type":13,"tag":320,"props":561,"children":563},{"href":562},"/man/VkSamplerYcbcrConversionImageFormatProperties",[564],{"type":18,"value":565},"VkSamplerYcbcrConversionImageFormatProperties",{"type":18,"value":567},", or ",{"type":13,"tag":320,"props":569,"children":571},{"href":570},"/man/VkTextureLODGatherFormatPropertiesAMD",[572],{"type":18,"value":573},"VkTextureLODGatherFormatPropertiesAMD",{"type":13,"tag":462,"props":575,"children":577},{"name":576},"VUID-VkImageFormatProperties2-sType-unique",[578],{"type":13,"tag":14,"props":579,"children":580},{},[581,582,587,589,594,595,598],{"type":18,"value":19},{"type":13,"tag":21,"props":583,"children":585},{"className":584},[],[586],{"type":18,"value":316},{"type":18,"value":588}," value of each struct in the ",{"type":13,"tag":21,"props":590,"children":592},{"className":591},[],[593],{"type":18,"value":336},{"type":18,"value":511},{"type":13,"tag":477,"props":596,"children":597},{"type":479},[],{"type":18,"value":599}," be unique",{"type":13,"tag":601,"props":602,"children":603},"style",{},[604],{"type":18,"value":605},"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":607},[],"markdown",1725732557560]