[−][src]Enum vulkano::sampler::BorderColor
The color to use for the border of an image.
Only relevant if you use ClampToBorder
.
Using a border color restricts the sampler to either floating-point images or integer images.
See the documentation of the sampler
module for more info.
Variants
The value (0.0, 0.0, 0.0, 0.0)
. Can only be used with floating-point images.
The value (0, 0, 0, 0)
. Can only be used with integer images.
The value (0.0, 0.0, 0.0, 1.0)
. Can only be used with floating-point identity-swizzled
images.
The value (0, 0, 0, 1)
. Can only be used with integer identity-swizzled images.
The value (1.0, 1.0, 1.0, 1.0)
. Can only be used with floating-point images.
The value (1, 1, 1, 1)
. Can only be used with integer images.
Trait Implementations
impl Clone for BorderColor
[src]
fn clone(&self) -> BorderColor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BorderColor
[src]
impl Debug for BorderColor
[src]
impl Eq for BorderColor
[src]
impl Hash for BorderColor
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<BorderColor> for BorderColor
[src]
fn eq(&self, other: &BorderColor) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for BorderColor
[src]
impl StructuralPartialEq for BorderColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for BorderColor
impl Send for BorderColor
impl Sync for BorderColor
impl Unpin for BorderColor
impl UnwindSafe for BorderColor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,