Class OpenGLRenderer

class OpenGLRenderer : public gxf::Codelet

Visualization codelet using OpenGL and GLFW for display.

Provides a codelet that renders a VideoBuffer to an OpenGL texture leveraging OpenGL/CUDA interoperation. The texture is mapped to a full screen quad with simple GLSL shaders to render the texture.

Public Functions


gxf_result_t start() override

gxf_result_t tick() override

gxf_result_t stop() override

gxf_result_t registerInterface(gxf::Registrar *registrar) override

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