pub struct RadiantRenderer { /* private fields */ }
Implementations§
Source§impl RadiantRenderer
impl RadiantRenderer
pub fn new( device: &Device, output_color_format: TextureFormat, output_depth_format: Option<TextureFormat>, msaa_samples: u32, ) -> Self
pub fn update_buffers( &mut self, device: &Device, queue: &Queue, screen_descriptor: &ScreenDescriptor, paint_jobs: &[ClippedPrimitive], )
pub fn update_texture( &mut self, device: &Device, queue: &Queue, id: TextureId, image_delta: &ImageDelta, )
pub fn render<'a>( &'a self, render_pass: &mut RenderPass<'a>, screen_descriptor: &ScreenDescriptor, paint_jobs: &'a [ClippedPrimitive], )
Auto Trait Implementations§
impl !Freeze for RadiantRenderer
impl !RefUnwindSafe for RadiantRenderer
impl Send for RadiantRenderer
impl Sync for RadiantRenderer
impl Unpin for RadiantRenderer
impl !UnwindSafe for RadiantRenderer
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