#[repr(C)]pub struct SamplerYcbcrConversionCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub format: Format,
pub ycbcr_model: SamplerYcbcrModelConversion,
pub ycbcr_range: SamplerYcbcrRange,
pub components: ComponentMapping,
pub x_chroma_offset: ChromaLocation,
pub y_chroma_offset: ChromaLocation,
pub chroma_filter: Filter,
pub force_explicit_reconstruction: u32,
}Expand description
VkSamplerYcbcrConversionCreateInfo
Provided by VK_COMPUTE_VERSION_1_1.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
format: Format§ycbcr_model: SamplerYcbcrModelConversion§ycbcr_range: SamplerYcbcrRange§components: ComponentMapping§x_chroma_offset: ChromaLocation§y_chroma_offset: ChromaLocation§chroma_filter: Filter§force_explicit_reconstruction: u32Implementations§
Source§impl SamplerYcbcrConversionCreateInfo
impl SamplerYcbcrConversionCreateInfo
Sourcepub fn builder<'a>() -> SamplerYcbcrConversionCreateInfoBuilder<'a>
pub fn builder<'a>() -> SamplerYcbcrConversionCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SamplerYcbcrConversionCreateInfo
impl Clone for SamplerYcbcrConversionCreateInfo
Source§fn clone(&self) -> SamplerYcbcrConversionCreateInfo
fn clone(&self) -> SamplerYcbcrConversionCreateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SamplerYcbcrConversionCreateInfo
impl Default for SamplerYcbcrConversionCreateInfo
Source§fn default() -> SamplerYcbcrConversionCreateInfo
fn default() -> SamplerYcbcrConversionCreateInfo
Returns the “default value” for a type. Read more
impl Copy for SamplerYcbcrConversionCreateInfo
Auto Trait Implementations§
impl Freeze for SamplerYcbcrConversionCreateInfo
impl RefUnwindSafe for SamplerYcbcrConversionCreateInfo
impl !Send for SamplerYcbcrConversionCreateInfo
impl !Sync for SamplerYcbcrConversionCreateInfo
impl Unpin for SamplerYcbcrConversionCreateInfo
impl UnsafeUnpin for SamplerYcbcrConversionCreateInfo
impl UnwindSafe for SamplerYcbcrConversionCreateInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more