pub trait KhrSamplerYcbcrConversionExtension: DeviceV1_0 {
const METADATA: Extension = KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION;
// Provided methods
unsafe fn create_sampler_ycbcr_conversion_khr(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion> { ... }
unsafe fn destroy_sampler_ycbcr_conversion_khr(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocator: Option<&AllocationCallbacks>
) { ... }
}
Expand description
Provided Associated Constants§
Provided Methods§
sourceunsafe fn create_sampler_ycbcr_conversion_khr(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
unsafe fn create_sampler_ycbcr_conversion_khr( &self, create_info: &SamplerYcbcrConversionCreateInfo, allocator: Option<&AllocationCallbacks> ) -> VkResult<SamplerYcbcrConversion>
sourceunsafe fn destroy_sampler_ycbcr_conversion_khr(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_sampler_ycbcr_conversion_khr( &self, ycbcr_conversion: SamplerYcbcrConversion, allocator: Option<&AllocationCallbacks> )
Object Safety§
This trait is not object safe.