pub struct ForwardPassDrawArgs<'rpass, 'b> {
pub device: &'b Device,
pub profiler: &'b mut GpuProfiler,
pub rpass: &'b mut RenderPass<'rpass>,
pub materials: &'rpass MaterialManager,
pub meshes: &'rpass MeshBuffers,
pub samplers: &'rpass Samplers,
pub directional_light_bg: &'rpass BindGroup,
pub texture_bg: ModeData<(), &'rpass BindGroup>,
pub shader_uniform_bg: &'rpass BindGroup,
pub culled_objects: &'rpass CulledObjectSet,
}Fields§
§device: &'b Device§profiler: &'b mut GpuProfiler§rpass: &'b mut RenderPass<'rpass>§materials: &'rpass MaterialManager§meshes: &'rpass MeshBuffers§samplers: &'rpass Samplers§directional_light_bg: &'rpass BindGroup§texture_bg: ModeData<(), &'rpass BindGroup>§shader_uniform_bg: &'rpass BindGroup§culled_objects: &'rpass CulledObjectSetAuto Trait Implementations§
impl<'rpass, 'b> Freeze for ForwardPassDrawArgs<'rpass, 'b>
impl<'rpass, 'b> !RefUnwindSafe for ForwardPassDrawArgs<'rpass, 'b>
impl<'rpass, 'b> Send for ForwardPassDrawArgs<'rpass, 'b>
impl<'rpass, 'b> !Sync for ForwardPassDrawArgs<'rpass, 'b>
impl<'rpass, 'b> Unpin for ForwardPassDrawArgs<'rpass, 'b>
impl<'rpass, 'b> !UnwindSafe for ForwardPassDrawArgs<'rpass, 'b>
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