[{"data":1,"prerenderedAt":757},["ShallowReactive",2],{"relIbGvEMX":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":756,"_id":4},"VkMappedMemoryRange","Structure specifying a mapped memory range","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":754},"root",[12,28,330,422,672,748],{"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,131],{"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 VkMappedMemoryRange {\n VkStructureType sType;\n const void* pNext;\n VkDeviceMemory memory;\n VkDeviceSize offset;\n VkDeviceSize size;\n} VkMappedMemoryRange;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122],{"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}," VkMappedMemoryRange {\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}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkDeviceMemory memory;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkDeviceSize offset;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkDeviceSize size;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130},"} VkMappedMemoryRange;\n",{"type":13,"tag":33,"props":132,"children":137},{"className":133,"code":134,"filename":135,"language":136,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct MappedMemoryRange {\n s_type: vk::StructureType,\n p_next: *const c_void,\n memory: vk::DeviceMemory, // Mapped memory object\n offset: vk::DeviceSize, // Offset within the memory object where the range starts\n size: vk::DeviceSize, // Size of the range within the memory object\n}\n","Rust","rs",[138],{"type":13,"tag":21,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,255,289,322],{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":48},[144,149,153,159],{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},"pub",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":60},{"type":13,"tag":45,"props":154,"children":156},{"style":155},"--shiki-default:#953800;--shiki-dark:#FFA657",[157],{"type":18,"value":158}," MappedMemoryRange",{"type":13,"tag":45,"props":160,"children":161},{"style":63},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":45,"props":165,"children":166},{"class":47,"line":69},[167,172,177,182,187,192],{"type":13,"tag":45,"props":168,"children":169},{"style":63},[170],{"type":18,"value":171}," s_type",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":176},":",{"type":13,"tag":45,"props":178,"children":179},{"style":155},[180],{"type":18,"value":181}," vk",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},"::",{"type":13,"tag":45,"props":188,"children":189},{"style":155},[190],{"type":18,"value":191},"StructureType",{"type":13,"tag":45,"props":193,"children":194},{"style":63},[195],{"type":18,"value":196},",\n",{"type":13,"tag":45,"props":198,"children":199},{"class":47,"line":78},[200,205,209,214],{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," p_next",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":176},{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213}," *const",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218}," c_void,\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":97},[222,227,231,235,239,244,249],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," memory",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":176},{"type":13,"tag":45,"props":232,"children":233},{"style":155},[234],{"type":18,"value":181},{"type":13,"tag":45,"props":236,"children":237},{"style":52},[238],{"type":18,"value":186},{"type":13,"tag":45,"props":240,"children":241},{"style":155},[242],{"type":18,"value":243},"DeviceMemory",{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248},", ",{"type":13,"tag":45,"props":250,"children":252},{"style":251},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[253],{"type":18,"value":254},"// Mapped memory object\n",{"type":13,"tag":45,"props":256,"children":257},{"class":47,"line":106},[258,263,267,271,275,280,284],{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":262}," offset",{"type":13,"tag":45,"props":264,"children":265},{"style":52},[266],{"type":18,"value":176},{"type":13,"tag":45,"props":268,"children":269},{"style":155},[270],{"type":18,"value":181},{"type":13,"tag":45,"props":272,"children":273},{"style":52},[274],{"type":18,"value":186},{"type":13,"tag":45,"props":276,"children":277},{"style":155},[278],{"type":18,"value":279},"DeviceSize",{"type":13,"tag":45,"props":281,"children":282},{"style":63},[283],{"type":18,"value":248},{"type":13,"tag":45,"props":285,"children":286},{"style":251},[287],{"type":18,"value":288},"// Offset within the memory object where the range starts\n",{"type":13,"tag":45,"props":290,"children":291},{"class":47,"line":115},[292,297,301,305,309,313,317],{"type":13,"tag":45,"props":293,"children":294},{"style":63},[295],{"type":18,"value":296}," size",{"type":13,"tag":45,"props":298,"children":299},{"style":52},[300],{"type":18,"value":176},{"type":13,"tag":45,"props":302,"children":303},{"style":155},[304],{"type":18,"value":181},{"type":13,"tag":45,"props":306,"children":307},{"style":52},[308],{"type":18,"value":186},{"type":13,"tag":45,"props":310,"children":311},{"style":155},[312],{"type":18,"value":279},{"type":13,"tag":45,"props":314,"children":315},{"style":63},[316],{"type":18,"value":248},{"type":13,"tag":45,"props":318,"children":319},{"style":251},[320],{"type":18,"value":321},"// Size of the range within the memory object\n",{"type":13,"tag":45,"props":323,"children":324},{"class":47,"line":124},[325],{"type":13,"tag":45,"props":326,"children":327},{"style":63},[328],{"type":18,"value":329},"}\n",{"type":13,"tag":331,"props":332,"children":333},"ul",{},[334,355,374,385,396],{"type":13,"tag":335,"props":336,"children":337},"li",{},[338,344,346,353],{"type":13,"tag":21,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":343},"sType",{"type":18,"value":345}," is a ",{"type":13,"tag":347,"props":348,"children":350},"a",{"href":349},"/man/VkStructureType",[351],{"type":18,"value":352},"VkStructureType",{"type":18,"value":354}," value identifying this structure.",{"type":13,"tag":335,"props":356,"children":357},{},[358,364,366,372],{"type":13,"tag":21,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":363},"pNext",{"type":18,"value":365}," is ",{"type":13,"tag":21,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"NULL",{"type":18,"value":373}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":335,"props":375,"children":376},{},[377,383],{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"memory",{"type":18,"value":384}," is the memory object to which this range belongs.",{"type":13,"tag":335,"props":386,"children":387},{},[388,394],{"type":13,"tag":21,"props":389,"children":391},{"className":390},[],[392],{"type":18,"value":393},"offset",{"type":18,"value":395}," is the zero-based byte offset from the beginning of the\nmemory object.",{"type":13,"tag":335,"props":397,"children":398},{},[399,405,407,413,415,420],{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":404},"size",{"type":18,"value":406}," is either the size of range, or ",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"VK_WHOLE_SIZE",{"type":18,"value":414}," to affect\nthe range from ",{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":393},{"type":18,"value":421}," to the end of the current mapping of the\nallocation.",{"type":13,"tag":423,"props":424,"children":426},"validity-group",{"name":425},"Valid Usage",[427,449,494,531,562,606],{"type":13,"tag":428,"props":429,"children":431},"validity-field",{"name":430},"VUID-VkMappedMemoryRange-memory-00684",[432],{"type":13,"tag":14,"props":433,"children":434},{},[435,440,442,447],{"type":13,"tag":21,"props":436,"children":438},{"className":437},[],[439],{"type":18,"value":382},{"type":18,"value":441}," ",{"type":13,"tag":443,"props":444,"children":446},"normative",{"type":445},"must",[],{"type":18,"value":448}," be currently host mapped",{"type":13,"tag":428,"props":450,"children":452},{"name":451},"VUID-VkMappedMemoryRange-size-00685",[453],{"type":13,"tag":14,"props":454,"children":455},{},[456,458,463,465,470,471,476,478,483,484,487,489],{"type":18,"value":457},"If ",{"type":13,"tag":21,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":404},{"type":18,"value":464}," is not equal to ",{"type":13,"tag":21,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":412},{"type":18,"value":248},{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":393},{"type":18,"value":477}," and\n",{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":404},{"type":18,"value":441},{"type":13,"tag":443,"props":485,"children":486},{"type":445},[],{"type":18,"value":488}," specify a range contained within the currently mapped\nrange of ",{"type":13,"tag":21,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":382},{"type":13,"tag":428,"props":495,"children":497},{"name":496},"VUID-VkMappedMemoryRange-size-00686",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,502,507,509,514,515,520,521,524,526],{"type":18,"value":457},{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":404},{"type":18,"value":508}," is equal to ",{"type":13,"tag":21,"props":510,"children":512},{"className":511},[],[513],{"type":18,"value":412},{"type":18,"value":248},{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":393},{"type":18,"value":441},{"type":13,"tag":443,"props":522,"children":523},{"type":445},[],{"type":18,"value":525}," be\nwithin the currently mapped range of ",{"type":13,"tag":21,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":382},{"type":13,"tag":428,"props":532,"children":534},{"name":533},"VUID-VkMappedMemoryRange-offset-00687",[535],{"type":13,"tag":14,"props":536,"children":537},{},[538,543,544,547,549,555,556],{"type":13,"tag":21,"props":539,"children":541},{"className":540},[],[542],{"type":18,"value":393},{"type":18,"value":441},{"type":13,"tag":443,"props":545,"children":546},{"type":445},[],{"type":18,"value":548}," be a multiple of\n",{"type":13,"tag":347,"props":550,"children":552},{"href":551},"/man/VkPhysicalDeviceLimits",[553],{"type":18,"value":554},"VkPhysicalDeviceLimits",{"type":18,"value":186},{"type":13,"tag":21,"props":557,"children":559},{"className":558},[],[560],{"type":18,"value":561},"nonCoherentAtomSize",{"type":13,"tag":428,"props":563,"children":565},{"name":564},"VUID-VkMappedMemoryRange-size-01389",[566],{"type":13,"tag":14,"props":567,"children":568},{},[569,570,575,576,581,583,588,589,592,594,598,599,604],{"type":18,"value":457},{"type":13,"tag":21,"props":571,"children":573},{"className":572},[],[574],{"type":18,"value":404},{"type":18,"value":508},{"type":13,"tag":21,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":412},{"type":18,"value":582},", the end of the current\nmapping of ",{"type":13,"tag":21,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":382},{"type":18,"value":441},{"type":13,"tag":443,"props":590,"children":591},{"type":445},[],{"type":18,"value":593}," either be a multiple of\n",{"type":13,"tag":347,"props":595,"children":596},{"href":551},[597],{"type":18,"value":554},{"type":18,"value":186},{"type":13,"tag":21,"props":600,"children":602},{"className":601},[],[603],{"type":18,"value":561},{"type":18,"value":605}," bytes from the\nbeginning of the memory object, or be equal to the end of the memory\nobject",{"type":13,"tag":428,"props":607,"children":609},{"name":608},"VUID-VkMappedMemoryRange-size-01390",[610],{"type":13,"tag":14,"props":611,"children":612},{},[613,614,619,620,625,626,631,632,635,637,641,642,647,649,654,656,661,662,665,667],{"type":18,"value":457},{"type":13,"tag":21,"props":615,"children":617},{"className":616},[],[618],{"type":18,"value":404},{"type":18,"value":464},{"type":13,"tag":21,"props":621,"children":623},{"className":622},[],[624],{"type":18,"value":412},{"type":18,"value":248},{"type":13,"tag":21,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":404},{"type":18,"value":441},{"type":13,"tag":443,"props":633,"children":634},{"type":445},[],{"type":18,"value":636},"\neither be a multiple of\n",{"type":13,"tag":347,"props":638,"children":639},{"href":551},[640],{"type":18,"value":554},{"type":18,"value":186},{"type":13,"tag":21,"props":643,"children":645},{"className":644},[],[646],{"type":18,"value":561},{"type":18,"value":648},", or ",{"type":13,"tag":21,"props":650,"children":652},{"className":651},[],[653],{"type":18,"value":393},{"type":18,"value":655},"\nplus ",{"type":13,"tag":21,"props":657,"children":659},{"className":658},[],[660],{"type":18,"value":404},{"type":18,"value":441},{"type":13,"tag":443,"props":663,"children":664},{"type":445},[],{"type":18,"value":666}," equal the size of ",{"type":13,"tag":21,"props":668,"children":670},{"className":669},[],[671],{"type":18,"value":382},{"type":13,"tag":423,"props":673,"children":675},{"name":674},"Valid Usage (Implicit)",[676,700,722],{"type":13,"tag":428,"props":677,"children":679},{"name":678},"VUID-VkMappedMemoryRange-sType-sType",[680],{"type":13,"tag":14,"props":681,"children":682},{},[683,688,689,692,694],{"type":13,"tag":21,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":343},{"type":18,"value":441},{"type":13,"tag":443,"props":690,"children":691},{"type":445},[],{"type":18,"value":693}," be ",{"type":13,"tag":21,"props":695,"children":697},{"className":696},[],[698],{"type":18,"value":699},"VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE",{"type":13,"tag":428,"props":701,"children":703},{"name":702},"VUID-VkMappedMemoryRange-pNext-pNext",[704],{"type":13,"tag":14,"props":705,"children":706},{},[707,712,713,716,717],{"type":13,"tag":21,"props":708,"children":710},{"className":709},[],[711],{"type":18,"value":363},{"type":18,"value":441},{"type":13,"tag":443,"props":714,"children":715},{"type":445},[],{"type":18,"value":693},{"type":13,"tag":21,"props":718,"children":720},{"className":719},[],[721],{"type":18,"value":371},{"type":13,"tag":428,"props":723,"children":725},{"name":724},"VUID-VkMappedMemoryRange-memory-parameter",[726],{"type":13,"tag":14,"props":727,"children":728},{},[729,734,735,738,740,746],{"type":13,"tag":21,"props":730,"children":732},{"className":731},[],[733],{"type":18,"value":382},{"type":18,"value":441},{"type":13,"tag":443,"props":736,"children":737},{"type":445},[],{"type":18,"value":739}," be a valid ",{"type":13,"tag":347,"props":741,"children":743},{"href":742},"/man/VkDeviceMemory",[744],{"type":18,"value":745},"VkDeviceMemory",{"type":18,"value":747}," handle",{"type":13,"tag":749,"props":750,"children":751},"style",{},[752],{"type":18,"value":753},"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":755},[],"markdown",1729612456272]