Debian Codegraph @

src/extensions/khr/sampler_ycbcr_conversion.rs

raw symbols SCIP
1 //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_sampler_ycbcr_conversion.html>
2
3 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*;
4 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/;
5 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::RawPtrrust-analyzer cargo ash 0.38.0+1.3.281 RawPtr#;
6 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/;
7
8 impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/::sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/Device# {
9 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateSamplerYcbcrConversion.html>
10 #[inline]
11 pub unsafe fn create_sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/sampler_ycbcr_conversion/impl#[`crate::khr::sampler_ycbcr_conversion::Device`]create_sampler_ycbcr_conversion().(
12 &self,
13 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerYcbcrConversionCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerYcbcrConversionCreateInfo#<'_>,
14 allocation_callbacks: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::AllocationCallbacksrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/AllocationCallbacks#<'_>>,
15 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerYcbcrConversionrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerYcbcrConversion#> {
16 let mut ycbcr_conversion = memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::uninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]uninit().();
17 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/Device#fp..create_sampler_ycbcr_conversion_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/DeviceFn#create_sampler_ycbcr_conversion_khr.)(
18 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/Device#handle.,
19 create_info,
20 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
21 ycbcr_conversion.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
22 )
23 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(ycbcr_conversion)
24 }
25
26 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroySamplerYcbcrConversion.html>
27 #[inline]
28 pub unsafe fn destroy_sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/sampler_ycbcr_conversion/impl#[`crate::khr::sampler_ycbcr_conversion::Device`]destroy_sampler_ycbcr_conversion().(
29 &self,
30 ycbcr_conversion: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerYcbcrConversionrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerYcbcrConversion#,
31 allocation_callbacks: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::AllocationCallbacksrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/AllocationCallbacks#<'_>>,
32 ) {
33 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/Device#fp..destroy_sampler_ycbcr_conversion_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/DeviceFn#destroy_sampler_ycbcr_conversion_khr.)(
34 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/sampler_ycbcr_conversion/Device#handle.,
35 ycbcr_conversion,
36 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
37 )
38 }
39 }