IImageResource::inUse - dpw105f18/papago-api GitHub Wiki
Check if resource is in use by the GPU
bool IImageResource::inUse()
Checks whether the image is currently in use by the GPU. This should be called before uploading data to the image to make sure not to corrupt the data while the GPU is using it.
An image is considered 'in use' when it is used in a render pass and that render pass and associated commands are being executed on the GPU.
Returns
true if the resource is currently in use; otherwise, false