Enum wgpu_types::SamplerBorderColor [−][src]
#[repr(C)]
pub enum SamplerBorderColor {
TransparentBlack,
OpaqueBlack,
OpaqueWhite,
}
Expand description
Color variation to use when sampler addressing mode is AddressMode::ClampToBorder
Variants
[0, 0, 0, 0]
[0, 0, 0, 1]
[1, 1, 1, 1]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SamplerBorderColor
impl Send for SamplerBorderColor
impl Sync for SamplerBorderColor
impl Unpin for SamplerBorderColor
impl UnwindSafe for SamplerBorderColor
Blanket Implementations
Mutably borrows from an owned value. Read more