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: Resources> Producer<R> for Manager<R>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Walk through all the handles, keep ones that are reference elsewhere and call the provided delete function (resource-specific) for others Read more