#[repr(C)]pub enum VkSamplerCreateFlagBits {
VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT = 1,
VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT = 2,
VK_SAMPLER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT = 8,
VK_SAMPLER_CREATE_NON_SEAMLESS_CUBE_MAP_BIT_EXT = 4,
VK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM = 16,
VK_SAMPLER_CREATE_FLAG_BITS_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkSamplerCreateFlagBits from VK_VERSION_1_0
Variants§
VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT = 1
VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT = 2
VK_SAMPLER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT = 8
VK_SAMPLER_CREATE_NON_SEAMLESS_CUBE_MAP_BIT_EXT = 4
VK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM = 16
VK_SAMPLER_CREATE_FLAG_BITS_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSamplerCreateFlagBits
impl VkSamplerCreateFlagBits
Sourcepub fn combine(bits: &[Self]) -> VkSamplerCreateFlags
pub fn combine(bits: &[Self]) -> VkSamplerCreateFlags
Combine bits together
Sourcepub fn check(value: VkSamplerCreateFlags, bits: Self) -> bool
pub fn check(value: VkSamplerCreateFlags, bits: Self) -> bool
Check if the bitfield has a value
Trait Implementations§
Source§impl BitAnd for VkSamplerCreateFlagBits
impl BitAnd for VkSamplerCreateFlagBits
Source§impl BitAnd<u32> for VkSamplerCreateFlagBits
impl BitAnd<u32> for VkSamplerCreateFlagBits
Source§fn bitand(self, rhs: VkSamplerCreateFlags) -> VkSamplerCreateFlags
fn bitand(self, rhs: VkSamplerCreateFlags) -> VkSamplerCreateFlags
Performs the
& operation. Read moreSource§impl BitOr for VkSamplerCreateFlagBits
impl BitOr for VkSamplerCreateFlagBits
Source§impl BitOr<u32> for VkSamplerCreateFlagBits
impl BitOr<u32> for VkSamplerCreateFlagBits
Source§fn bitor(self, rhs: VkSamplerCreateFlags) -> VkSamplerCreateFlags
fn bitor(self, rhs: VkSamplerCreateFlags) -> VkSamplerCreateFlags
Performs the
| operation. Read moreSource§impl BitXor for VkSamplerCreateFlagBits
impl BitXor for VkSamplerCreateFlagBits
Source§impl BitXor<u32> for VkSamplerCreateFlagBits
impl BitXor<u32> for VkSamplerCreateFlagBits
Source§fn bitxor(self, rhs: VkSamplerCreateFlags) -> VkSamplerCreateFlags
fn bitxor(self, rhs: VkSamplerCreateFlags) -> VkSamplerCreateFlags
Performs the
^ operation. Read moreSource§impl Clone for VkSamplerCreateFlagBits
impl Clone for VkSamplerCreateFlagBits
Source§fn clone(&self) -> VkSamplerCreateFlagBits
fn clone(&self) -> VkSamplerCreateFlagBits
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 VkSamplerCreateFlagBits
Source§impl Debug for VkSamplerCreateFlagBits
impl Debug for VkSamplerCreateFlagBits
impl Eq for VkSamplerCreateFlagBits
Source§impl Hash for VkSamplerCreateFlagBits
impl Hash for VkSamplerCreateFlagBits
Source§impl Not for VkSamplerCreateFlagBits
impl Not for VkSamplerCreateFlagBits
Source§impl Ord for VkSamplerCreateFlagBits
impl Ord for VkSamplerCreateFlagBits
Source§fn cmp(&self, other: &VkSamplerCreateFlagBits) -> Ordering
fn cmp(&self, other: &VkSamplerCreateFlagBits) -> 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 VkSamplerCreateFlagBits
impl PartialEq for VkSamplerCreateFlagBits
Source§impl PartialOrd for VkSamplerCreateFlagBits
impl PartialOrd for VkSamplerCreateFlagBits
impl StructuralPartialEq for VkSamplerCreateFlagBits
Auto Trait Implementations§
impl Freeze for VkSamplerCreateFlagBits
impl RefUnwindSafe for VkSamplerCreateFlagBits
impl Send for VkSamplerCreateFlagBits
impl Sync for VkSamplerCreateFlagBits
impl Unpin for VkSamplerCreateFlagBits
impl UnsafeUnpin for VkSamplerCreateFlagBits
impl UnwindSafe for VkSamplerCreateFlagBits
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