Defined in File holoviz.hpp
void holoscan::viz::ReadFramebuffer(ImageFormat fmt, size_t buffer_size, CUdeviceptr device_ptr)
Read the framebuffer and store it to cuda device memory.
Can only be called outside of Begin()/End().
fmt – image format, currently only R8G8B8A8_UNORM is supported.
buffer_size – size of the storage buffer in bytes
device_ptr – pointer to Cuda device memory to store the framebuffer into