Clara Holoscan v0.3.0
1.0

Function clara::holoviz::ImageCudaDevice

void clara::holoviz::ImageCudaDevice(uint32_t width, uint32_t height, ImageFormat fmt, CUdeviceptr device_ptr)

Defines the image data for this layer, source is Cuda device memory.

If the image has a alpha value it’s multiplied with the layer opacity.

Parameters:
  • width – width of the image

  • height – height of the image

  • fmt – image format

  • device_ptr – Cuda device memory pointer

© Copyright 2022, NVIDIA. Last updated on Jun 28, 2023.