pub struct YcbcrConversionInfo { /* private fields */ }Implementations§
Source§impl YcbcrConversionInfo
impl YcbcrConversionInfo
pub fn new_with_external_format( external_format: u64, ycbcr_model: VkSamplerYcbcrModelConversion, ycbcr_range: VkSamplerYcbcrRange, x_chroma_offset: VkChromaLocation, y_chroma_offset: VkChromaLocation, chroma_filter: VkFilter, force_explicit_reconstruction: u32, components: VkComponentMapping, external_format_features: u32, ) -> YcbcrConversionInfo
pub fn new_with_format( format: VkFormat, ycbcr_model: VkSamplerYcbcrModelConversion, ycbcr_range: VkSamplerYcbcrRange, x_chroma_offset: VkChromaLocation, y_chroma_offset: VkChromaLocation, chroma_filter: VkFilter, force_explicit_reconstruction: u32, components: VkComponentMapping, format_features: u32, ) -> YcbcrConversionInfo
pub fn is_valid(&self) -> bool
pub fn format(&self) -> VkFormat
pub fn has_external_format(&self) -> bool
pub fn external_format(&self) -> u64
pub fn model(&self) -> VkSamplerYcbcrModelConversion
pub fn range(&self) -> VkSamplerYcbcrRange
pub fn x_chroma_offset(&self) -> VkChromaLocation
pub fn y_chroma_offset(&self) -> VkChromaLocation
pub fn chroma_filter(&self) -> VkFilter
pub fn force_explicit_reconstruction(&self) -> u32
pub fn components(&self) -> VkComponentMapping
pub fn sampler_filter_must_match_chroma_filter(&self) -> bool
pub fn supports_linear_filter(&self) -> bool
Trait Implementations§
Source§impl Clone for YcbcrConversionInfo
impl Clone for YcbcrConversionInfo
Source§fn clone(&self) -> YcbcrConversionInfo
fn clone(&self) -> YcbcrConversionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for YcbcrConversionInfo
Source§impl Debug for YcbcrConversionInfo
impl Debug for YcbcrConversionInfo
Source§impl Default for YcbcrConversionInfo
impl Default for YcbcrConversionInfo
Source§fn default() -> YcbcrConversionInfo
fn default() -> YcbcrConversionInfo
Returns the “default value” for a type. Read more
impl Eq for YcbcrConversionInfo
Auto Trait Implementations§
impl Freeze for YcbcrConversionInfo
impl RefUnwindSafe for YcbcrConversionInfo
impl Send for YcbcrConversionInfo
impl Sync for YcbcrConversionInfo
impl Unpin for YcbcrConversionInfo
impl UnsafeUnpin for YcbcrConversionInfo
impl UnwindSafe for YcbcrConversionInfo
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