#[repr(C)]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,
}Expand description
enum VkSamplerReductionMode from VK_VERSION_1_2
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
pub const VK_SAMPLER_REDUCTION_MODE_MIN_EXT: VkSamplerReductionMode = VkSamplerReductionMode::VK_SAMPLER_REDUCTION_MODE_MIN
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 (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 VkSamplerReductionMode
Source§impl Debug for VkSamplerReductionMode
impl Debug for VkSamplerReductionMode
impl Eq for VkSamplerReductionMode
Source§impl Hash for VkSamplerReductionMode
impl Hash for VkSamplerReductionMode
Source§impl Ord for VkSamplerReductionMode
impl Ord for VkSamplerReductionMode
Source§fn cmp(&self, other: &VkSamplerReductionMode) -> Ordering
fn cmp(&self, other: &VkSamplerReductionMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VkSamplerReductionMode
impl PartialEq for VkSamplerReductionMode
Source§impl PartialOrd for VkSamplerReductionMode
impl PartialOrd 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 UnsafeUnpin 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