Gazebo Gui

API Reference

9.0.0~pre1
GzCameraTextureRhi Class Referenceabstract

Render interface class to handle OpenGL / Metal compatibility of camera textures in GzRenderer. More...

#include <MinimalSceneRhi.hh>

Public Member Functions

virtual ~GzCameraTextureRhi ()
 Destructor.
 
virtual void Update (rendering::CameraPtr _camera)=0
 Update the texture for a camera.
 

Detailed Description

Render interface class to handle OpenGL / Metal compatibility of camera textures in GzRenderer.

Each supported graphics API must implement this interface to provide access to the underlying render system's texture.

TODO(anyone): This class doesn't seem to be doing anything at all Anyone should try to remove it, and if nothing bad happens (on Ubuntu & macOS) it should be deprecated and removed

Constructor & Destructor Documentation

◆ ~GzCameraTextureRhi()

virtual ~GzCameraTextureRhi ( )
virtual

Destructor.

Member Function Documentation

◆ Update()

virtual void Update ( rendering::CameraPtr  _camera)
pure virtual

Update the texture for a camera.

Parameters
[in]_cameraPointer to the camera providing the texture

Implemented in GzCameraTextureRhiMetal, GzCameraTextureRhiOpenGL, and GzCameraTextureRhiVulkan.


The documentation for this class was generated from the following file: