pub struct FontAssetTypeRendererPlugin;Trait Implementations§
Source§impl RendererAssetPlugin for FontAssetTypeRendererPlugin
impl RendererAssetPlugin for FontAssetTypeRendererPlugin
fn register_asset_types( &self, asset_manager: &mut AssetManager, asset_resource: &mut AssetResource, _render_resources: &mut RenderResources, ) -> RafxResult<()>
fn plugin_name(&self) -> &'static str
fn add_asset_paths(&self, _asset_paths: &mut Vec<PathBuf>)
fn configure_render_registry( &self, render_registry: RenderRegistryBuilder, ) -> RenderRegistryBuilder
fn initialize_static_resources( &self, _renderer_load_context: &RendererLoadContext, _asset_manager: &mut AssetManager, _asset_resource: &mut ArtifactManager, _extract_resources: &ResourceRefMap<'_>, _render_resources: &mut ResourceMap, _upload: &mut RafxTransferUpload, ) -> Result<(), RafxError>
fn process_asset_loading( &self, _asset_manager: &mut AssetManager, _asset_resource: &mut ArtifactManager, _render_resources: &ResourceMap, ) -> Result<(), RafxError>
fn on_frame_complete( &self, _asset_manager: &mut AssetManager, _extract_resources: &ResourceRefMap<'_>, _render_resources: &ResourceMap, ) -> Result<(), RafxError>
fn prepare_renderer_destroy( &self, _render_resources: &ResourceMap, ) -> Result<(), RafxError>
Auto Trait Implementations§
impl Freeze for FontAssetTypeRendererPlugin
impl RefUnwindSafe for FontAssetTypeRendererPlugin
impl Send for FontAssetTypeRendererPlugin
impl Sync for FontAssetTypeRendererPlugin
impl Unpin for FontAssetTypeRendererPlugin
impl UnsafeUnpin for FontAssetTypeRendererPlugin
impl UnwindSafe for FontAssetTypeRendererPlugin
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.