pub enum WrappingMode {
ClampToEdge = 1,
MirroredRepeat = 2,
Repeat = 3,
}Expand description
Wrapping Mode
§Rendering
Vulkan: Corresponds to vk::SamplerAddressMode
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSamplerAddressMode.html
Variants§
ClampToEdge = 1
Corresponds to GL_CLAMP_TO_EDGE or vk::SamplerAddressMode::CLAMP_TO_EDGE.
MirroredRepeat = 2
Corresponds to [GL_MIRRORED_REPEAT] or [vk::SamplerAddressMode::MIRRORED_REPEAT].
Repeat = 3
Corresponds to GL_REPEAT or vk::SamplerAddressMode::REPEAT.
Trait Implementations§
Source§impl Clone for WrappingMode
impl Clone for WrappingMode
Source§fn clone(&self) -> WrappingMode
fn clone(&self) -> WrappingMode
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 WrappingMode
impl Debug for WrappingMode
Source§impl Default for WrappingMode
impl Default for WrappingMode
Source§fn default() -> WrappingMode
fn default() -> WrappingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for WrappingMode
impl PartialEq for WrappingMode
impl Copy for WrappingMode
impl Eq for WrappingMode
impl StructuralPartialEq for WrappingMode
Auto Trait Implementations§
impl Freeze for WrappingMode
impl RefUnwindSafe for WrappingMode
impl Send for WrappingMode
impl Sync for WrappingMode
impl Unpin for WrappingMode
impl UnwindSafe for WrappingMode
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