pub struct PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>where
PrepareJobEntryPointsT: PrepareJobEntryPoints<'prepare>,{ /* private fields */ }
Implementations§
source§impl<'prepare, 'entry, PrepareJobEntryPointsT> PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>where
PrepareJobEntryPointsT: PrepareJobEntryPoints<'prepare>,
impl<'prepare, 'entry, PrepareJobEntryPointsT> PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>where
PrepareJobEntryPointsT: PrepareJobEntryPoints<'prepare>,
pub fn new( prepare_context: &'entry RenderJobPrepareContext<'prepare>, frame_packet: &'entry FramePacket<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::FramePacketDataT>, submit_packet: &'entry SubmitPacket<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::SubmitPacketDataT>, view_packet: &'entry ViewPacket<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::FramePacketDataT>, view_submit_packet: &'entry ViewSubmitPacket<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::SubmitPacketDataT> ) -> PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
pub fn device_context(&self) -> &RafxDeviceContext
pub fn resource_context(&self) -> &ResourceContext
pub fn render_resources(&self) -> &ResourceMap
pub fn per_frame_data( &self ) -> &<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::FramePacketDataT as FramePacketData>::PerFrameData
pub fn per_view_data( &self ) -> &<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::FramePacketDataT as FramePacketData>::PerViewData
pub fn per_frame_submit_data( &self ) -> &<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::SubmitPacketDataT as SubmitPacketData>::PerFrameSubmitData
pub fn render_object_instances(&self) -> &[RenderObjectInstance]
pub fn render_object_instances_data( &self ) -> &AtomicOnceCellArray<<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::FramePacketDataT as FramePacketData>::RenderObjectInstanceData>
pub fn view(&self) -> &RenderView
pub fn view_packet( &self ) -> &ViewPacket<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::FramePacketDataT>
pub fn view_submit_packet( &self ) -> &ViewSubmitPacket<<PrepareJobEntryPointsT as PrepareJobEntryPoints<'prepare>>::SubmitPacketDataT>
Auto Trait Implementations§
impl<'prepare, 'entry, PrepareJobEntryPointsT> !RefUnwindSafe for PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
impl<'prepare, 'entry, PrepareJobEntryPointsT> Send for PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
impl<'prepare, 'entry, PrepareJobEntryPointsT> Sync for PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
impl<'prepare, 'entry, PrepareJobEntryPointsT> Unpin for PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
impl<'prepare, 'entry, PrepareJobEntryPointsT> !UnwindSafe for PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.