Struct wgpu::Texture [−][src]
pub struct Texture { /* fields omitted */ }
Handle to a texture on the GPU.
Created by calling Device::create_texture
Implementations
impl Texture
[src]
impl Texture
[src]pub fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> TextureView
[src]
pub fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> TextureView
[src]Creates a view of this texture.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl !UnwindSafe for Texture
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more