Library/ManagedCuda/CudaGraphicsInteropResourceCollection.cs
/// <summary>
/// Adds a new resource to the collection
/// </summary>
/// <param name="item"></param>
Adds a new resource to the collection
Adds a new resource to the collection
public void Add(ICudaGraphicsInteropResource item)
        {
            if (!_resources.Contains(item))
            _resources.Add(item);
            _CUResources.Add(item.GetCUgraphicsResource());
        }
public void Add ( ICudaGraphicsInteropResource item ) { if ( ! _resources . Contains ( item ) ) _resources . Add ( item ) ; _CUResources . Add ( item . GetCUgraphicsResource ( ) ) ; }
Adds a new resource to the collection
Adds a new resource to the collection
item
ICudaGraphicsInteropResource
None