Struct gfx::handle::Manager [] [src]

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
[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 for Manager<R> where
    R: Resources + Debug,
    <R as Resources>::Shader: Debug,
    <R as Resources>::PipelineStateObject: Debug,
    <R as Resources>::ShaderResourceView: Debug,
    <R as Resources>::UnorderedAccessView: Debug,
    <R as Resources>::RenderTargetView: Debug,
    <R as Resources>::DepthStencilView: Debug,
    <R as Resources>::Sampler: Debug,
    <R as Resources>::Fence: Debug
[src]

[src]

Formats the value using the given formatter.