Namespace: Rx::LFR – Class: CudaUploadQueue – Header: Rx.LFR/CudaUploadQueue.h

CudaUploadQueue::ConsumeImage Method

C++
bool ConsumeImage(Rx::LFR::CCudaCompute& cudaCompute)

Consumes an available image by uploading it into the given CUDA compute instance.

Parameters

[Rx::LFR::CCudaCompute&] cudaCompute

[in,out] The CUDA compute instance used for uploading.

Returns

bool

True if it succeeds, false if the consumer queue is empty.