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