Workspace 6.21.5
Namespaces | Macros | Functions
opengl.h File Reference
#include <QCoreApplication>
#include <QtGlobal>
#include <QOpenGLExtensions>
#include <QOpenGLFunctions>
#include "Rendering/rendering_api.h"
Include dependency graph for opengl.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Rendering
 Rendering of meshed models.
 

Macros

#define GL_MAX_SAMPLES   0x8D57
 
#define WSGL_GOOD_STATE()   wsglGoodState()
 

Functions

bool wsglGoodFramebufferState ()
 
bool wsglGoodState ()
 
bool wsglGoodState (const char *file, int line)
 

Detailed Description

This file is designed to be included as a replacement for any QtOpenGL headers. It contains functions that abstract away various pieces of the OpenGL API so that the rendering plugin can be compiled on platforms that support different levels of OpenGL functionality.

Any and all extensions will be exposed from here (either via 1 - 1 proxy functions or higher level functions encapsulating them).

Macro Definition Documentation

◆ GL_MAX_SAMPLES

#define GL_MAX_SAMPLES   0x8D57

◆ WSGL_GOOD_STATE

#define WSGL_GOOD_STATE ( )    wsglGoodState()