[{"data":1,"prerenderedAt":460},["ShallowReactive",2],{"0fhu8YNc1P":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":10,"_type":459,"_id":4},"PFN_vkInternalFreeNotification","Application-defined memory free notification function","VK_VERSION_1_0","funcpointers",[9],"VkAllocationCallbacks",{"type":11,"children":12,"toc":457},"root",[13,30,365,451],{"type":14,"tag":15,"props":16,"children":17},"element","p",{},[18,21,28],{"type":19,"value":20},"text","The type of ",{"type":14,"tag":22,"props":23,"children":25},"code",{"className":24},[],[26],{"type":19,"value":27},"pfnInternalFree",{"type":19,"value":29}," is:",{"type":14,"tag":31,"props":32,"children":33},"code-group",{},[34,125],{"type":14,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(\n void* pUserData,\n size_t size,\n VkInternalAllocationType allocationType,\n VkSystemAllocationScope allocationScope);\n","C","c","",[43],{"type":14,"tag":22,"props":44,"children":45},{"__ignoreMap":41},[46,79,93,107,116],{"type":14,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63,69,74],{"type":14,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":19,"value":57},"typedef",{"type":14,"tag":47,"props":59,"children":60},{"style":54},[61],{"type":19,"value":62}," void",{"type":14,"tag":47,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":19,"value":68}," (VKAPI_PTR ",{"type":14,"tag":47,"props":70,"children":71},{"style":54},[72],{"type":19,"value":73},"*",{"type":14,"tag":47,"props":75,"children":76},{"style":65},[77],{"type":19,"value":78},"PFN_vkInternalFreeNotification)(\n",{"type":14,"tag":47,"props":80,"children":82},{"class":49,"line":81},2,[83,88],{"type":14,"tag":47,"props":84,"children":85},{"style":54},[86],{"type":19,"value":87}," void*",{"type":14,"tag":47,"props":89,"children":90},{"style":65},[91],{"type":19,"value":92}," pUserData,\n",{"type":14,"tag":47,"props":94,"children":96},{"class":49,"line":95},3,[97,102],{"type":14,"tag":47,"props":98,"children":99},{"style":54},[100],{"type":19,"value":101}," size_t",{"type":14,"tag":47,"props":103,"children":104},{"style":65},[105],{"type":19,"value":106}," size,\n",{"type":14,"tag":47,"props":108,"children":110},{"class":49,"line":109},4,[111],{"type":14,"tag":47,"props":112,"children":113},{"style":65},[114],{"type":19,"value":115}," VkInternalAllocationType allocationType,\n",{"type":14,"tag":47,"props":117,"children":119},{"class":49,"line":118},5,[120],{"type":14,"tag":47,"props":121,"children":122},{"style":65},[123],{"type":19,"value":124}," VkSystemAllocationScope allocationScope);\n",{"type":14,"tag":35,"props":126,"children":131},{"className":127,"code":128,"filename":129,"language":130,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub type PFN_vkInternalFreeNotification = Option\u003C\n unsafe extern \"system\" fn(\n p_user_data: *mut std::ffi::c_void,\n size: usize,\n allocation_type: vk::InternalAllocationType,\n allocation_scope: vk::SystemAllocationScope,\n ) -> std::ffi::c_void\n>;\n","Rust","rs",[132],{"type":14,"tag":22,"props":133,"children":134},{"__ignoreMap":41},[135,169,197,239,261,291,321,356],{"type":14,"tag":47,"props":136,"children":137},{"class":49,"line":50},[138,143,148,154,159,164],{"type":14,"tag":47,"props":139,"children":140},{"style":54},[141],{"type":19,"value":142},"pub",{"type":14,"tag":47,"props":144,"children":145},{"style":54},[146],{"type":19,"value":147}," type",{"type":14,"tag":47,"props":149,"children":151},{"style":150},"--shiki-default:#953800;--shiki-dark:#FFA657",[152],{"type":19,"value":153}," PFN_vkInternalFreeNotification",{"type":14,"tag":47,"props":155,"children":156},{"style":54},[157],{"type":19,"value":158}," =",{"type":14,"tag":47,"props":160,"children":161},{"style":150},[162],{"type":19,"value":163}," Option",{"type":14,"tag":47,"props":165,"children":166},{"style":65},[167],{"type":19,"value":168},"\u003C\n",{"type":14,"tag":47,"props":170,"children":171},{"class":49,"line":81},[172,177,182,187,192],{"type":14,"tag":47,"props":173,"children":174},{"style":54},[175],{"type":19,"value":176}," unsafe",{"type":14,"tag":47,"props":178,"children":179},{"style":54},[180],{"type":19,"value":181}," extern",{"type":14,"tag":47,"props":183,"children":184},{"style":65},[185],{"type":19,"value":186}," \"system\" ",{"type":14,"tag":47,"props":188,"children":189},{"style":54},[190],{"type":19,"value":191},"fn",{"type":14,"tag":47,"props":193,"children":194},{"style":65},[195],{"type":19,"value":196},"(\n",{"type":14,"tag":47,"props":198,"children":199},{"class":49,"line":95},[200,205,210,215,220,225,230,234],{"type":14,"tag":47,"props":201,"children":202},{"style":65},[203],{"type":19,"value":204}," p_user_data",{"type":14,"tag":47,"props":206,"children":207},{"style":54},[208],{"type":19,"value":209},":",{"type":14,"tag":47,"props":211,"children":212},{"style":54},[213],{"type":19,"value":214}," *mut",{"type":14,"tag":47,"props":216,"children":217},{"style":65},[218],{"type":19,"value":219}," std",{"type":14,"tag":47,"props":221,"children":222},{"style":54},[223],{"type":19,"value":224},"::",{"type":14,"tag":47,"props":226,"children":227},{"style":65},[228],{"type":19,"value":229},"ffi",{"type":14,"tag":47,"props":231,"children":232},{"style":54},[233],{"type":19,"value":224},{"type":14,"tag":47,"props":235,"children":236},{"style":65},[237],{"type":19,"value":238},"c_void,\n",{"type":14,"tag":47,"props":240,"children":241},{"class":49,"line":109},[242,247,251,256],{"type":14,"tag":47,"props":243,"children":244},{"style":65},[245],{"type":19,"value":246}," size",{"type":14,"tag":47,"props":248,"children":249},{"style":54},[250],{"type":19,"value":209},{"type":14,"tag":47,"props":252,"children":253},{"style":150},[254],{"type":19,"value":255}," usize",{"type":14,"tag":47,"props":257,"children":258},{"style":65},[259],{"type":19,"value":260},",\n",{"type":14,"tag":47,"props":262,"children":263},{"class":49,"line":118},[264,269,273,278,282,287],{"type":14,"tag":47,"props":265,"children":266},{"style":65},[267],{"type":19,"value":268}," allocation_type",{"type":14,"tag":47,"props":270,"children":271},{"style":54},[272],{"type":19,"value":209},{"type":14,"tag":47,"props":274,"children":275},{"style":65},[276],{"type":19,"value":277}," vk",{"type":14,"tag":47,"props":279,"children":280},{"style":54},[281],{"type":19,"value":224},{"type":14,"tag":47,"props":283,"children":284},{"style":150},[285],{"type":19,"value":286},"InternalAllocationType",{"type":14,"tag":47,"props":288,"children":289},{"style":65},[290],{"type":19,"value":260},{"type":14,"tag":47,"props":292,"children":294},{"class":49,"line":293},6,[295,300,304,308,312,317],{"type":14,"tag":47,"props":296,"children":297},{"style":65},[298],{"type":19,"value":299}," allocation_scope",{"type":14,"tag":47,"props":301,"children":302},{"style":54},[303],{"type":19,"value":209},{"type":14,"tag":47,"props":305,"children":306},{"style":65},[307],{"type":19,"value":277},{"type":14,"tag":47,"props":309,"children":310},{"style":54},[311],{"type":19,"value":224},{"type":14,"tag":47,"props":313,"children":314},{"style":150},[315],{"type":19,"value":316},"SystemAllocationScope",{"type":14,"tag":47,"props":318,"children":319},{"style":65},[320],{"type":19,"value":260},{"type":14,"tag":47,"props":322,"children":324},{"class":49,"line":323},7,[325,330,335,339,343,347,351],{"type":14,"tag":47,"props":326,"children":327},{"style":65},[328],{"type":19,"value":329}," ) ",{"type":14,"tag":47,"props":331,"children":332},{"style":54},[333],{"type":19,"value":334},"->",{"type":14,"tag":47,"props":336,"children":337},{"style":65},[338],{"type":19,"value":219},{"type":14,"tag":47,"props":340,"children":341},{"style":54},[342],{"type":19,"value":224},{"type":14,"tag":47,"props":344,"children":345},{"style":65},[346],{"type":19,"value":229},{"type":14,"tag":47,"props":348,"children":349},{"style":54},[350],{"type":19,"value":224},{"type":14,"tag":47,"props":352,"children":353},{"style":65},[354],{"type":19,"value":355},"c_void\n",{"type":14,"tag":47,"props":357,"children":359},{"class":49,"line":358},8,[360],{"type":14,"tag":47,"props":361,"children":362},{"style":65},[363],{"type":19,"value":364},">;\n",{"type":14,"tag":366,"props":367,"children":368},"ul",{},[369,395,406,425],{"type":14,"tag":370,"props":371,"children":372},"li",{},[373,379,381,387,388,393],{"type":14,"tag":22,"props":374,"children":376},{"className":375},[],[377],{"type":19,"value":378},"pUserData",{"type":19,"value":380}," is the value specified for\n",{"type":14,"tag":382,"props":383,"children":385},"a",{"href":384},"/man/VkAllocationCallbacks",[386],{"type":19,"value":9},{"type":19,"value":224},{"type":14,"tag":22,"props":389,"children":391},{"className":390},[],[392],{"type":19,"value":378},{"type":19,"value":394}," in the allocator specified\nby the application.",{"type":14,"tag":370,"props":396,"children":397},{},[398,404],{"type":14,"tag":22,"props":399,"children":401},{"className":400},[],[402],{"type":19,"value":403},"size",{"type":19,"value":405}," is the requested size of an allocation.",{"type":14,"tag":370,"props":407,"children":408},{},[409,415,417,423],{"type":14,"tag":22,"props":410,"children":412},{"className":411},[],[413],{"type":19,"value":414},"allocationType",{"type":19,"value":416}," is a ",{"type":14,"tag":382,"props":418,"children":420},{"href":419},"/man/VkInternalAllocationType",[421],{"type":19,"value":422},"VkInternalAllocationType",{"type":19,"value":424}," value\nspecifying the requested type of an allocation.",{"type":14,"tag":370,"props":426,"children":427},{},[428,434,435,441,443,449],{"type":14,"tag":22,"props":429,"children":431},{"className":430},[],[432],{"type":19,"value":433},"allocationScope",{"type":19,"value":416},{"type":14,"tag":382,"props":436,"children":438},{"href":437},"/man/VkSystemAllocationScope",[439],{"type":19,"value":440},"VkSystemAllocationScope",{"type":19,"value":442}," value\nspecifying the allocation scope of the lifetime of the allocation, as\ndescribed ",{"type":14,"tag":382,"props":444,"children":446},{"href":445},"/man/VkSystemAllocationScope#memory-host-allocation-scope",[447],{"type":19,"value":448},"here",{"type":19,"value":450},".",{"type":14,"tag":452,"props":453,"children":454},"style",{},[455],{"type":19,"value":456},"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":41,"searchDepth":81,"depth":81,"links":458},[],"markdown",1725732532952]