Struct gfx_core::handle::Manager [] [src]

pub struct Manager<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: Resources> Manager<R>
[src]

[src]

Create a new handle manager

[src]

Clear all references

[src]

Extend with all references of another handle manager

[src]

Count the total number of referenced resources

[src]

Reference a buffer

[src]

Reference a shader

[src]

Reference a program

[src]

Reference a pipeline state object

[src]

Reference a texture

[src]

Reference a shader resource view

[src]

Reference an unordered access view

[src]

Reference an RTV

[src]

Reference a DSV

[src]

Reference a sampler

[src]

Reference a fence

Trait Implementations

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

[src]

Formats the value using the given formatter.