[{"data":1,"prerenderedAt":456},["ShallowReactive",2],{"$fOiWebrurbYi2eX4RotL2p38v8ufAcwvX48X6TzAPAEs":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":16,"xrefs":17,"body":18,"_type":455,"_id":4},"VkImageUsageFlags2CreateInfoKHR","Extended image usage flags","VK_KHR_extended_flags",[8,9,10,11,12,13,14,15],"VkFramebufferAttachmentImageInfo","VkImageCreateInfo","VkPhysicalDeviceImageFormatInfo2","VkPhysicalDeviceSparseImageFormatInfo2","VkPhysicalDeviceVideoFormatInfoKHR","VkSurfaceCapabilities2KHR","VkSwapchainCreateInfoKHR","VkVideoFormatPropertiesKHR","structs",[],{"type":19,"children":20,"toc":453},"root",[21,37,242,305,331,366,447],{"type":22,"tag":23,"props":24,"children":25},"element","p",{},[26,29,35],{"type":27,"value":28},"text","The ",{"type":22,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":27,"value":4},{"type":27,"value":36}," structure is defined as:",{"type":22,"tag":38,"props":39,"children":40},"code-group",{},[41,117],{"type":22,"tag":42,"props":43,"children":49},"pre",{"className":44,"code":45,"filename":46,"language":47,"meta":48,"style":48},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImageUsageFlags2CreateInfoKHR {\n VkStructureType sType;\n void* pNext;\n VkImageUsageFlags2KHR usage;\n} VkImageUsageFlags2CreateInfoKHR;\n","C","c","",[50],{"type":22,"tag":30,"props":51,"children":52},{"__ignoreMap":48},[53,76,85,99,108],{"type":22,"tag":54,"props":55,"children":58},"span",{"class":56,"line":57},"line",1,[59,65,70],{"type":22,"tag":54,"props":60,"children":62},{"style":61},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[63],{"type":27,"value":64},"typedef",{"type":22,"tag":54,"props":66,"children":67},{"style":61},[68],{"type":27,"value":69}," struct",{"type":22,"tag":54,"props":71,"children":73},{"style":72},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[74],{"type":27,"value":75}," VkImageUsageFlags2CreateInfoKHR {\n",{"type":22,"tag":54,"props":77,"children":79},{"class":56,"line":78},2,[80],{"type":22,"tag":54,"props":81,"children":82},{"style":72},[83],{"type":27,"value":84}," VkStructureType sType;\n",{"type":22,"tag":54,"props":86,"children":88},{"class":56,"line":87},3,[89,94],{"type":22,"tag":54,"props":90,"children":91},{"style":61},[92],{"type":27,"value":93}," void*",{"type":22,"tag":54,"props":95,"children":96},{"style":72},[97],{"type":27,"value":98}," pNext;\n",{"type":22,"tag":54,"props":100,"children":102},{"class":56,"line":101},4,[103],{"type":22,"tag":54,"props":104,"children":105},{"style":72},[106],{"type":27,"value":107}," VkImageUsageFlags2KHR usage;\n",{"type":22,"tag":54,"props":109,"children":111},{"class":56,"line":110},5,[112],{"type":22,"tag":54,"props":113,"children":114},{"style":72},[115],{"type":27,"value":116},"} VkImageUsageFlags2CreateInfoKHR;\n",{"type":22,"tag":42,"props":118,"children":123},{"className":119,"code":120,"filename":121,"language":122,"meta":48,"style":48},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageUsageFlags2CreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n usage: vk::ImageUsageFlags2KHR,\n}\n","Rust","rs",[124],{"type":22,"tag":30,"props":125,"children":126},{"__ignoreMap":48},[127,150,183,205,234],{"type":22,"tag":54,"props":128,"children":129},{"class":56,"line":57},[130,135,139,145],{"type":22,"tag":54,"props":131,"children":132},{"style":61},[133],{"type":27,"value":134},"pub",{"type":22,"tag":54,"props":136,"children":137},{"style":61},[138],{"type":27,"value":69},{"type":22,"tag":54,"props":140,"children":142},{"style":141},"--shiki-default:#953800;--shiki-dark:#FFA657",[143],{"type":27,"value":144}," ImageUsageFlags2CreateInfoKHR",{"type":22,"tag":54,"props":146,"children":147},{"style":72},[148],{"type":27,"value":149}," {\n",{"type":22,"tag":54,"props":151,"children":152},{"class":56,"line":78},[153,158,163,168,173,178],{"type":22,"tag":54,"props":154,"children":155},{"style":72},[156],{"type":27,"value":157}," s_type",{"type":22,"tag":54,"props":159,"children":160},{"style":61},[161],{"type":27,"value":162},":",{"type":22,"tag":54,"props":164,"children":165},{"style":141},[166],{"type":27,"value":167}," vk",{"type":22,"tag":54,"props":169,"children":170},{"style":61},[171],{"type":27,"value":172},"::",{"type":22,"tag":54,"props":174,"children":175},{"style":141},[176],{"type":27,"value":177},"StructureType",{"type":22,"tag":54,"props":179,"children":180},{"style":72},[181],{"type":27,"value":182},",\n",{"type":22,"tag":54,"props":184,"children":185},{"class":56,"line":87},[186,191,195,200],{"type":22,"tag":54,"props":187,"children":188},{"style":72},[189],{"type":27,"value":190}," p_next",{"type":22,"tag":54,"props":192,"children":193},{"style":61},[194],{"type":27,"value":162},{"type":22,"tag":54,"props":196,"children":197},{"style":61},[198],{"type":27,"value":199}," *mut",{"type":22,"tag":54,"props":201,"children":202},{"style":72},[203],{"type":27,"value":204}," c_void,\n",{"type":22,"tag":54,"props":206,"children":207},{"class":56,"line":101},[208,213,217,221,225,230],{"type":22,"tag":54,"props":209,"children":210},{"style":72},[211],{"type":27,"value":212}," usage",{"type":22,"tag":54,"props":214,"children":215},{"style":61},[216],{"type":27,"value":162},{"type":22,"tag":54,"props":218,"children":219},{"style":141},[220],{"type":27,"value":167},{"type":22,"tag":54,"props":222,"children":223},{"style":61},[224],{"type":27,"value":172},{"type":22,"tag":54,"props":226,"children":227},{"style":141},[228],{"type":27,"value":229},"ImageUsageFlags2KHR",{"type":22,"tag":54,"props":231,"children":232},{"style":72},[233],{"type":27,"value":182},{"type":22,"tag":54,"props":235,"children":236},{"class":56,"line":110},[237],{"type":22,"tag":54,"props":238,"children":239},{"style":72},[240],{"type":27,"value":241},"}\n",{"type":22,"tag":243,"props":244,"children":245},"ul",{},[246,267,286],{"type":22,"tag":247,"props":248,"children":249},"li",{},[250,256,258,265],{"type":22,"tag":30,"props":251,"children":253},{"className":252},[],[254],{"type":27,"value":255},"sType",{"type":27,"value":257}," is a ",{"type":22,"tag":259,"props":260,"children":262},"a",{"href":261},"\u002Fman\u002FVkStructureType",[263],{"type":27,"value":264},"VkStructureType",{"type":27,"value":266}," value identifying this structure.",{"type":22,"tag":247,"props":268,"children":269},{},[270,276,278,284],{"type":22,"tag":30,"props":271,"children":273},{"className":272},[],[274],{"type":27,"value":275},"pNext",{"type":27,"value":277}," is ",{"type":22,"tag":30,"props":279,"children":281},{"className":280},[],[282],{"type":27,"value":283},"NULL",{"type":27,"value":285}," or a pointer to a structure extending this\nstructure.",{"type":22,"tag":247,"props":287,"children":288},{},[289,295,297,303],{"type":22,"tag":30,"props":290,"children":292},{"className":291},[],[293],{"type":27,"value":294},"usage",{"type":27,"value":296}," is a bitmask of ",{"type":22,"tag":259,"props":298,"children":300},{"href":299},"\u002Fman\u002FVkImageUsageFlagBits2KHR",[301],{"type":27,"value":302},"VkImageUsageFlagBits2KHR",{"type":27,"value":304}," specifying\nallowed usages of the image.",{"type":22,"tag":23,"props":306,"children":307},{},[308,310,315,317,322,324,329],{"type":27,"value":309},"If this structure is included in the ",{"type":22,"tag":30,"props":311,"children":313},{"className":312},[],[314],{"type":27,"value":275},{"type":27,"value":316}," chain of an image creation\nstructure, ",{"type":22,"tag":30,"props":318,"children":320},{"className":319},[],[321],{"type":27,"value":294},{"type":27,"value":323}," is used instead of the corresponding ",{"type":22,"tag":30,"props":325,"children":327},{"className":326},[],[328],{"type":27,"value":294},{"type":27,"value":330},"\nvalue passed in that creation structure, allowing additional usage flags to\nbe specified.",{"type":22,"tag":23,"props":332,"children":333},{},[334,335,340,342,348,350,356,358,364],{"type":27,"value":309},{"type":22,"tag":30,"props":336,"children":338},{"className":337},[],[339],{"type":27,"value":275},{"type":27,"value":341}," chain of a query structure\nincluding ",{"type":22,"tag":259,"props":343,"children":345},{"href":344},"\u002Fman\u002FVkImageCreateFlags",[346],{"type":27,"value":347},"VkImageCreateFlags",{"type":27,"value":349},", the usage flags of the image are\nreturned in ",{"type":22,"tag":30,"props":351,"children":353},{"className":352},[],[354],{"type":27,"value":355},"flags",{"type":27,"value":357}," of this structure, allowing additional usage flags\nto be queried.\nThe flags representable in ",{"type":22,"tag":259,"props":359,"children":361},{"href":360},"\u002Fman\u002FVkImageUsageFlags",[362],{"type":27,"value":363},"VkImageUsageFlags",{"type":27,"value":365}," are still returned in the\nquery structure in this case.",{"type":22,"tag":367,"props":368,"children":370},"validity-group",{"name":369},"Valid Usage (Implicit)",[371,399,423],{"type":22,"tag":372,"props":373,"children":375},"validity-field",{"name":374},"VUID-VkImageUsageFlags2CreateInfoKHR-sType-sType",[376],{"type":22,"tag":23,"props":377,"children":378},{},[379,384,386,391,393],{"type":22,"tag":30,"props":380,"children":382},{"className":381},[],[383],{"type":27,"value":255},{"type":27,"value":385}," ",{"type":22,"tag":387,"props":388,"children":390},"normative",{"type":389},"must",[],{"type":27,"value":392}," be ",{"type":22,"tag":30,"props":394,"children":396},{"className":395},[],[397],{"type":27,"value":398},"VK_STRUCTURE_TYPE_IMAGE_USAGE_FLAGS_2_CREATE_INFO_KHR",{"type":22,"tag":372,"props":400,"children":402},{"name":401},"VUID-VkImageUsageFlags2CreateInfoKHR-usage-parameter",[403],{"type":22,"tag":23,"props":404,"children":405},{},[406,411,412,415,417,421],{"type":22,"tag":30,"props":407,"children":409},{"className":408},[],[410],{"type":27,"value":294},{"type":27,"value":385},{"type":22,"tag":387,"props":413,"children":414},{"type":389},[],{"type":27,"value":416}," be a valid combination of ",{"type":22,"tag":259,"props":418,"children":419},{"href":299},[420],{"type":27,"value":302},{"type":27,"value":422}," values",{"type":22,"tag":372,"props":424,"children":426},{"name":425},"VUID-VkImageUsageFlags2CreateInfoKHR-usage-requiredbitmask",[427],{"type":22,"tag":23,"props":428,"children":429},{},[430,435,436,439,441],{"type":22,"tag":30,"props":431,"children":433},{"className":432},[],[434],{"type":27,"value":294},{"type":27,"value":385},{"type":22,"tag":387,"props":437,"children":438},{"type":389},[],{"type":27,"value":440}," not be ",{"type":22,"tag":30,"props":442,"children":444},{"className":443},[],[445],{"type":27,"value":446},"0",{"type":22,"tag":448,"props":449,"children":450},"style",{},[451],{"type":27,"value":452},"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":48,"searchDepth":78,"depth":78,"links":454},[],"markdown",1780828915684]