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 |
Destructor.
Member Function Documentation
◆ TextureId()
|
pure virtual |
Get the graphics API texture Id.
- Parameters
-
[out] _texturePtr Pointer to a texture Id
Implemented in GzCameraTextureRhiMetal, and GzCameraTextureRhiOpenGL.
◆ Update()
|
pure virtual |
Update the texture for a camera.
- Parameters
-
[in] _camera Pointer to the camera providing the texture
Implemented in GzCameraTextureRhiMetal, and GzCameraTextureRhiOpenGL.
The documentation for this class was generated from the following file: