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