pub struct WasdkTexture { /* private fields */ }Expand description
The texture behind a wgpu::Texture from this backend: texture.as_custom::<WasdkTexture>().
Implementations§
Source§impl WasdkTexture
impl WasdkTexture
Sourcepub fn gpu_texture(&self) -> &GpuTexture
pub fn gpu_texture(&self) -> &GpuTexture
The wasi texture behind the wgpu one.
Trait Implementations§
Source§impl Debug for WasdkTexture
impl Debug for WasdkTexture
Source§impl TextureInterface for WasdkTexture
impl TextureInterface for WasdkTexture
fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> DispatchTextureView
fn destroy(&self)
Auto Trait Implementations§
impl !Freeze for WasdkTexture
impl Forget for WasdkTexture
impl Move for WasdkTexture
impl RefUnwindSafe for WasdkTexture
impl Send for WasdkTexture
impl Sync for WasdkTexture
impl Unpin for WasdkTexture
impl UnsafeUnpin for WasdkTexture
impl UnwindSafe for WasdkTexture
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