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