NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Function holoscan::viz::Init(uint32_t, uint32_t, const char *, InitFlags, const char *)

void holoscan::viz::Init(uint32_t width, uint32_t height, const char *title, InitFlags flags = InitFlags::NONE, const char *display_name = nullptr)

Initialize Holoviz.

This creates a window using the given width and height and sets the title.

Parameters
  • width – desired width

  • height – desired height

  • title – window title

  • flags – init flags

  • display_name – if the FULLSCREEN init flag is specified, this is the name of the display to use for full screen mode. Use the output name provided by xrandr or hwinfo --monitor. If nullptr then the primary display is selected.

Previous Function holoscan::viz::Init(GLFWwindow *, InitFlags)
Next Function holoscan::viz::Init(const char *, uint32_t, uint32_t, uint32_t, InitFlags)
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.