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, ) -> RadiantRenderer
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 !UnwindSafe for RadiantRenderer
impl Send for RadiantRenderer
impl Sync for RadiantRenderer
impl Unpin for RadiantRenderer
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more