[{"data":1,"prerenderedAt":676},["ShallowReactive",2],{"8uVWytxNWt":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":675,"_id":4},"VkImageBlit","Structure specifying an image blit operation","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":673},"root",[12,28,355,429,442,615,667],{"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,150],{"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 VkImageBlit {\n VkImageSubresourceLayers srcSubresource;\n VkOffset3D srcOffsets[2];\n VkImageSubresourceLayers dstSubresource;\n VkOffset3D dstOffsets[2];\n} VkImageBlit;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,107,116,141],{"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}," VkImageBlit {\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}," VkImageSubresourceLayers srcSubresource;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,91,96,102],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkOffset3D ",{"type":13,"tag":45,"props":86,"children":88},{"style":87},"--shiki-default:#953800;--shiki-dark:#FFA657",[89],{"type":18,"value":90},"srcOffsets",{"type":13,"tag":45,"props":92,"children":93},{"style":63},[94],{"type":18,"value":95},"[",{"type":13,"tag":45,"props":97,"children":99},{"style":98},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[100],{"type":18,"value":101},"2",{"type":13,"tag":45,"props":103,"children":104},{"style":63},[105],{"type":18,"value":106},"];\n",{"type":13,"tag":45,"props":108,"children":110},{"class":47,"line":109},4,[111],{"type":13,"tag":45,"props":112,"children":113},{"style":63},[114],{"type":18,"value":115}," VkImageSubresourceLayers dstSubresource;\n",{"type":13,"tag":45,"props":117,"children":119},{"class":47,"line":118},5,[120,124,129,133,137],{"type":13,"tag":45,"props":121,"children":122},{"style":63},[123],{"type":18,"value":84},{"type":13,"tag":45,"props":125,"children":126},{"style":87},[127],{"type":18,"value":128},"dstOffsets",{"type":13,"tag":45,"props":130,"children":131},{"style":63},[132],{"type":18,"value":95},{"type":13,"tag":45,"props":134,"children":135},{"style":98},[136],{"type":18,"value":101},{"type":13,"tag":45,"props":138,"children":139},{"style":63},[140],{"type":18,"value":106},{"type":13,"tag":45,"props":142,"children":144},{"class":47,"line":143},6,[145],{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149},"} VkImageBlit;\n",{"type":13,"tag":33,"props":151,"children":156},{"className":152,"code":153,"filename":154,"language":155,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageBlit {\n src_subresource: vk::ImageSubresourceLayers,\n src_offsets: *const [vk::Offset3D ; 2], // Specified in pixels for both compressed and uncompressed images\n dst_subresource: vk::ImageSubresourceLayers,\n dst_offsets: *const [vk::Offset3D ; 2], // Specified in pixels for both compressed and uncompressed images\n}\n","Rust","rs",[157],{"type":13,"tag":21,"props":158,"children":159},{"__ignoreMap":39},[160,182,215,271,299,347],{"type":13,"tag":45,"props":161,"children":162},{"class":47,"line":48},[163,168,172,177],{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},"pub",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":60},{"type":13,"tag":45,"props":173,"children":174},{"style":87},[175],{"type":18,"value":176}," ImageBlit",{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," {\n",{"type":13,"tag":45,"props":183,"children":184},{"class":47,"line":69},[185,190,195,200,205,210],{"type":13,"tag":45,"props":186,"children":187},{"style":63},[188],{"type":18,"value":189}," src_subresource",{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":194},":",{"type":13,"tag":45,"props":196,"children":197},{"style":87},[198],{"type":18,"value":199}," vk",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204},"::",{"type":13,"tag":45,"props":206,"children":207},{"style":87},[208],{"type":18,"value":209},"ImageSubresourceLayers",{"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":78},[218,223,227,232,237,242,246,251,256,260,265],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," src_offsets",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":194},{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":231}," *const",{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":236}," [",{"type":13,"tag":45,"props":238,"children":239},{"style":87},[240],{"type":18,"value":241},"vk",{"type":13,"tag":45,"props":243,"children":244},{"style":52},[245],{"type":18,"value":204},{"type":13,"tag":45,"props":247,"children":248},{"style":87},[249],{"type":18,"value":250},"Offset3D",{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":255}," ; ",{"type":13,"tag":45,"props":257,"children":258},{"style":98},[259],{"type":18,"value":101},{"type":13,"tag":45,"props":261,"children":262},{"style":63},[263],{"type":18,"value":264},"], ",{"type":13,"tag":45,"props":266,"children":268},{"style":267},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[269],{"type":18,"value":270},"// Specified in pixels for both compressed and uncompressed images\n",{"type":13,"tag":45,"props":272,"children":273},{"class":47,"line":109},[274,279,283,287,291,295],{"type":13,"tag":45,"props":275,"children":276},{"style":63},[277],{"type":18,"value":278}," dst_subresource",{"type":13,"tag":45,"props":280,"children":281},{"style":52},[282],{"type":18,"value":194},{"type":13,"tag":45,"props":284,"children":285},{"style":87},[286],{"type":18,"value":199},{"type":13,"tag":45,"props":288,"children":289},{"style":52},[290],{"type":18,"value":204},{"type":13,"tag":45,"props":292,"children":293},{"style":87},[294],{"type":18,"value":209},{"type":13,"tag":45,"props":296,"children":297},{"style":63},[298],{"type":18,"value":214},{"type":13,"tag":45,"props":300,"children":301},{"class":47,"line":118},[302,307,311,315,319,323,327,331,335,339,343],{"type":13,"tag":45,"props":303,"children":304},{"style":63},[305],{"type":18,"value":306}," dst_offsets",{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":194},{"type":13,"tag":45,"props":312,"children":313},{"style":52},[314],{"type":18,"value":231},{"type":13,"tag":45,"props":316,"children":317},{"style":63},[318],{"type":18,"value":236},{"type":13,"tag":45,"props":320,"children":321},{"style":87},[322],{"type":18,"value":241},{"type":13,"tag":45,"props":324,"children":325},{"style":52},[326],{"type":18,"value":204},{"type":13,"tag":45,"props":328,"children":329},{"style":87},[330],{"type":18,"value":250},{"type":13,"tag":45,"props":332,"children":333},{"style":63},[334],{"type":18,"value":255},{"type":13,"tag":45,"props":336,"children":337},{"style":98},[338],{"type":18,"value":101},{"type":13,"tag":45,"props":340,"children":341},{"style":63},[342],{"type":18,"value":264},{"type":13,"tag":45,"props":344,"children":345},{"style":267},[346],{"type":18,"value":270},{"type":13,"tag":45,"props":348,"children":349},{"class":47,"line":143},[350],{"type":13,"tag":45,"props":351,"children":352},{"style":63},[353],{"type":18,"value":354},"}\n",{"type":13,"tag":356,"props":357,"children":358},"ul",{},[359,371,397,408],{"type":13,"tag":360,"props":361,"children":362},"li",{},[363,369],{"type":13,"tag":21,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"srcSubresource",{"type":18,"value":370}," is the subresource to blit from.",{"type":13,"tag":360,"props":372,"children":373},{},[374,379,381,388,390,395],{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":90},{"type":18,"value":380}," is a pointer to an array of two ",{"type":13,"tag":382,"props":383,"children":385},"a",{"href":384},"/man/VkOffset3D",[386],{"type":18,"value":387},"VkOffset3D",{"type":18,"value":389},"\nstructures specifying the bounds of the source region within\n",{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":368},{"type":18,"value":396},".",{"type":13,"tag":360,"props":398,"children":399},{},[400,406],{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":405},"dstSubresource",{"type":18,"value":407}," is the subresource to blit into.",{"type":13,"tag":360,"props":409,"children":410},{},[411,416,417,421,423,428],{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":128},{"type":18,"value":380},{"type":13,"tag":382,"props":418,"children":419},{"href":384},[420],{"type":18,"value":387},{"type":18,"value":422},"\nstructures specifying the bounds of the destination region within\n",{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":405},{"type":18,"value":396},{"type":13,"tag":14,"props":430,"children":431},{},[432,434,440],{"type":18,"value":433},"For each element of the ",{"type":13,"tag":21,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":439},"pRegions",{"type":18,"value":441}," array, a blit operation is performed\nfor the specified source and destination regions.",{"type":13,"tag":443,"props":444,"children":446},"validity-group",{"name":445},"Valid Usage",[447,485,546],{"type":13,"tag":448,"props":449,"children":451},"validity-field",{"name":450},"VUID-VkImageBlit-aspectMask-00238",[452],{"type":13,"tag":14,"props":453,"children":454},{},[455,456,462,464,469,471,476,478,483],{"type":18,"value":19},{"type":13,"tag":21,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":461},"aspectMask",{"type":18,"value":463}," member of ",{"type":13,"tag":21,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":368},{"type":18,"value":470}," and\n",{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":405},{"type":18,"value":477}," ",{"type":13,"tag":479,"props":480,"children":482},"normative",{"type":481},"must",[],{"type":18,"value":484}," match",{"type":13,"tag":448,"props":486,"children":488},{"name":487},"VUID-VkImageBlit-layerCount-08800",[489],{"type":13,"tag":14,"props":490,"children":491},{},[492,494,500,502,507,509,514,516,522,524,529,530,535,537,542,545],{"type":18,"value":493},"If neither of the ",{"type":13,"tag":21,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":499},"layerCount",{"type":18,"value":501}," members of ",{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":368},{"type":18,"value":508}," or\n",{"type":13,"tag":21,"props":510,"children":512},{"className":511},[],[513],{"type":18,"value":405},{"type":18,"value":515}," are ",{"type":13,"tag":21,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":521},"VK_REMAINING_ARRAY_LAYERS",{"type":18,"value":523},", the\n",{"type":13,"tag":21,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":499},{"type":18,"value":501},{"type":13,"tag":21,"props":531,"children":533},{"className":532},[],[534],{"type":18,"value":368},{"type":18,"value":536}," or ",{"type":13,"tag":21,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":405},{"type":13,"tag":479,"props":543,"children":544},{"type":481},[],{"type":18,"value":484},{"type":13,"tag":448,"props":547,"children":549},{"name":548},"VUID-VkImageBlit-layerCount-08801",[550],{"type":13,"tag":14,"props":551,"children":552},{},[553,555,560,561,566,567,572,574,579,581,584,586,591,593,599,601,607,609],{"type":18,"value":554},"If one of the ",{"type":13,"tag":21,"props":556,"children":558},{"className":557},[],[559],{"type":18,"value":499},{"type":18,"value":501},{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":368},{"type":18,"value":508},{"type":13,"tag":21,"props":568,"children":570},{"className":569},[],[571],{"type":18,"value":405},{"type":18,"value":573}," is ",{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":521},{"type":18,"value":580},", the other\nmember ",{"type":13,"tag":479,"props":582,"children":583},{"type":481},[],{"type":18,"value":585}," be either ",{"type":13,"tag":21,"props":587,"children":589},{"className":588},[],[590],{"type":18,"value":521},{"type":18,"value":592}," or equal to the\n",{"type":13,"tag":21,"props":594,"children":596},{"className":595},[],[597],{"type":18,"value":598},"arrayLayers",{"type":18,"value":600}," member of the ",{"type":13,"tag":382,"props":602,"children":604},{"href":603},"/man/VkImageCreateInfo",[605],{"type":18,"value":606},"VkImageCreateInfo",{"type":18,"value":608}," used to create\nthe image minus ",{"type":13,"tag":21,"props":610,"children":612},{"className":611},[],[613],{"type":18,"value":614},"baseArrayLayer",{"type":13,"tag":443,"props":616,"children":618},{"name":617},"Valid Usage (Implicit)",[619,645],{"type":13,"tag":448,"props":620,"children":622},{"name":621},"VUID-VkImageBlit-srcSubresource-parameter",[623],{"type":13,"tag":14,"props":624,"children":625},{},[626,631,632,635,637,643],{"type":13,"tag":21,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":368},{"type":18,"value":477},{"type":13,"tag":479,"props":633,"children":634},{"type":481},[],{"type":18,"value":636}," be a valid ",{"type":13,"tag":382,"props":638,"children":640},{"href":639},"/man/VkImageSubresourceLayers",[641],{"type":18,"value":642},"VkImageSubresourceLayers",{"type":18,"value":644}," structure",{"type":13,"tag":448,"props":646,"children":648},{"name":647},"VUID-VkImageBlit-dstSubresource-parameter",[649],{"type":13,"tag":14,"props":650,"children":651},{},[652,657,658,661,662,666],{"type":13,"tag":21,"props":653,"children":655},{"className":654},[],[656],{"type":18,"value":405},{"type":18,"value":477},{"type":13,"tag":479,"props":659,"children":660},{"type":481},[],{"type":18,"value":636},{"type":13,"tag":382,"props":663,"children":664},{"href":639},[665],{"type":18,"value":642},{"type":18,"value":644},{"type":13,"tag":668,"props":669,"children":670},"style",{},[671],{"type":18,"value":672},"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":674},[],"markdown",1725732556495]