Struct rafx_framework::ResourceManager [−][src]
pub struct ResourceManager { /* fields omitted */ }
Implementations
impl ResourceManager
[src]
impl ResourceManager
[src]pub fn new(
device_context: &RafxDeviceContext,
render_registry: &RenderRegistry
) -> Self
[src]
device_context: &RafxDeviceContext,
render_registry: &RenderRegistry
) -> Self
pub fn device_context(&self) -> &RafxDeviceContext
[src]
pub fn resource_context(&self) -> ResourceContext
[src]
pub fn resources(&self) -> &ResourceLookupSet
[src]
pub fn graphics_pipeline_cache(&self) -> &GraphicsPipelineCache
[src]
pub fn dyn_command_pool_allocator(&self) -> &DynCommandPoolAllocator
[src]
pub fn create_dyn_resource_allocator_set(&self) -> DynResourceAllocatorSet
[src]
pub fn create_dyn_resource_allocator_provider(
&self
) -> DynResourceAllocatorSetProvider
[src]
&self
) -> DynResourceAllocatorSetProvider
pub fn create_descriptor_set_allocator(&self) -> DescriptorSetAllocatorRef
[src]
pub fn create_descriptor_set_allocator_provider(
&self
) -> DescriptorSetAllocatorProvider
[src]
&self
) -> DescriptorSetAllocatorProvider
pub fn render_registry(&self) -> &RenderRegistry
[src]
pub fn metrics(&self) -> ResourceManagerMetrics
[src]
pub fn on_frame_complete(&mut self) -> RafxResult<()>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResourceManager
impl Send for ResourceManager
impl Sync for ResourceManager
impl Unpin for ResourceManager
impl UnwindSafe for ResourceManager
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
[src]
impl<T> Downcast for T where
T: Any,
[src]pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]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
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Resource for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,