Struct gfx::handle::Manager []

pub struct Manager<R> where
    R: Resources
{ /* fields omitted */ }

Stores reference-counted resources used in a command buffer. Seals actual resource names behind the interface, automatically referencing them both by the Factory on resource creation and the Renderer during CommandBuffer population.

Methods

impl<R> Manager<R> where
    R: Resources

Create a new handle manager

Clear all references

Extend with all references of another handle manager

Count the total number of referenced resources

Reference a buffer

Reference a shader

Reference a program

Reference a pipeline state object

Reference a texture

Reference a shader resource view

Reference an unordered access view

Reference an RTV

Reference a DSV

Reference a sampler

Reference a fence

Trait Implementations

impl<R> Debug for Manager<R> where
    R: Resources + Debug,
    R::Shader: Debug,
    R::PipelineStateObject: Debug,
    R::ShaderResourceView: Debug,
    R::UnorderedAccessView: Debug,
    R::RenderTargetView: Debug,
    R::DepthStencilView: Debug,
    R::Sampler: Debug,
    R::Fence: Debug

Formats the value using the given formatter.