#[repr(i32)]
pub enum SamplerYcbcrModelConversion {
RgbIdentity,
YcbcrIdentity,
Ycbcr709,
Ycbcr601,
Ycbcr2020,
}
Expand description
The conversion between the color model of the source image and the color model of the shader.
Variants
RgbIdentity
The input values are already in the shader’s model, and are passed through unmodified.
YcbcrIdentity
The input values are only range expanded, no other modifications are done.
Ycbcr709
The input values are converted according to the ITU-R BT.709 standard.
Ycbcr601
The input values are converted according to the ITU-R BT.601 standard.
Ycbcr2020
The input values are converted according to the ITU-R BT.2020 standard.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SamplerYcbcrModelConversion
impl Send for SamplerYcbcrModelConversion
impl Sync for SamplerYcbcrModelConversion
impl Unpin for SamplerYcbcrModelConversion
impl UnwindSafe for SamplerYcbcrModelConversion
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.