pub enum TextureMode {
Target,
Read,
}Available on Windows only.
Variants§
Implementations§
Source§impl TextureMode
impl TextureMode
pub fn usage(&self) -> D3D11_USAGE
pub fn bind_flags(&self) -> D3D11_BIND_FLAG
pub fn cpu_access_flags(&self) -> D3D11_CPU_ACCESS_FLAG
Auto Trait Implementations§
impl Freeze for TextureMode
impl RefUnwindSafe for TextureMode
impl Send for TextureMode
impl Sync for TextureMode
impl Unpin for TextureMode
impl UnwindSafe for TextureMode
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
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.