[{"data":1,"prerenderedAt":782},["ShallowReactive",2],{"$foWGdtCMiXhRqjn8NSMrLqlgfSiMFGy2WmaFOK2U48wU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":781,"_id":4},"VkImageDescriptorInfoEXT","Structure describing an image descriptor created from an image","VK_EXT_descriptor_heap","structs",[],{"type":10,"children":11,"toc":779},"root",[12,26,292,374,675,773],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,24],{"type":13,"tag":18,"props":19,"children":21},"code",{"className":20},[],[22],{"type":23,"value":4},"text",{"type":23,"value":25}," is defined as:",{"type":13,"tag":27,"props":28,"children":29},"code-group",{},[30,134],{"type":13,"tag":31,"props":32,"children":38},"pre",{"className":33,"code":34,"filename":35,"language":36,"meta":37,"style":37},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImageDescriptorInfoEXT {\n VkStructureType sType;\n const void* pNext;\n const VkImageViewCreateInfo* pView;\n VkImageLayout layout;\n} VkImageDescriptorInfoEXT;\n","C","c","",[39],{"type":13,"tag":18,"props":40,"children":41},{"__ignoreMap":37},[42,65,74,93,116,125],{"type":13,"tag":43,"props":44,"children":47},"span",{"class":45,"line":46},"line",1,[48,54,59],{"type":13,"tag":43,"props":49,"children":51},{"style":50},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[52],{"type":23,"value":53},"typedef",{"type":13,"tag":43,"props":55,"children":56},{"style":50},[57],{"type":23,"value":58}," struct",{"type":13,"tag":43,"props":60,"children":62},{"style":61},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[63],{"type":23,"value":64}," VkImageDescriptorInfoEXT {\n",{"type":13,"tag":43,"props":66,"children":68},{"class":45,"line":67},2,[69],{"type":13,"tag":43,"props":70,"children":71},{"style":61},[72],{"type":23,"value":73}," VkStructureType sType;\n",{"type":13,"tag":43,"props":75,"children":77},{"class":45,"line":76},3,[78,83,88],{"type":13,"tag":43,"props":79,"children":80},{"style":50},[81],{"type":23,"value":82}," const",{"type":13,"tag":43,"props":84,"children":85},{"style":50},[86],{"type":23,"value":87}," void*",{"type":13,"tag":43,"props":89,"children":90},{"style":61},[91],{"type":23,"value":92}," pNext;\n",{"type":13,"tag":43,"props":94,"children":96},{"class":45,"line":95},4,[97,101,106,111],{"type":13,"tag":43,"props":98,"children":99},{"style":50},[100],{"type":23,"value":82},{"type":13,"tag":43,"props":102,"children":103},{"style":61},[104],{"type":23,"value":105}," VkImageViewCreateInfo",{"type":13,"tag":43,"props":107,"children":108},{"style":50},[109],{"type":23,"value":110},"*",{"type":13,"tag":43,"props":112,"children":113},{"style":61},[114],{"type":23,"value":115}," pView;\n",{"type":13,"tag":43,"props":117,"children":119},{"class":45,"line":118},5,[120],{"type":13,"tag":43,"props":121,"children":122},{"style":61},[123],{"type":23,"value":124}," VkImageLayout layout;\n",{"type":13,"tag":43,"props":126,"children":128},{"class":45,"line":127},6,[129],{"type":13,"tag":43,"props":130,"children":131},{"style":61},[132],{"type":23,"value":133},"} VkImageDescriptorInfoEXT;\n",{"type":13,"tag":31,"props":135,"children":140},{"className":136,"code":137,"filename":138,"language":139,"meta":37,"style":37},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageDescriptorInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n p_view: *const vk::ImageViewCreateInfo,\n layout: vk::ImageLayout,\n}\n","Rust","rs",[141],{"type":13,"tag":18,"props":142,"children":143},{"__ignoreMap":37},[144,167,200,222,255,284],{"type":13,"tag":43,"props":145,"children":146},{"class":45,"line":46},[147,152,156,162],{"type":13,"tag":43,"props":148,"children":149},{"style":50},[150],{"type":23,"value":151},"pub",{"type":13,"tag":43,"props":153,"children":154},{"style":50},[155],{"type":23,"value":58},{"type":13,"tag":43,"props":157,"children":159},{"style":158},"--shiki-default:#953800;--shiki-dark:#FFA657",[160],{"type":23,"value":161}," ImageDescriptorInfoEXT",{"type":13,"tag":43,"props":163,"children":164},{"style":61},[165],{"type":23,"value":166}," {\n",{"type":13,"tag":43,"props":168,"children":169},{"class":45,"line":67},[170,175,180,185,190,195],{"type":13,"tag":43,"props":171,"children":172},{"style":61},[173],{"type":23,"value":174}," s_type",{"type":13,"tag":43,"props":176,"children":177},{"style":50},[178],{"type":23,"value":179},":",{"type":13,"tag":43,"props":181,"children":182},{"style":158},[183],{"type":23,"value":184}," vk",{"type":13,"tag":43,"props":186,"children":187},{"style":50},[188],{"type":23,"value":189},"::",{"type":13,"tag":43,"props":191,"children":192},{"style":158},[193],{"type":23,"value":194},"StructureType",{"type":13,"tag":43,"props":196,"children":197},{"style":61},[198],{"type":23,"value":199},",\n",{"type":13,"tag":43,"props":201,"children":202},{"class":45,"line":76},[203,208,212,217],{"type":13,"tag":43,"props":204,"children":205},{"style":61},[206],{"type":23,"value":207}," p_next",{"type":13,"tag":43,"props":209,"children":210},{"style":50},[211],{"type":23,"value":179},{"type":13,"tag":43,"props":213,"children":214},{"style":50},[215],{"type":23,"value":216}," *const",{"type":13,"tag":43,"props":218,"children":219},{"style":61},[220],{"type":23,"value":221}," c_void,\n",{"type":13,"tag":43,"props":223,"children":224},{"class":45,"line":95},[225,230,234,238,242,246,251],{"type":13,"tag":43,"props":226,"children":227},{"style":61},[228],{"type":23,"value":229}," p_view",{"type":13,"tag":43,"props":231,"children":232},{"style":50},[233],{"type":23,"value":179},{"type":13,"tag":43,"props":235,"children":236},{"style":50},[237],{"type":23,"value":216},{"type":13,"tag":43,"props":239,"children":240},{"style":158},[241],{"type":23,"value":184},{"type":13,"tag":43,"props":243,"children":244},{"style":50},[245],{"type":23,"value":189},{"type":13,"tag":43,"props":247,"children":248},{"style":158},[249],{"type":23,"value":250},"ImageViewCreateInfo",{"type":13,"tag":43,"props":252,"children":253},{"style":61},[254],{"type":23,"value":199},{"type":13,"tag":43,"props":256,"children":257},{"class":45,"line":118},[258,263,267,271,275,280],{"type":13,"tag":43,"props":259,"children":260},{"style":61},[261],{"type":23,"value":262}," layout",{"type":13,"tag":43,"props":264,"children":265},{"style":50},[266],{"type":23,"value":179},{"type":13,"tag":43,"props":268,"children":269},{"style":158},[270],{"type":23,"value":184},{"type":13,"tag":43,"props":272,"children":273},{"style":50},[274],{"type":23,"value":189},{"type":13,"tag":43,"props":276,"children":277},{"style":158},[278],{"type":23,"value":279},"ImageLayout",{"type":13,"tag":43,"props":281,"children":282},{"style":61},[283],{"type":23,"value":199},{"type":13,"tag":43,"props":285,"children":286},{"class":45,"line":127},[287],{"type":13,"tag":43,"props":288,"children":289},{"style":61},[290],{"type":23,"value":291},"}\n",{"type":13,"tag":293,"props":294,"children":295},"ul",{},[296,317,336,355],{"type":13,"tag":297,"props":298,"children":299},"li",{},[300,306,308,315],{"type":13,"tag":18,"props":301,"children":303},{"className":302},[],[304],{"type":23,"value":305},"sType",{"type":23,"value":307}," is a ",{"type":13,"tag":309,"props":310,"children":312},"a",{"href":311},"/man/VkStructureType",[313],{"type":23,"value":314},"VkStructureType",{"type":23,"value":316}," value identifying this structure.",{"type":13,"tag":297,"props":318,"children":319},{},[320,326,328,334],{"type":13,"tag":18,"props":321,"children":323},{"className":322},[],[324],{"type":23,"value":325},"pNext",{"type":23,"value":327}," is ",{"type":13,"tag":18,"props":329,"children":331},{"className":330},[],[332],{"type":23,"value":333},"NULL",{"type":23,"value":335}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":297,"props":337,"children":338},{},[339,345,347,353],{"type":13,"tag":18,"props":340,"children":342},{"className":341},[],[343],{"type":23,"value":344},"pView",{"type":23,"value":346}," is an ",{"type":13,"tag":309,"props":348,"children":350},{"href":349},"/man/VkImageViewCreateInfo",[351],{"type":23,"value":352},"VkImageViewCreateInfo",{"type":23,"value":354}," describing the descriptor.",{"type":13,"tag":297,"props":356,"children":357},{},[358,364,366,372],{"type":13,"tag":18,"props":359,"children":361},{"className":360},[],[362],{"type":23,"value":363},"layout",{"type":23,"value":365}," is the ",{"type":13,"tag":309,"props":367,"children":369},{"href":368},"/man/VkImageLayout",[370],{"type":23,"value":371},"VkImageLayout",{"type":23,"value":373}," that the image view will be in\nwhen accessed as a descriptor.",{"type":13,"tag":375,"props":376,"children":378},"validity-group",{"name":377},"Valid Usage",[379,432,493,588,632],{"type":13,"tag":380,"props":381,"children":383},"validity-field",{"name":382},"VUID-VkImageDescriptorInfoEXT-pView-11426",[384],{"type":13,"tag":14,"props":385,"children":386},{},[387,393,395,400,402,408,410,416,418,424,426],{"type":13,"tag":18,"props":388,"children":390},{"className":389},[],[391],{"type":23,"value":392},"pView→viewType",{"type":23,"value":394}," ",{"type":13,"tag":396,"props":397,"children":399},"normative",{"type":398},"must",[],{"type":23,"value":401}," not be ",{"type":13,"tag":18,"props":403,"children":405},{"className":404},[],[406],{"type":23,"value":407},"VK_IMAGE_VIEW_TYPE_2D_ARRAY",{"type":23,"value":409}," if\n",{"type":13,"tag":18,"props":411,"children":413},{"className":412},[],[414],{"type":23,"value":415},"pView→image",{"type":23,"value":417}," was created with an ",{"type":13,"tag":18,"props":419,"children":421},{"className":420},[],[422],{"type":23,"value":423},"imageType",{"type":23,"value":425}," of\n",{"type":13,"tag":18,"props":427,"children":429},{"className":428},[],[430],{"type":23,"value":431},"VK_IMAGE_TYPE_3D",{"type":13,"tag":380,"props":433,"children":435},{"name":434},"VUID-VkImageDescriptorInfoEXT-pView-11427",[436],{"type":13,"tag":14,"props":437,"children":438},{},[439,441,446,447,453,455,460,461,466,467,472,474,479,480,483,485,491],{"type":23,"value":440},"If ",{"type":13,"tag":18,"props":442,"children":444},{"className":443},[],[445],{"type":23,"value":392},{"type":23,"value":327},{"type":13,"tag":18,"props":448,"children":450},{"className":449},[],[451],{"type":23,"value":452},"VK_IMAGE_VIEW_TYPE_2D",{"type":23,"value":454}," and\n",{"type":13,"tag":18,"props":456,"children":458},{"className":457},[],[459],{"type":23,"value":415},{"type":23,"value":417},{"type":13,"tag":18,"props":462,"children":464},{"className":463},[],[465],{"type":23,"value":423},{"type":23,"value":425},{"type":13,"tag":18,"props":468,"children":470},{"className":469},[],[471],{"type":23,"value":431},{"type":23,"value":473},", ",{"type":13,"tag":18,"props":475,"children":477},{"className":476},[],[478],{"type":23,"value":415},{"type":23,"value":394},{"type":13,"tag":396,"props":481,"children":482},{"type":398},[],{"type":23,"value":484}," have been created with\n",{"type":13,"tag":18,"props":486,"children":488},{"className":487},[],[489],{"type":23,"value":490},"VK_IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT",{"type":23,"value":492}," set",{"type":13,"tag":380,"props":494,"children":496},{"name":495},"VUID-VkImageDescriptorInfoEXT-layout-11219",[497],{"type":13,"tag":14,"props":498,"children":499},{},[500,505,506,509,511,517,518,524,525,531,532,538,539,545,546,552,553,559,560,566,567,573,574,580,582],{"type":13,"tag":18,"props":501,"children":503},{"className":502},[],[504],{"type":23,"value":363},{"type":23,"value":394},{"type":13,"tag":396,"props":507,"children":508},{"type":398},[],{"type":23,"value":510}," be\n",{"type":13,"tag":18,"props":512,"children":514},{"className":513},[],[515],{"type":23,"value":516},"VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":519,"children":521},{"className":520},[],[522],{"type":23,"value":523},"VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":526,"children":528},{"className":527},[],[529],{"type":23,"value":530},"VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":533,"children":535},{"className":534},[],[536],{"type":23,"value":537},"VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":540,"children":542},{"className":541},[],[543],{"type":23,"value":544},"VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":547,"children":549},{"className":548},[],[550],{"type":23,"value":551},"VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":554,"children":556},{"className":555},[],[557],{"type":23,"value":558},"VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL",{"type":23,"value":199},{"type":13,"tag":18,"props":561,"children":563},{"className":562},[],[564],{"type":23,"value":565},"VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR",{"type":23,"value":199},{"type":13,"tag":18,"props":568,"children":570},{"className":569},[],[571],{"type":23,"value":572},"VK_IMAGE_LAYOUT_RENDERING_LOCAL_READ_KHR",{"type":23,"value":199},{"type":13,"tag":18,"props":575,"children":577},{"className":576},[],[578],{"type":23,"value":579},"VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT",{"type":23,"value":581},",\nor ",{"type":13,"tag":18,"props":583,"children":585},{"className":584},[],[586],{"type":23,"value":587},"VK_IMAGE_LAYOUT_GENERAL",{"type":13,"tag":380,"props":589,"children":591},{"name":590},"VUID-VkImageDescriptorInfoEXT-layout-11221",[592,602],{"type":13,"tag":31,"props":593,"children":597},{"className":594,"code":596,"language":23},[595],"language-text","If `layout` is\n`VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL`,\n`VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL`,\n`VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL`,\n`VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL`,\n",[598],{"type":13,"tag":18,"props":599,"children":600},{"__ignoreMap":37},[601],{"type":23,"value":596},{"type":13,"tag":14,"props":603,"children":604},{},[605,607,612,614,620,621,624,626],{"type":23,"value":606},"or\n",{"type":13,"tag":18,"props":608,"children":610},{"className":609},[],[611],{"type":23,"value":516},{"type":23,"value":613},", then\n",{"type":13,"tag":18,"props":615,"children":617},{"className":616},[],[618],{"type":23,"value":619},"pView→aspectMask",{"type":23,"value":394},{"type":13,"tag":396,"props":622,"children":623},{"type":398},[],{"type":23,"value":625}," not include\n",{"type":13,"tag":18,"props":627,"children":629},{"className":628},[],[630],{"type":23,"value":631},"VK_IMAGE_ASPECT_COLOR_BIT",{"type":13,"tag":380,"props":633,"children":635},{"name":634},"VUID-VkImageDescriptorInfoEXT-pView-11430",[636],{"type":13,"tag":14,"props":637,"children":638},{},[639,640,645,647,653,654,657,659,665,667,673],{"type":23,"value":440},{"type":13,"tag":18,"props":641,"children":643},{"className":642},[],[644],{"type":23,"value":415},{"type":23,"value":646}," is a depth/stencil image,\n",{"type":13,"tag":18,"props":648,"children":650},{"className":649},[],[651],{"type":23,"value":652},"pView→subresourceRange.aspectMask",{"type":23,"value":394},{"type":13,"tag":396,"props":655,"children":656},{"type":398},[],{"type":23,"value":658}," include either\n",{"type":13,"tag":18,"props":660,"children":662},{"className":661},[],[663],{"type":23,"value":664},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":23,"value":666}," or ",{"type":13,"tag":18,"props":668,"children":670},{"className":669},[],[671],{"type":23,"value":672},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":23,"value":674}," but\nnot both",{"type":13,"tag":375,"props":676,"children":678},{"name":677},"Valid Usage (Implicit)",[679,703,725,749],{"type":13,"tag":380,"props":680,"children":682},{"name":681},"VUID-VkImageDescriptorInfoEXT-sType-sType",[683],{"type":13,"tag":14,"props":684,"children":685},{},[686,691,692,695,697],{"type":13,"tag":18,"props":687,"children":689},{"className":688},[],[690],{"type":23,"value":305},{"type":23,"value":394},{"type":13,"tag":396,"props":693,"children":694},{"type":398},[],{"type":23,"value":696}," be ",{"type":13,"tag":18,"props":698,"children":700},{"className":699},[],[701],{"type":23,"value":702},"VK_STRUCTURE_TYPE_IMAGE_DESCRIPTOR_INFO_EXT",{"type":13,"tag":380,"props":704,"children":706},{"name":705},"VUID-VkImageDescriptorInfoEXT-pNext-pNext",[707],{"type":13,"tag":14,"props":708,"children":709},{},[710,715,716,719,720],{"type":13,"tag":18,"props":711,"children":713},{"className":712},[],[714],{"type":23,"value":325},{"type":23,"value":394},{"type":13,"tag":396,"props":717,"children":718},{"type":398},[],{"type":23,"value":696},{"type":13,"tag":18,"props":721,"children":723},{"className":722},[],[724],{"type":23,"value":333},{"type":13,"tag":380,"props":726,"children":728},{"name":727},"VUID-VkImageDescriptorInfoEXT-pView-parameter",[729],{"type":13,"tag":14,"props":730,"children":731},{},[732,737,738,741,743,747],{"type":13,"tag":18,"props":733,"children":735},{"className":734},[],[736],{"type":23,"value":344},{"type":23,"value":394},{"type":13,"tag":396,"props":739,"children":740},{"type":398},[],{"type":23,"value":742}," be a valid pointer to a valid ",{"type":13,"tag":309,"props":744,"children":745},{"href":349},[746],{"type":23,"value":352},{"type":23,"value":748}," structure",{"type":13,"tag":380,"props":750,"children":752},{"name":751},"VUID-VkImageDescriptorInfoEXT-layout-parameter",[753],{"type":13,"tag":14,"props":754,"children":755},{},[756,761,762,765,767,771],{"type":13,"tag":18,"props":757,"children":759},{"className":758},[],[760],{"type":23,"value":363},{"type":23,"value":394},{"type":13,"tag":396,"props":763,"children":764},{"type":398},[],{"type":23,"value":766}," be a valid ",{"type":13,"tag":309,"props":768,"children":769},{"href":368},[770],{"type":23,"value":371},{"type":23,"value":772}," value",{"type":13,"tag":774,"props":775,"children":776},"style",{},[777],{"type":23,"value":778},"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":37,"searchDepth":67,"depth":67,"links":780},[],"markdown",1773054754313]