#[repr(i32)]pub enum SAMPLER_MODE {
CLIP = 0,
CLAMP = 1,
LOOP = 2,
MIRROR = 3,
DOT = 4,
}Expand description
サンプラーの種別
Variants§
CLIP = 0
領域外は透明色
CLAMP = 1
領域外は一番外側の色
LOOP = 2
領域外はループ
MIRROR = 3
領域外は領域を反転しながらループ
DOT = 4
拡大縮小補間をしない(領域外は透明色)
Auto Trait Implementations§
impl Freeze for SAMPLER_MODE
impl RefUnwindSafe for SAMPLER_MODE
impl Send for SAMPLER_MODE
impl Sync for SAMPLER_MODE
impl Unpin for SAMPLER_MODE
impl UnsafeUnpin for SAMPLER_MODE
impl UnwindSafe for SAMPLER_MODE
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