Context is a class to manage an OpenGL or Vulkan context.
More...
#include <Context.h>
Context is a class to manage an OpenGL or Vulkan context.
Definition at line 111 of file Context.h.
◆ Context() [1/2]
gVirtualXRay::Context::Context |
( |
| ) |
|
◆ Context() [2/2]
gVirtualXRay::Context::Context |
( |
const std::string & |
aRenderer, |
|
|
int |
aRendererMajorVersion, |
|
|
int |
aRendererMinorVersion |
|
) |
| |
◆ ~Context()
gVirtualXRay::Context::~Context |
( |
| ) |
|
◆ create()
void gVirtualXRay::Context::create |
( |
const std::string & |
aRenderer = "OpenGL" , |
|
|
int |
aRendererMajorVersion = 3 , |
|
|
int |
aRendererMinorVersion = 2 |
|
) |
| |
◆ createGLWithEGL()
void gVirtualXRay::Context::createGLWithEGL |
( |
| ) |
|
|
protected |
Create an OpenGL context using EGL.
◆ createGLWithGLFW()
void gVirtualXRay::Context::createGLWithGLFW |
( |
int |
aVisibilityFlag = 0 | ) |
|
|
protected |
Create an OpenGL context using GLFW.
◆ createGLWithGLX()
void gVirtualXRay::Context::createGLWithGLX |
( |
| ) |
|
|
protected |
Create an OpenGL context using GLX.
◆ createVulkanWithGLFW()
void gVirtualXRay::Context::createVulkanWithGLFW |
( |
int |
aVisibilityFlag = 0 | ) |
|
|
protected |
Create a Vulkan context using GLFW.
◆ destroy()
void gVirtualXRay::Context::destroy |
( |
| ) |
|
◆ findEGLClients()
static std::vector<std::string> gVirtualXRay::Context::findEGLClients |
( |
| ) |
|
|
static |
Accessor on the list of supported EGL clients.
◆ getNumberOfEGLDevices()
static unsigned int gVirtualXRay::Context::getNumberOfEGLDevices |
( |
| ) |
|
|
static |
Accessor on the number of EGL devices.
◆ getWindowHandle() [1/2]
GLFWwindow* gVirtualXRay::Context::getWindowHandle |
( |
| ) |
|
◆ getWindowHandle() [2/2]
const GLFWwindow* gVirtualXRay::Context::getWindowHandle |
( |
| ) |
const |
◆ isReady()
bool gVirtualXRay::Context::isReady |
( |
| ) |
const |
◆ release()
void gVirtualXRay::Context::release |
( |
| ) |
|
◆ m_major_version
int gVirtualXRay::Context::m_major_version |
|
protected |
◆ m_minor_version
int gVirtualXRay::Context::m_minor_version |
|
protected |
◆ m_p_window
GLFWwindow* gVirtualXRay::Context::m_p_window |
|
protected |
◆ m_ready
bool gVirtualXRay::Context::m_ready |
|
protected |
◆ m_renderer
std::string gVirtualXRay::Context::m_renderer |
|
protected |
The documentation for this class was generated from the following file:
- /home/fpvidal/PROGRAMMING/RELEASE/gVirtualXray-2.0.10-Source/gvxr/include/gVirtualXRay/Context.h