[{"data":1,"prerenderedAt":273},["ShallowReactive",2],{"TeqmQiPp27":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":272,"_id":4},"VkMemoryType","Structure specifying memory type","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":270},"root",[12,28,205,264],{"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,99],{"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 VkMemoryType {\n VkMemoryPropertyFlags propertyFlags;\n uint32_t heapIndex;\n} VkMemoryType;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90],{"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}," VkMemoryType {\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}," VkMemoryPropertyFlags propertyFlags;\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}," heapIndex;\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},"} VkMemoryType;\n",{"type":13,"tag":33,"props":100,"children":105},{"className":101,"code":102,"filename":103,"language":104,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct MemoryType {\n property_flags: vk::MemoryPropertyFlags, // Memory properties of this memory type\n heap_index: u32, // Index of the memory heap allocations of this memory type are taken from\n}\n","Rust","rs",[106],{"type":13,"tag":21,"props":107,"children":108},{"__ignoreMap":39},[109,132,171,197],{"type":13,"tag":45,"props":110,"children":111},{"class":47,"line":48},[112,117,121,127],{"type":13,"tag":45,"props":113,"children":114},{"style":52},[115],{"type":18,"value":116},"pub",{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":60},{"type":13,"tag":45,"props":122,"children":124},{"style":123},"--shiki-default:#953800;--shiki-dark:#FFA657",[125],{"type":18,"value":126}," MemoryType",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," {\n",{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":69},[135,140,145,150,155,160,165],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," property_flags",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144},":",{"type":13,"tag":45,"props":146,"children":147},{"style":123},[148],{"type":18,"value":149}," vk",{"type":13,"tag":45,"props":151,"children":152},{"style":52},[153],{"type":18,"value":154},"::",{"type":13,"tag":45,"props":156,"children":157},{"style":123},[158],{"type":18,"value":159},"MemoryPropertyFlags",{"type":13,"tag":45,"props":161,"children":162},{"style":63},[163],{"type":18,"value":164},", ",{"type":13,"tag":45,"props":166,"children":168},{"style":167},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[169],{"type":18,"value":170},"// Memory properties of this memory type\n",{"type":13,"tag":45,"props":172,"children":173},{"class":47,"line":78},[174,179,183,188,192],{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178}," heap_index",{"type":13,"tag":45,"props":180,"children":181},{"style":52},[182],{"type":18,"value":144},{"type":13,"tag":45,"props":184,"children":185},{"style":123},[186],{"type":18,"value":187}," u32",{"type":13,"tag":45,"props":189,"children":190},{"style":63},[191],{"type":18,"value":164},{"type":13,"tag":45,"props":193,"children":194},{"style":167},[195],{"type":18,"value":196},"// Index of the memory heap allocations of this memory type are taken from\n",{"type":13,"tag":45,"props":198,"children":199},{"class":47,"line":92},[200],{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204},"}\n",{"type":13,"tag":206,"props":207,"children":208},"ul",{},[209,245],{"type":13,"tag":210,"props":211,"children":212},"li",{},[213,219,221,226,228,234,236,243],{"type":13,"tag":21,"props":214,"children":216},{"className":215},[],[217],{"type":18,"value":218},"heapIndex",{"type":18,"value":220}," describes which memory heap this memory type corresponds\nto, and ",{"type":13,"tag":222,"props":223,"children":225},"normative",{"type":224},"must",[],{"type":18,"value":227}," be less than ",{"type":13,"tag":21,"props":229,"children":231},{"className":230},[],[232],{"type":18,"value":233},"memoryHeapCount",{"type":18,"value":235}," from the\n",{"type":13,"tag":237,"props":238,"children":240},"a",{"href":239},"/man/VkPhysicalDeviceMemoryProperties",[241],{"type":18,"value":242},"VkPhysicalDeviceMemoryProperties",{"type":18,"value":244}," structure.",{"type":13,"tag":210,"props":246,"children":247},{},[248,254,256,262],{"type":13,"tag":21,"props":249,"children":251},{"className":250},[],[252],{"type":18,"value":253},"propertyFlags",{"type":18,"value":255}," is a bitmask of ",{"type":13,"tag":237,"props":257,"children":259},{"href":258},"/man/VkMemoryPropertyFlagBits",[260],{"type":18,"value":261},"VkMemoryPropertyFlagBits",{"type":18,"value":263}," of\nproperties for this memory type.",{"type":13,"tag":265,"props":266,"children":267},"style",{},[268],{"type":18,"value":269},"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":271},[],"markdown",1725732562949]