[{"data":1,"prerenderedAt":601},["ShallowReactive",2],{"xRRwaHypCC":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":600,"_id":4},"vkDestroyDeferredOperationKHR","Destroy a deferred operation handle","VK_KHR_deferred_host_operations","protos",[],{"type":10,"children":11,"toc":598},"root",[12,27,289,341,435,568,592],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","When a deferred operation is completed, the application ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," destroy the\ntracking object by calling:",{"type":13,"tag":28,"props":29,"children":30},"code-group",{},[31,135],{"type":13,"tag":32,"props":33,"children":39},"pre",{"className":34,"code":35,"filename":36,"language":37,"meta":38,"style":38},"language-c shiki shiki-themes github-light-default github-dark-default","void vkDestroyDeferredOperationKHR(\n VkDevice device,\n VkDeferredOperationKHR operation,\n const VkAllocationCallbacks* pAllocator);\n","C","c","",[40],{"type":13,"tag":41,"props":42,"children":43},"code",{"__ignoreMap":38},[44,68,88,106],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,62],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"void",{"type":13,"tag":45,"props":57,"children":59},{"style":58},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[60],{"type":18,"value":61}," vkDestroyDeferredOperationKHR",{"type":13,"tag":45,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67},"(\n",{"type":13,"tag":45,"props":69,"children":71},{"class":47,"line":70},2,[72,77,83],{"type":13,"tag":45,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VkDevice ",{"type":13,"tag":45,"props":78,"children":80},{"style":79},"--shiki-default:#953800;--shiki-dark:#FFA657",[81],{"type":18,"value":82},"device",{"type":13,"tag":45,"props":84,"children":85},{"style":64},[86],{"type":18,"value":87},",\n",{"type":13,"tag":45,"props":89,"children":91},{"class":47,"line":90},3,[92,97,102],{"type":13,"tag":45,"props":93,"children":94},{"style":64},[95],{"type":18,"value":96}," VkDeferredOperationKHR ",{"type":13,"tag":45,"props":98,"children":99},{"style":79},[100],{"type":18,"value":101},"operation",{"type":13,"tag":45,"props":103,"children":104},{"style":64},[105],{"type":18,"value":87},{"type":13,"tag":45,"props":107,"children":109},{"class":47,"line":108},4,[110,115,120,125,130],{"type":13,"tag":45,"props":111,"children":112},{"style":52},[113],{"type":18,"value":114}," const",{"type":13,"tag":45,"props":116,"children":117},{"style":64},[118],{"type":18,"value":119}," VkAllocationCallbacks",{"type":13,"tag":45,"props":121,"children":122},{"style":52},[123],{"type":18,"value":124},"*",{"type":13,"tag":45,"props":126,"children":127},{"style":79},[128],{"type":18,"value":129}," pAllocator",{"type":13,"tag":45,"props":131,"children":132},{"style":64},[133],{"type":18,"value":134},");\n",{"type":13,"tag":32,"props":136,"children":141},{"className":137,"code":138,"filename":139,"language":140,"meta":38,"style":38},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn destroy_deferred_operation_khr(\n device: crate :: vk :: vk::Device,\n operation: vk::DeferredOperationKHR,\n p_allocator: *const vk::AllocationCallbacks,\n);\n","Rust","rs",[142],{"type":13,"tag":41,"props":143,"children":144},{"__ignoreMap":38},[145,167,218,247,281],{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":48},[148,153,158,163],{"type":13,"tag":45,"props":149,"children":150},{"style":52},[151],{"type":18,"value":152},"pub",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":157}," fn",{"type":13,"tag":45,"props":159,"children":160},{"style":58},[161],{"type":18,"value":162}," destroy_deferred_operation_khr",{"type":13,"tag":45,"props":164,"children":165},{"style":64},[166],{"type":18,"value":67},{"type":13,"tag":45,"props":168,"children":169},{"class":47,"line":70},[170,175,180,185,190,195,200,205,209,214],{"type":13,"tag":45,"props":171,"children":172},{"style":64},[173],{"type":18,"value":174}," device",{"type":13,"tag":45,"props":176,"children":177},{"style":52},[178],{"type":18,"value":179},":",{"type":13,"tag":45,"props":181,"children":182},{"style":52},[183],{"type":18,"value":184}," crate",{"type":13,"tag":45,"props":186,"children":187},{"style":52},[188],{"type":18,"value":189}," ::",{"type":13,"tag":45,"props":191,"children":192},{"style":64},[193],{"type":18,"value":194}," vk ",{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199},"::",{"type":13,"tag":45,"props":201,"children":202},{"style":79},[203],{"type":18,"value":204}," vk",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":199},{"type":13,"tag":45,"props":210,"children":211},{"style":79},[212],{"type":18,"value":213},"Device",{"type":13,"tag":45,"props":215,"children":216},{"style":64},[217],{"type":18,"value":87},{"type":13,"tag":45,"props":219,"children":220},{"class":47,"line":90},[221,226,230,234,238,243],{"type":13,"tag":45,"props":222,"children":223},{"style":64},[224],{"type":18,"value":225}," operation",{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":179},{"type":13,"tag":45,"props":231,"children":232},{"style":79},[233],{"type":18,"value":204},{"type":13,"tag":45,"props":235,"children":236},{"style":52},[237],{"type":18,"value":199},{"type":13,"tag":45,"props":239,"children":240},{"style":79},[241],{"type":18,"value":242},"DeferredOperationKHR",{"type":13,"tag":45,"props":244,"children":245},{"style":64},[246],{"type":18,"value":87},{"type":13,"tag":45,"props":248,"children":249},{"class":47,"line":108},[250,255,259,264,268,272,277],{"type":13,"tag":45,"props":251,"children":252},{"style":64},[253],{"type":18,"value":254}," p_allocator",{"type":13,"tag":45,"props":256,"children":257},{"style":52},[258],{"type":18,"value":179},{"type":13,"tag":45,"props":260,"children":261},{"style":52},[262],{"type":18,"value":263}," *const",{"type":13,"tag":45,"props":265,"children":266},{"style":79},[267],{"type":18,"value":204},{"type":13,"tag":45,"props":269,"children":270},{"style":52},[271],{"type":18,"value":199},{"type":13,"tag":45,"props":273,"children":274},{"style":79},[275],{"type":18,"value":276},"AllocationCallbacks",{"type":13,"tag":45,"props":278,"children":279},{"style":64},[280],{"type":18,"value":87},{"type":13,"tag":45,"props":282,"children":284},{"class":47,"line":283},5,[285],{"type":13,"tag":45,"props":286,"children":287},{"style":64},[288],{"type":18,"value":134},{"type":13,"tag":290,"props":291,"children":292},"ul",{},[293,311,321],{"type":13,"tag":294,"props":295,"children":296},"li",{},[297,302,304,309],{"type":13,"tag":41,"props":298,"children":300},{"className":299},[],[301],{"type":18,"value":82},{"type":18,"value":303}," is the device which owns ",{"type":13,"tag":41,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":101},{"type":18,"value":310},".",{"type":13,"tag":294,"props":312,"children":313},{},[314,319],{"type":13,"tag":41,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":101},{"type":18,"value":320}," is the completed operation to be destroyed.",{"type":13,"tag":294,"props":322,"children":323},{},[324,330,332,339],{"type":13,"tag":41,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":329},"pAllocator",{"type":18,"value":331}," controls host memory allocation as described in the\n",{"type":13,"tag":333,"props":334,"children":336},"a",{"href":335},"/chapters/memory#memory-allocation",[337],{"type":18,"value":338},"Memory Allocation",{"type":18,"value":340}," chapter.",{"type":13,"tag":342,"props":343,"children":345},"validity-group",{"name":344},"Valid Usage",[346,377,417],{"type":13,"tag":347,"props":348,"children":350},"validity-field",{"name":349},"VUID-vkDestroyDeferredOperationKHR-operation-03434",[351],{"type":13,"tag":14,"props":352,"children":353},{},[354,356,362,364,369,371,375],{"type":18,"value":355},"If ",{"type":13,"tag":41,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":361},"VkAllocationCallbacks",{"type":18,"value":363}," were provided when ",{"type":13,"tag":41,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":101},{"type":18,"value":370}," was\ncreated, a compatible set of callbacks ",{"type":13,"tag":21,"props":372,"children":374},{"type":373},"must",[],{"type":18,"value":376}," be provided here",{"type":13,"tag":347,"props":378,"children":380},{"name":379},"VUID-vkDestroyDeferredOperationKHR-operation-03435",[381],{"type":13,"tag":14,"props":382,"children":383},{},[384,386,391,392,397,399,404,406,409,411],{"type":18,"value":385},"If no ",{"type":13,"tag":41,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":361},{"type":18,"value":363},{"type":13,"tag":41,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":101},{"type":18,"value":398}," was\ncreated, ",{"type":13,"tag":41,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":329},{"type":18,"value":405}," ",{"type":13,"tag":21,"props":407,"children":408},{"type":373},[],{"type":18,"value":410}," be ",{"type":13,"tag":41,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":416},"NULL",{"type":13,"tag":347,"props":418,"children":420},{"name":419},"VUID-vkDestroyDeferredOperationKHR-operation-03436",[421],{"type":13,"tag":14,"props":422,"children":423},{},[424,429,430,433],{"type":13,"tag":41,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":101},{"type":18,"value":405},{"type":13,"tag":21,"props":431,"children":432},{"type":373},[],{"type":18,"value":434}," be completed",{"type":13,"tag":342,"props":436,"children":438},{"name":437},"Valid Usage (Implicit)",[439,465,505,543],{"type":13,"tag":347,"props":440,"children":442},{"name":441},"VUID-vkDestroyDeferredOperationKHR-device-parameter",[443],{"type":13,"tag":14,"props":444,"children":445},{},[446,451,452,455,457,463],{"type":13,"tag":41,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":82},{"type":18,"value":405},{"type":13,"tag":21,"props":453,"children":454},{"type":373},[],{"type":18,"value":456}," be a valid ",{"type":13,"tag":333,"props":458,"children":460},{"href":459},"/man/VkDevice",[461],{"type":18,"value":462},"VkDevice",{"type":18,"value":464}," handle",{"type":13,"tag":347,"props":466,"children":468},{"name":467},"VUID-vkDestroyDeferredOperationKHR-operation-parameter",[469],{"type":13,"tag":14,"props":470,"children":471},{},[472,473,478,480,486,488,493,494,497,498,504],{"type":18,"value":355},{"type":13,"tag":41,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":101},{"type":18,"value":479}," is not ",{"type":13,"tag":333,"props":481,"children":483},{"href":482},"/man/VK_NULL_HANDLE",[484],{"type":18,"value":485},"VK_NULL_HANDLE",{"type":18,"value":487},", ",{"type":13,"tag":41,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":101},{"type":18,"value":405},{"type":13,"tag":21,"props":495,"children":496},{"type":373},[],{"type":18,"value":456},{"type":13,"tag":333,"props":499,"children":501},{"href":500},"/man/VkDeferredOperationKHR",[502],{"type":18,"value":503},"VkDeferredOperationKHR",{"type":18,"value":464},{"type":13,"tag":347,"props":506,"children":508},{"name":507},"VUID-vkDestroyDeferredOperationKHR-pAllocator-parameter",[509],{"type":13,"tag":14,"props":510,"children":511},{},[512,513,518,519,524,525,530,531,534,536,541],{"type":18,"value":355},{"type":13,"tag":41,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":329},{"type":18,"value":479},{"type":13,"tag":41,"props":520,"children":522},{"className":521},[],[523],{"type":18,"value":416},{"type":18,"value":487},{"type":13,"tag":41,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":329},{"type":18,"value":405},{"type":13,"tag":21,"props":532,"children":533},{"type":373},[],{"type":18,"value":535}," be a valid pointer to a valid ",{"type":13,"tag":333,"props":537,"children":539},{"href":538},"/man/VkAllocationCallbacks",[540],{"type":18,"value":361},{"type":18,"value":542}," structure",{"type":13,"tag":347,"props":544,"children":546},{"name":545},"VUID-vkDestroyDeferredOperationKHR-operation-parent",[547],{"type":13,"tag":14,"props":548,"children":549},{},[550,551,556,558,561,563],{"type":18,"value":355},{"type":13,"tag":41,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":101},{"type":18,"value":557}," is a valid handle, it ",{"type":13,"tag":21,"props":559,"children":560},{"type":373},[],{"type":18,"value":562}," have been created, allocated, or retrieved from ",{"type":13,"tag":41,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":82},{"type":13,"tag":569,"props":570,"children":572},"validity-box",{"name":571},"Host Synchronization",[573],{"type":13,"tag":290,"props":574,"children":575},{},[576],{"type":13,"tag":294,"props":577,"children":578},{},[579,581,586,587,590],{"type":18,"value":580},"Host access to ",{"type":13,"tag":41,"props":582,"children":584},{"className":583},[],[585],{"type":18,"value":101},{"type":18,"value":405},{"type":13,"tag":21,"props":588,"children":589},{"type":373},[],{"type":18,"value":591}," be externally synchronized\n::",{"type":13,"tag":593,"props":594,"children":595},"style",{},[596],{"type":18,"value":597},"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":38,"searchDepth":70,"depth":70,"links":599},[],"markdown",1729612511252]