[{"data":1,"prerenderedAt":392},["ShallowReactive",2],{"7MTEGNhLML":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":391,"_id":4},"VkDeviceMemoryOverallocationCreateInfoAMD","Specify memory overallocation behavior for a Vulkan device","VK_AMD_memory_overallocation_behavior","structs",[],{"type":10,"children":11,"toc":389},"root",[12,61,271,324,383],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,34,36,43,45,51,53,59],{"type":18,"value":19},"text","To specify whether device memory allocation is allowed beyond the size\nreported by ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkPhysicalDeviceMemoryProperties",[25],{"type":18,"value":26},"VkPhysicalDeviceMemoryProperties",{"type":18,"value":28},", add a\n",{"type":13,"tag":21,"props":30,"children":32},{"href":31},"/man/VkDeviceMemoryOverallocationCreateInfoAMD",[33],{"type":18,"value":4},{"type":18,"value":35}," structure to the ",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"pNext",{"type":18,"value":44},"\nchain of the ",{"type":13,"tag":21,"props":46,"children":48},{"href":47},"/man/VkDeviceCreateInfo",[49],{"type":18,"value":50},"VkDeviceCreateInfo",{"type":18,"value":52}," structure.\nIf this structure is not specified, it is as if the\n",{"type":13,"tag":37,"props":54,"children":56},{"className":55},[],[57],{"type":18,"value":58},"VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD",{"type":18,"value":60}," value is used.",{"type":13,"tag":62,"props":63,"children":64},"code-group",{},[65,146],{"type":13,"tag":66,"props":67,"children":73},"pre",{"className":68,"code":69,"filename":70,"language":71,"meta":72,"style":72},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDeviceMemoryOverallocationCreateInfoAMD {\n VkStructureType sType;\n const void* pNext;\n VkMemoryOverallocationBehaviorAMD overallocationBehavior;\n} VkDeviceMemoryOverallocationCreateInfoAMD;\n","C","c","",[74],{"type":13,"tag":37,"props":75,"children":76},{"__ignoreMap":72},[77,100,109,128,137],{"type":13,"tag":78,"props":79,"children":82},"span",{"class":80,"line":81},"line",1,[83,89,94],{"type":13,"tag":78,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88},"typedef",{"type":13,"tag":78,"props":90,"children":91},{"style":85},[92],{"type":18,"value":93}," struct",{"type":13,"tag":78,"props":95,"children":97},{"style":96},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[98],{"type":18,"value":99}," VkDeviceMemoryOverallocationCreateInfoAMD {\n",{"type":13,"tag":78,"props":101,"children":103},{"class":80,"line":102},2,[104],{"type":13,"tag":78,"props":105,"children":106},{"style":96},[107],{"type":18,"value":108}," VkStructureType sType;\n",{"type":13,"tag":78,"props":110,"children":112},{"class":80,"line":111},3,[113,118,123],{"type":13,"tag":78,"props":114,"children":115},{"style":85},[116],{"type":18,"value":117}," const",{"type":13,"tag":78,"props":119,"children":120},{"style":85},[121],{"type":18,"value":122}," void*",{"type":13,"tag":78,"props":124,"children":125},{"style":96},[126],{"type":18,"value":127}," pNext;\n",{"type":13,"tag":78,"props":129,"children":131},{"class":80,"line":130},4,[132],{"type":13,"tag":78,"props":133,"children":134},{"style":96},[135],{"type":18,"value":136}," VkMemoryOverallocationBehaviorAMD overallocationBehavior;\n",{"type":13,"tag":78,"props":138,"children":140},{"class":80,"line":139},5,[141],{"type":13,"tag":78,"props":142,"children":143},{"style":96},[144],{"type":18,"value":145},"} VkDeviceMemoryOverallocationCreateInfoAMD;\n",{"type":13,"tag":66,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":72,"style":72},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceMemoryOverallocationCreateInfoAMD {\n s_type: vk::StructureType,\n p_next: *const c_void,\n overallocation_behavior: vk::MemoryOverallocationBehaviorAMD,\n}\n","Rust","rs",[153],{"type":13,"tag":37,"props":154,"children":155},{"__ignoreMap":72},[156,179,212,234,263],{"type":13,"tag":78,"props":157,"children":158},{"class":80,"line":81},[159,164,168,174],{"type":13,"tag":78,"props":160,"children":161},{"style":85},[162],{"type":18,"value":163},"pub",{"type":13,"tag":78,"props":165,"children":166},{"style":85},[167],{"type":18,"value":93},{"type":13,"tag":78,"props":169,"children":171},{"style":170},"--shiki-default:#953800;--shiki-dark:#FFA657",[172],{"type":18,"value":173}," DeviceMemoryOverallocationCreateInfoAMD",{"type":13,"tag":78,"props":175,"children":176},{"style":96},[177],{"type":18,"value":178}," {\n",{"type":13,"tag":78,"props":180,"children":181},{"class":80,"line":102},[182,187,192,197,202,207],{"type":13,"tag":78,"props":183,"children":184},{"style":96},[185],{"type":18,"value":186}," s_type",{"type":13,"tag":78,"props":188,"children":189},{"style":85},[190],{"type":18,"value":191},":",{"type":13,"tag":78,"props":193,"children":194},{"style":170},[195],{"type":18,"value":196}," vk",{"type":13,"tag":78,"props":198,"children":199},{"style":85},[200],{"type":18,"value":201},"::",{"type":13,"tag":78,"props":203,"children":204},{"style":170},[205],{"type":18,"value":206},"StructureType",{"type":13,"tag":78,"props":208,"children":209},{"style":96},[210],{"type":18,"value":211},",\n",{"type":13,"tag":78,"props":213,"children":214},{"class":80,"line":111},[215,220,224,229],{"type":13,"tag":78,"props":216,"children":217},{"style":96},[218],{"type":18,"value":219}," p_next",{"type":13,"tag":78,"props":221,"children":222},{"style":85},[223],{"type":18,"value":191},{"type":13,"tag":78,"props":225,"children":226},{"style":85},[227],{"type":18,"value":228}," *const",{"type":13,"tag":78,"props":230,"children":231},{"style":96},[232],{"type":18,"value":233}," c_void,\n",{"type":13,"tag":78,"props":235,"children":236},{"class":80,"line":130},[237,242,246,250,254,259],{"type":13,"tag":78,"props":238,"children":239},{"style":96},[240],{"type":18,"value":241}," overallocation_behavior",{"type":13,"tag":78,"props":243,"children":244},{"style":85},[245],{"type":18,"value":191},{"type":13,"tag":78,"props":247,"children":248},{"style":170},[249],{"type":18,"value":196},{"type":13,"tag":78,"props":251,"children":252},{"style":85},[253],{"type":18,"value":201},{"type":13,"tag":78,"props":255,"children":256},{"style":170},[257],{"type":18,"value":258},"MemoryOverallocationBehaviorAMD",{"type":13,"tag":78,"props":260,"children":261},{"style":96},[262],{"type":18,"value":211},{"type":13,"tag":78,"props":264,"children":265},{"class":80,"line":139},[266],{"type":13,"tag":78,"props":267,"children":268},{"style":96},[269],{"type":18,"value":270},"}\n",{"type":13,"tag":272,"props":273,"children":274},"ul",{},[275,295,313],{"type":13,"tag":276,"props":277,"children":278},"li",{},[279,285,287,293],{"type":13,"tag":37,"props":280,"children":282},{"className":281},[],[283],{"type":18,"value":284},"sType",{"type":18,"value":286}," is a ",{"type":13,"tag":21,"props":288,"children":290},{"href":289},"/man/VkStructureType",[291],{"type":18,"value":292},"VkStructureType",{"type":18,"value":294}," value identifying this structure.",{"type":13,"tag":276,"props":296,"children":297},{},[298,303,305,311],{"type":13,"tag":37,"props":299,"children":301},{"className":300},[],[302],{"type":18,"value":42},{"type":18,"value":304}," is ",{"type":13,"tag":37,"props":306,"children":308},{"className":307},[],[309],{"type":18,"value":310},"NULL",{"type":18,"value":312}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":276,"props":314,"children":315},{},[316,322],{"type":13,"tag":37,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"overallocationBehavior",{"type":18,"value":323}," is the desired overallocation behavior.",{"type":13,"tag":325,"props":326,"children":328},"validity-group",{"name":327},"Valid Usage (Implicit)",[329,357],{"type":13,"tag":330,"props":331,"children":333},"validity-field",{"name":332},"VUID-VkDeviceMemoryOverallocationCreateInfoAMD-sType-sType",[334],{"type":13,"tag":14,"props":335,"children":336},{},[337,342,344,349,351],{"type":13,"tag":37,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":284},{"type":18,"value":343}," ",{"type":13,"tag":345,"props":346,"children":348},"normative",{"type":347},"must",[],{"type":18,"value":350}," be ",{"type":13,"tag":37,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD",{"type":13,"tag":330,"props":358,"children":360},{"name":359},"VUID-VkDeviceMemoryOverallocationCreateInfoAMD-overallocationBehavior-parameter",[361],{"type":13,"tag":14,"props":362,"children":363},{},[364,369,370,373,375,381],{"type":13,"tag":37,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":321},{"type":18,"value":343},{"type":13,"tag":345,"props":371,"children":372},{"type":347},[],{"type":18,"value":374}," be a valid ",{"type":13,"tag":21,"props":376,"children":378},{"href":377},"/man/VkMemoryOverallocationBehaviorAMD",[379],{"type":18,"value":380},"VkMemoryOverallocationBehaviorAMD",{"type":18,"value":382}," value",{"type":13,"tag":384,"props":385,"children":386},"style",{},[387],{"type":18,"value":388},"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":72,"searchDepth":102,"depth":102,"links":390},[],"markdown",1725732548994]