Struct librashader_runtime_wgpu::WgpuOutputView
source · pub struct WgpuOutputView<'a> { /* private fields */ }
Expand description
A wgpu TextureView
with size and texture information to output.
Implementations§
source§impl<'a> WgpuOutputView<'a>
impl<'a> WgpuOutputView<'a>
sourcepub fn new_from_raw(
view: &'a TextureView,
size: Size<u32>,
format: TextureFormat
) -> Self
pub fn new_from_raw( view: &'a TextureView, size: Size<u32>, format: TextureFormat ) -> Self
Create an output view from an existing texture view, size, and format.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WgpuOutputView<'a>
impl<'a> Send for WgpuOutputView<'a>
impl<'a> Sync for WgpuOutputView<'a>
impl<'a> Unpin for WgpuOutputView<'a>
impl<'a> !UnwindSafe for WgpuOutputView<'a>
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