Library/ManagedCuda/CudaGraphicsInteropResourceCollection.cs
/// <summary>
/// Removes all resources in the collection, an disposes every element.
/// </summary>
Removes all resources in the collection, an disposes every element.
Removes all resources in the collection an disposes every element .
public void Clear()
        {
            foreach (var elem in _resources)
                elem.Dispose();
            _resources.Clear();
            _CUResources.Clear();
        }
public void Clear ( ) { foreach ( var elem in _resources ) elem . Dispose ( ) ; _resources . Clear ( ) ; _CUResources . Clear ( ) ; }
Removes all resources in the collection, an disposes every element.
Removes all resources in the collection an disposes every element .