pub struct RenderGraphFrameTarget { /* private fields */ }Expand description
Surface target and auxiliary pass configuration supplied to RenderGraph::plan_frame and RenderGraph::execute_frame.
Implementations§
Source§impl RenderGraphFrameTarget
Construction helpers for RenderGraphFrameTarget.
impl RenderGraphFrameTarget
Construction helpers for RenderGraphFrameTarget.
Source§impl RenderGraphFrameTarget
Implements impl #impl_generics #name #ty_generics #where_clause.
impl RenderGraphFrameTarget
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_clear_color(&self) -> Color
pub fn get_mut_clear_color(&mut self) -> &mut Color
pub fn set_clear_color(&mut self, val: Color) -> &mut Self
pub fn get_external_texture_handle(&self) -> usize
pub fn get_mut_external_texture_handle(&mut self) -> &mut usize
pub fn set_external_texture_handle(&mut self, val: usize) -> &mut Self
Trait Implementations§
Source§impl Clone for RenderGraphFrameTarget
impl Clone for RenderGraphFrameTarget
impl Copy for RenderGraphFrameTarget
Source§impl Debug for RenderGraphFrameTarget
impl Debug for RenderGraphFrameTarget
Source§impl Default for RenderGraphFrameTarget
impl Default for RenderGraphFrameTarget
Source§impl PartialEq for RenderGraphFrameTarget
impl PartialEq for RenderGraphFrameTarget
impl StructuralPartialEq for RenderGraphFrameTarget
Auto Trait Implementations§
impl Forget for RenderGraphFrameTarget
impl Freeze for RenderGraphFrameTarget
impl Move for RenderGraphFrameTarget
impl RefUnwindSafe for RenderGraphFrameTarget
impl Send for RenderGraphFrameTarget
impl Sync for RenderGraphFrameTarget
impl Unpin for RenderGraphFrameTarget
impl UnsafeUnpin for RenderGraphFrameTarget
impl UnwindSafe for RenderGraphFrameTarget
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