pub struct PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT: PrepareJobEntryPoints<'prepare>> { /* private fields */ }Implementations§
Source§impl<'prepare, 'entry, PrepareJobEntryPointsT: PrepareJobEntryPoints<'prepare>> PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
impl<'prepare, 'entry, PrepareJobEntryPointsT: PrepareJobEntryPoints<'prepare>> PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
pub fn new( prepare_context: &'entry RenderJobPrepareContext<'prepare>, frame_packet: &'entry FramePacket<PrepareJobEntryPointsT::FramePacketDataT>, submit_packet: &'entry SubmitPacket<PrepareJobEntryPointsT::SubmitPacketDataT>, view_packet: &'entry ViewPacket<PrepareJobEntryPointsT::FramePacketDataT>, view_submit_packet: &'entry ViewSubmitPacket<PrepareJobEntryPointsT::SubmitPacketDataT>, ) -> Self
pub fn device_context(&self) -> &RafxDeviceContext
pub fn resource_context(&self) -> &ResourceContext
pub fn render_resources(&self) -> &RenderResources
pub fn per_frame_data( &self, ) -> &<PrepareJobEntryPointsT::FramePacketDataT as FramePacketData>::PerFrameData
pub fn per_view_data( &self, ) -> &<PrepareJobEntryPointsT::FramePacketDataT as FramePacketData>::PerViewData
pub fn per_frame_submit_data( &self, ) -> &<PrepareJobEntryPointsT::SubmitPacketDataT as SubmitPacketData>::PerFrameSubmitData
pub fn render_object_instances(&self) -> &[RenderObjectInstance]
pub fn render_object_instances_data( &self, ) -> &AtomicOnceCellArray<<PrepareJobEntryPointsT::FramePacketDataT as FramePacketData>::RenderObjectInstanceData>
pub fn view(&self) -> &RenderView
pub fn view_packet( &self, ) -> &ViewPacket<PrepareJobEntryPointsT::FramePacketDataT>
pub fn view_submit_packet( &self, ) -> &ViewSubmitPacket<PrepareJobEntryPointsT::SubmitPacketDataT>
Auto Trait Implementations§
impl<'prepare, 'entry, PrepareJobEntryPointsT> Freeze for PreparePerViewContext<'prepare, 'entry, PrepareJobEntryPointsT>
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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.Source§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.Source§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.Source§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.