pub struct PbrRoutine {
pub opaque_routine: ForwardRoutine<PbrMaterial>,
pub cutout_routine: ForwardRoutine<PbrMaterial>,
pub blend_routine: ForwardRoutine<PbrMaterial>,
pub depth_pipelines: DepthRoutine<PbrMaterial>,
pub per_material: PerMaterialArchetypeInterface<PbrMaterial>,
}
Expand description
Render routine that renders the using PBR materials
Fields§
§opaque_routine: ForwardRoutine<PbrMaterial>
§cutout_routine: ForwardRoutine<PbrMaterial>
§blend_routine: ForwardRoutine<PbrMaterial>
§depth_pipelines: DepthRoutine<PbrMaterial>
§per_material: PerMaterialArchetypeInterface<PbrMaterial>
Implementations§
Source§impl PbrRoutine
impl PbrRoutine
pub fn new( renderer: &Renderer, data_core: &mut RendererDataCore, interfaces: &WholeFrameInterfaces, ) -> Self
Auto Trait Implementations§
impl Freeze for PbrRoutine
impl !RefUnwindSafe for PbrRoutine
impl Send for PbrRoutine
impl Sync for PbrRoutine
impl Unpin for PbrRoutine
impl !UnwindSafe for PbrRoutine
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