#[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 · 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 VkSamplerAddressMode
impl Debug for VkSamplerAddressMode
Source§impl PartialEq for VkSamplerAddressMode
impl PartialEq for VkSamplerAddressMode
impl Copy 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 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