void AddFenceResource(FenceResource* fenceResource); void AddFenceResource(Ptr<Fence>& fence);
Add the fence pointer to an internal list of resources that needs updating after a submission. They are updated depending on the fence 'updateMethod' and calls to NotifySubmisson.
Parameters |
Description |
FenceResource* fenceResource |
The resource that requires GPU fencing. |
Ptr<Fence>& fence |
The Fence object to be updated by GPU. |