Struct comfy_wgpu::FrameBuffer
source · pub struct FrameBuffer {
pub texture: Texture,
pub bind_group: BindGroup,
}Fields§
§texture: Texture§bind_group: BindGroupImplementations§
source§impl FrameBuffer
impl FrameBuffer
pub fn new( name: &str, device: &Device, config: &SurfaceConfiguration, format: TextureFormat, layout: &BindGroupLayout ) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for FrameBuffer
impl Send for FrameBuffer
impl Sync for FrameBuffer
impl Unpin for FrameBuffer
impl !UnwindSafe for FrameBuffer
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