[{"data":1,"prerenderedAt":567},["ShallowReactive",2],{"FdP0lsfVU3":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":566,"_id":4},"VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV","Structure describing sparse address space limits of an implementation","VK_NV_extended_sparse_address_space","structs",[],{"type":10,"children":11,"toc":564},"root",[12,28,326,492,527,558],{"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\nis defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,126],{"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 VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV {\n VkStructureType sType;\n void* pNext;\n VkDeviceSize extendedSparseAddressSpaceSize;\n VkImageUsageFlags extendedSparseImageUsageFlags;\n VkBufferUsageFlags extendedSparseBufferUsageFlags;\n} VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,117],{"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}," VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkDeviceSize extendedSparseAddressSpaceSize;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkImageUsageFlags extendedSparseImageUsageFlags;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," VkBufferUsageFlags extendedSparseBufferUsageFlags;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121],{"type":13,"tag":45,"props":122,"children":123},{"style":63},[124],{"type":18,"value":125},"} VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV;\n",{"type":13,"tag":33,"props":127,"children":132},{"className":128,"code":129,"filename":130,"language":131,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceExtendedSparseAddressSpacePropertiesNV {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n extended_sparse_address_space_size: vk::DeviceSize, // Total address space available for extended sparse allocations (bytes)\n extended_sparse_image_usage_flags: vk::ImageUsageFlags, // Bitfield of which image usages are supported for extended sparse allocations\n extended_sparse_buffer_usage_flags: vk::BufferUsageFlags, // Bitfield of which buffer usages are supported for extended sparse allocations\n}\n","Rust","rs",[133],{"type":13,"tag":21,"props":134,"children":135},{"__ignoreMap":39},[136,159,192,214,250,284,318],{"type":13,"tag":45,"props":137,"children":138},{"class":47,"line":48},[139,144,148,154],{"type":13,"tag":45,"props":140,"children":141},{"style":52},[142],{"type":18,"value":143},"pub",{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":60},{"type":13,"tag":45,"props":149,"children":151},{"style":150},"--shiki-default:#953800;--shiki-dark:#FFA657",[152],{"type":18,"value":153}," PhysicalDeviceExtendedSparseAddressSpacePropertiesNV",{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":158}," {\n",{"type":13,"tag":45,"props":160,"children":161},{"class":47,"line":69},[162,167,172,177,182,187],{"type":13,"tag":45,"props":163,"children":164},{"style":63},[165],{"type":18,"value":166}," s_type",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":171},":",{"type":13,"tag":45,"props":173,"children":174},{"style":150},[175],{"type":18,"value":176}," vk",{"type":13,"tag":45,"props":178,"children":179},{"style":52},[180],{"type":18,"value":181},"::",{"type":13,"tag":45,"props":183,"children":184},{"style":150},[185],{"type":18,"value":186},"StructureType",{"type":13,"tag":45,"props":188,"children":189},{"style":63},[190],{"type":18,"value":191},",\n",{"type":13,"tag":45,"props":193,"children":194},{"class":47,"line":78},[195,200,204,209],{"type":13,"tag":45,"props":196,"children":197},{"style":63},[198],{"type":18,"value":199}," p_next",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":171},{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":208}," *mut",{"type":13,"tag":45,"props":210,"children":211},{"style":63},[212],{"type":18,"value":213}," c_void,\n",{"type":13,"tag":45,"props":215,"children":216},{"class":47,"line":92},[217,222,226,230,234,239,244],{"type":13,"tag":45,"props":218,"children":219},{"style":63},[220],{"type":18,"value":221}," extended_sparse_address_space_size",{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":171},{"type":13,"tag":45,"props":227,"children":228},{"style":150},[229],{"type":18,"value":176},{"type":13,"tag":45,"props":231,"children":232},{"style":52},[233],{"type":18,"value":181},{"type":13,"tag":45,"props":235,"children":236},{"style":150},[237],{"type":18,"value":238},"DeviceSize",{"type":13,"tag":45,"props":240,"children":241},{"style":63},[242],{"type":18,"value":243},", ",{"type":13,"tag":45,"props":245,"children":247},{"style":246},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[248],{"type":18,"value":249},"// Total address space available for extended sparse allocations (bytes)\n",{"type":13,"tag":45,"props":251,"children":252},{"class":47,"line":101},[253,258,262,266,270,275,279],{"type":13,"tag":45,"props":254,"children":255},{"style":63},[256],{"type":18,"value":257}," extended_sparse_image_usage_flags",{"type":13,"tag":45,"props":259,"children":260},{"style":52},[261],{"type":18,"value":171},{"type":13,"tag":45,"props":263,"children":264},{"style":150},[265],{"type":18,"value":176},{"type":13,"tag":45,"props":267,"children":268},{"style":52},[269],{"type":18,"value":181},{"type":13,"tag":45,"props":271,"children":272},{"style":150},[273],{"type":18,"value":274},"ImageUsageFlags",{"type":13,"tag":45,"props":276,"children":277},{"style":63},[278],{"type":18,"value":243},{"type":13,"tag":45,"props":280,"children":281},{"style":246},[282],{"type":18,"value":283},"// Bitfield of which image usages are supported for extended sparse allocations\n",{"type":13,"tag":45,"props":285,"children":286},{"class":47,"line":110},[287,292,296,300,304,309,313],{"type":13,"tag":45,"props":288,"children":289},{"style":63},[290],{"type":18,"value":291}," extended_sparse_buffer_usage_flags",{"type":13,"tag":45,"props":293,"children":294},{"style":52},[295],{"type":18,"value":171},{"type":13,"tag":45,"props":297,"children":298},{"style":150},[299],{"type":18,"value":176},{"type":13,"tag":45,"props":301,"children":302},{"style":52},[303],{"type":18,"value":181},{"type":13,"tag":45,"props":305,"children":306},{"style":150},[307],{"type":18,"value":308},"BufferUsageFlags",{"type":13,"tag":45,"props":310,"children":311},{"style":63},[312],{"type":18,"value":243},{"type":13,"tag":45,"props":314,"children":315},{"style":246},[316],{"type":18,"value":317},"// Bitfield of which buffer usages are supported for extended sparse allocations\n",{"type":13,"tag":45,"props":319,"children":320},{"class":47,"line":119},[321],{"type":13,"tag":45,"props":322,"children":323},{"style":63},[324],{"type":18,"value":325},"}\n",{"type":13,"tag":327,"props":328,"children":329},"ul",{},[330,351,370,425,461],{"type":13,"tag":331,"props":332,"children":333},"li",{},[334,340,342,349],{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":339},"sType",{"type":18,"value":341}," is a ",{"type":13,"tag":343,"props":344,"children":346},"a",{"href":345},"/man/VkStructureType",[347],{"type":18,"value":348},"VkStructureType",{"type":18,"value":350}," value identifying this structure.",{"type":13,"tag":331,"props":352,"children":353},{},[354,360,362,368],{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":359},"pNext",{"type":18,"value":361}," is ",{"type":13,"tag":21,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":367},"NULL",{"type":18,"value":369}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":331,"props":371,"children":372},{},[373,378,384,386,396,398,403,405,411,412,418,420,423],{"type":13,"tag":374,"props":375,"children":377},"anchor",{"id":376},"limits-extendedSparseAddressSpaceSize",[],{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"extendedSparseAddressSpaceSize",{"type":18,"value":385}," is the total amount of address\nspace available, in bytes, for sparse memory resources of all usages if\nthe ",{"type":13,"tag":343,"props":387,"children":389},{"href":388},"/man/VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV#features-extendedSparseAddressSpace",[390],{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":395},"extendedSparseAddressSpace",{"type":18,"value":397}," feature is enabled.\nThis ",{"type":13,"tag":399,"props":400,"children":402},"normative",{"type":401},"must",[],{"type":18,"value":404}," be greater than or equal to\n",{"type":13,"tag":21,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":410},"VkPhysicalDeviceLimits",{"type":18,"value":181},{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"sparseAddressSpaceSize",{"type":18,"value":419},", and the\ndifference in space ",{"type":13,"tag":399,"props":421,"children":422},{"type":401},[],{"type":18,"value":424}," only be used with usages allowed below.\nThis is an upper bound on the sum of the sizes of all sparse resources,\nregardless of whether any memory is bound to them.",{"type":13,"tag":331,"props":426,"children":427},{},[428,432,438,440,446,448,452,454,459],{"type":13,"tag":374,"props":429,"children":431},{"id":430},"limits-extendedSparseImageUsageFlags",[],{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"extendedSparseImageUsageFlags",{"type":18,"value":439}," is a bitmask of\n",{"type":13,"tag":343,"props":441,"children":443},{"href":442},"/man/VkImageUsageFlagBits",[444],{"type":18,"value":445},"VkImageUsageFlagBits",{"type":18,"value":447}," of usages which ",{"type":13,"tag":399,"props":449,"children":451},{"type":450},"may",[],{"type":18,"value":453}," allow an implementation\nto use the full ",{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":383},{"type":18,"value":460}," space.",{"type":13,"tag":331,"props":462,"children":463},{},[464,468,474,475,481,482,485,486,491],{"type":13,"tag":374,"props":465,"children":467},{"id":466},"limits-extendedSparseBufferUsageFlags",[],{"type":13,"tag":21,"props":469,"children":471},{"className":470},[],[472],{"type":18,"value":473},"extendedSparseBufferUsageFlags",{"type":18,"value":439},{"type":13,"tag":343,"props":476,"children":478},{"href":477},"/man/VkBufferUsageFlagBits",[479],{"type":18,"value":480},"VkBufferUsageFlagBits",{"type":18,"value":447},{"type":13,"tag":399,"props":483,"children":484},{"type":450},[],{"type":18,"value":453},{"type":13,"tag":21,"props":487,"children":489},{"className":488},[],[490],{"type":18,"value":383},{"type":18,"value":460},{"type":13,"tag":14,"props":493,"children":494},{},[495,497,502,504,509,511,517,519,525],{"type":18,"value":496},"If the ",{"type":13,"tag":21,"props":498,"children":500},{"className":499},[],[501],{"type":18,"value":4},{"type":18,"value":503}," structure is included in the ",{"type":13,"tag":21,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":359},{"type":18,"value":510}," chain of the\n",{"type":13,"tag":343,"props":512,"children":514},{"href":513},"/man/VkPhysicalDeviceProperties2",[515],{"type":18,"value":516},"VkPhysicalDeviceProperties2",{"type":18,"value":518}," structure passed to\n",{"type":13,"tag":343,"props":520,"children":522},{"href":521},"/man/vkGetPhysicalDeviceProperties2",[523],{"type":18,"value":524},"vkGetPhysicalDeviceProperties2",{"type":18,"value":526},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":528,"props":529,"children":531},"validity-group",{"name":530},"Valid Usage (Implicit)",[532],{"type":13,"tag":533,"props":534,"children":536},"validity-field",{"name":535},"VUID-VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV-sType-sType",[537],{"type":13,"tag":14,"props":538,"children":539},{},[540,545,547,550,552],{"type":13,"tag":21,"props":541,"children":543},{"className":542},[],[544],{"type":18,"value":339},{"type":18,"value":546}," ",{"type":13,"tag":399,"props":548,"children":549},{"type":401},[],{"type":18,"value":551}," be ",{"type":13,"tag":21,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":557},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV",{"type":13,"tag":559,"props":560,"children":561},"style",{},[562],{"type":18,"value":563},"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":565},[],"markdown",1725732567989]