VTK
9.5.20250811
|
Base class for EGL configuration. More...
#include <vtkEGLConfig.h>
Public Member Functions | |
vtkEGLConfig ()=default | |
virtual | ~vtkEGLConfig ()=default |
virtual void | SetOnscreenRendering (bool onscreenRendering) |
Set the onscreen rendering flag. | |
virtual EGLenum | GetPlatform ()=0 |
Get the platform type. | |
virtual void * | GetDisplay ()=0 |
Get the display object. | |
virtual void | CreateWindowSurface (EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height)=0 |
Create an EGL window surface. | |
virtual void | CreateContext (EGLContext &context, EGLDisplay display, EGLConfig config)=0 |
Create an EGL context. | |
Protected Attributes | |
bool | OnscreenRendering = false |
Base class for EGL configuration.
This class is used to create EGL configurations for different platforms (e.g., Android, Wayland). It provides a common interface for creating EGL surfaces and contexts, as well as retrieving display information.
Definition at line 22 of file vtkEGLConfig.h.
|
default |
|
virtualdefault |
|
virtual |
Set the onscreen rendering flag.
Default is false.
Reimplemented in vtkEGLAndroidConfig, and vtkEGLXConfig.
|
pure virtual |
Get the platform type.
Implemented in vtkEGLAndroidConfig, vtkEGLWaylandConfig, and vtkEGLXConfig.
|
pure virtual |
Get the display object.
Implemented in vtkEGLAndroidConfig, vtkEGLWaylandConfig, and vtkEGLXConfig.
|
pure virtual |
Create an EGL window surface.
Implemented in vtkEGLAndroidConfig, vtkEGLWaylandConfig, and vtkEGLXConfig.
|
pure virtual |
Create an EGL context.
Implemented in vtkEGLAndroidConfig, vtkEGLWaylandConfig, and vtkEGLXConfig.
|
protected |
Definition at line 58 of file vtkEGLConfig.h.