#[non_exhaustive]#[repr(u32)]pub enum VkSamplerReductionMode {
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE = 0,
VK_SAMPLER_REDUCTION_MODE_MIN = 1,
VK_SAMPLER_REDUCTION_MODE_MAX = 2,
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM = 1_000_521_000,
VK_SAMPLER_REDUCTION_MODE_MAX_ENUM = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE = 0
VK_SAMPLER_REDUCTION_MODE_MIN = 1
VK_SAMPLER_REDUCTION_MODE_MAX = 2
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM = 1_000_521_000
VK_SAMPLER_REDUCTION_MODE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSamplerReductionMode
impl VkSamplerReductionMode
pub const VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT: VkSamplerReductionMode = VkSamplerReductionMode::VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE
Source§impl VkSamplerReductionMode
impl VkSamplerReductionMode
pub const VK_SAMPLER_REDUCTION_MODE_MIN_EXT: VkSamplerReductionMode = VkSamplerReductionMode::VK_SAMPLER_REDUCTION_MODE_MIN
Source§impl VkSamplerReductionMode
impl VkSamplerReductionMode
pub const VK_SAMPLER_REDUCTION_MODE_MAX_EXT: VkSamplerReductionMode = VkSamplerReductionMode::VK_SAMPLER_REDUCTION_MODE_MAX
Trait Implementations§
Source§impl Clone for VkSamplerReductionMode
impl Clone for VkSamplerReductionMode
Source§fn clone(&self) -> VkSamplerReductionMode
fn clone(&self) -> VkSamplerReductionMode
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 VkSamplerReductionMode
impl Debug for VkSamplerReductionMode
Source§impl Hash for VkSamplerReductionMode
impl Hash for VkSamplerReductionMode
Source§impl PartialEq for VkSamplerReductionMode
impl PartialEq for VkSamplerReductionMode
impl Copy for VkSamplerReductionMode
impl Eq for VkSamplerReductionMode
impl StructuralPartialEq for VkSamplerReductionMode
Auto Trait Implementations§
impl Freeze for VkSamplerReductionMode
impl RefUnwindSafe for VkSamplerReductionMode
impl Send for VkSamplerReductionMode
impl Sync for VkSamplerReductionMode
impl Unpin for VkSamplerReductionMode
impl UnwindSafe for VkSamplerReductionMode
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