#[repr(C)]pub enum VkSamplerAddressMode {
VK_SAMPLER_ADDRESS_MODE_REPEAT = 0,
VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1,
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2,
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,
VK_SAMPLER_ADDRESS_MODE_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkSamplerAddressMode from VK_VERSION_1_0
Variants§
VK_SAMPLER_ADDRESS_MODE_REPEAT = 0
VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4
VK_SAMPLER_ADDRESS_MODE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSamplerAddressMode
impl VkSamplerAddressMode
pub const VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR: VkSamplerAddressMode = VkSamplerAddressMode::VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
Trait Implementations§
Source§impl Clone for VkSamplerAddressMode
impl Clone for VkSamplerAddressMode
Source§fn clone(&self) -> VkSamplerAddressMode
fn clone(&self) -> VkSamplerAddressMode
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 VkSamplerAddressMode
Source§impl Debug for VkSamplerAddressMode
impl Debug for VkSamplerAddressMode
impl Eq for VkSamplerAddressMode
Source§impl Hash for VkSamplerAddressMode
impl Hash for VkSamplerAddressMode
Source§impl Ord for VkSamplerAddressMode
impl Ord for VkSamplerAddressMode
Source§fn cmp(&self, other: &VkSamplerAddressMode) -> Ordering
fn cmp(&self, other: &VkSamplerAddressMode) -> 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 VkSamplerAddressMode
impl PartialEq for VkSamplerAddressMode
Source§impl PartialOrd for VkSamplerAddressMode
impl PartialOrd for VkSamplerAddressMode
impl StructuralPartialEq for VkSamplerAddressMode
Auto Trait Implementations§
impl Freeze for VkSamplerAddressMode
impl RefUnwindSafe for VkSamplerAddressMode
impl Send for VkSamplerAddressMode
impl Sync for VkSamplerAddressMode
impl Unpin for VkSamplerAddressMode
impl UnsafeUnpin for VkSamplerAddressMode
impl UnwindSafe for VkSamplerAddressMode
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