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