pub struct GpuRenderPassDescriptor {
pub color_texture_id: u64,
pub depth_texture_id: Option<u64>,
pub clear_color: Option<[f32; 4]>,
pub clear_depth: Option<f32>,
pub scissor_rect: Option<Rect>,
}Expand description
Hardware render pass descriptor specifying color and depth attachments.
Fields§
§color_texture_id: u64§depth_texture_id: Option<u64>§clear_color: Option<[f32; 4]>§clear_depth: Option<f32>§scissor_rect: Option<Rect>Trait Implementations§
Source§impl Clone for GpuRenderPassDescriptor
impl Clone for GpuRenderPassDescriptor
Auto Trait Implementations§
impl Forget for GpuRenderPassDescriptor
impl Freeze for GpuRenderPassDescriptor
impl Move for GpuRenderPassDescriptor
impl RefUnwindSafe for GpuRenderPassDescriptor
impl Send for GpuRenderPassDescriptor
impl Sync for GpuRenderPassDescriptor
impl Unpin for GpuRenderPassDescriptor
impl UnsafeUnpin for GpuRenderPassDescriptor
impl UnwindSafe for GpuRenderPassDescriptor
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