Clara Holoscan v0.3.0
1.0

Struct OverlayImageVis

struct OverlayImageVis

Public Functions

inline OverlayImageVis(const FrameData &frame_data, const GLuint &overlay_img_tex)

OverlayImageVis(const OverlayImageVis&) = delete

OverlayImageVis &operator=(const OverlayImageVis&) = delete

gxf_result_t start()

gxf_result_t tick()

gxf_result_t stop()

Public Members

const FrameData &frame_data_

const GLuint &overlay_img_tex_

GLuint vao_ = 0

GLuint sampler = 0

GLuint vertex_shader_ = 0

GLuint fragment_shader_ = 0

GLuint program_ = 0

std::string vertex_shader_file_path_

std::string fragment_shader_file_path_

size_t num_layers_

std::vector<std::vector<float>> layer_colors_

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