Gazebo Gui

API Reference

7.2.2
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. More...
 
virtual void TextureId (void *_texturePtr)=0
 Get the graphics API texture Id. More...
 
virtual void Update (rendering::CameraPtr _camera)=0
 Update the texture for a camera. More...
 

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.

Constructor & Destructor Documentation

◆ ~GzCameraTextureRhi()

virtual ~GzCameraTextureRhi ( )
virtual

Destructor.

Member Function Documentation

◆ TextureId()

virtual void TextureId ( void *  _texturePtr)
pure virtual

Get the graphics API texture Id.

Parameters
[out]_texturePtrPointer to a texture Id

Implemented in GzCameraTextureRhiMetal, and GzCameraTextureRhiOpenGL.

◆ 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, and GzCameraTextureRhiOpenGL.


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