Type Alias ash::vk::SamplerYcbcrModelConversionKHR

source ·
pub type SamplerYcbcrModelConversionKHR = SamplerYcbcrModelConversion;

Aliased Type§

struct SamplerYcbcrModelConversionKHR(/* private fields */);

Implementations

source§

impl SamplerYcbcrModelConversion

source

pub const fn from_raw(x: i32) -> Self

source

pub const fn as_raw(self) -> i32

source§

impl SamplerYcbcrModelConversion

source

pub const RGB_IDENTITY: Self = _

source

pub const YCBCR_IDENTITY: Self = _

just range expansion

source

pub const YCBCR_709: Self = _

aka HD YUV

source

pub const YCBCR_601: Self = _

aka SD YUV

source

pub const YCBCR_2020: Self = _

aka UHD YUV

source§

impl SamplerYcbcrModelConversion

Generated from ‘VK_KHR_sampler_ycbcr_conversion’

source

pub const RGB_IDENTITY_KHR: Self = Self::RGB_IDENTITY

source

pub const YCBCR_IDENTITY_KHR: Self = Self::YCBCR_IDENTITY

source

pub const YCBCR_709_KHR: Self = Self::YCBCR_709

source

pub const YCBCR_601_KHR: Self = Self::YCBCR_601

source

pub const YCBCR_2020_KHR: Self = Self::YCBCR_2020

Trait Implementations

source§

impl Clone for SamplerYcbcrModelConversion

source§

fn clone(&self) -> SamplerYcbcrModelConversion

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SamplerYcbcrModelConversion

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SamplerYcbcrModelConversion

source§

fn default() -> SamplerYcbcrModelConversion

Returns the “default value” for a type. Read more
source§

impl Hash for SamplerYcbcrModelConversion

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for SamplerYcbcrModelConversion

source§

fn cmp(&self, other: &SamplerYcbcrModelConversion) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for SamplerYcbcrModelConversion

source§

fn eq(&self, other: &SamplerYcbcrModelConversion) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for SamplerYcbcrModelConversion

source§

fn partial_cmp(&self, other: &SamplerYcbcrModelConversion) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for SamplerYcbcrModelConversion

source§

impl Eq for SamplerYcbcrModelConversion

source§

impl StructuralPartialEq for SamplerYcbcrModelConversion