#[repr(u32)]pub(crate) enum ExternalTextureParameter {
YuvConversionMatrix = 0,
GamutConversionMatrix = 1,
SrcTf = 2,
DstTf = 3,
SampleTransform = 4,
LoadTransform = 5,
Size = 6,
NumPlanes = 7,
}Expand description
A member of the ExternalTextureParams struct.
The numeric values of this enum are used to generate struct access operations in the SPIR-V backend.
This definition must match wgpu_core::device::resource::ExternalTextureParams
and the special type definition generated by
crate::Module::generate_external_texture_types.
Variants§
YuvConversionMatrix = 0
GamutConversionMatrix = 1
SrcTf = 2
DstTf = 3
SampleTransform = 4
LoadTransform = 5
Size = 6
NumPlanes = 7
Implementations§
Trait Implementations§
Source§impl Clone for ExternalTextureParameter
impl Clone for ExternalTextureParameter
Source§fn clone(&self) -> ExternalTextureParameter
fn clone(&self) -> ExternalTextureParameter
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 Debug for ExternalTextureParameter
impl Debug for ExternalTextureParameter
Source§impl PartialEq for ExternalTextureParameter
impl PartialEq for ExternalTextureParameter
impl Copy for ExternalTextureParameter
impl Eq for ExternalTextureParameter
impl StructuralPartialEq for ExternalTextureParameter
Auto Trait Implementations§
impl Freeze for ExternalTextureParameter
impl RefUnwindSafe for ExternalTextureParameter
impl Send for ExternalTextureParameter
impl Sync for ExternalTextureParameter
impl Unpin for ExternalTextureParameter
impl UnsafeUnpin for ExternalTextureParameter
impl UnwindSafe for ExternalTextureParameter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more