HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_GLDrawable Class Reference

#include <RE_GLDrawable.h>

+ Inheritance diagram for RE_GLDrawable:

Public Member Functions

 RE_GLDrawable (const QSurfaceFormat &format)
 
 RE_GLDrawable (const QSurfaceFormat &format, QWidget *parent, QOpenGLContext *sharedContext)
 
 ~RE_GLDrawable () override
 
RE_GLContextcontext ()
 
QPaintEngine * paintEngine () const override
 

Static Public Member Functions

static const char * widgetTag ()
 
static const char * drawableSurfaceTag ()
 
static const char * widgetWrapperTag ()
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 

Detailed Description

GL drawable for Qt5. It's basically a plain Qt widget that manages a GL context.

Definition at line 84 of file RE_GLDrawable.h.

Constructor & Destructor Documentation

RE_GLDrawable::RE_GLDrawable ( const QSurfaceFormat &  format)
RE_GLDrawable::RE_GLDrawable ( const QSurfaceFormat &  format,
QWidget *  parent,
QOpenGLContext *  sharedContext 
)
RE_GLDrawable::~RE_GLDrawable ( )
override

Member Function Documentation

RE_GLContext* RE_GLDrawable::context ( )
inline

Definition at line 102 of file RE_GLDrawable.h.

static const char* RE_GLDrawable::drawableSurfaceTag ( )
inlinestatic

Return the string tag used to identify whether a QWindow is used a drawable surface for Houdini.

Definition at line 112 of file RE_GLDrawable.h.

void RE_GLDrawable::mousePressEvent ( QMouseEvent *  event)
overrideprotected
QPaintEngine* RE_GLDrawable::paintEngine ( ) const
inlineoverride

Definition at line 105 of file RE_GLDrawable.h.

void RE_GLDrawable::paintEvent ( QPaintEvent *  event)
overrideprotected
void RE_GLDrawable::resizeEvent ( QResizeEvent *  event)
overrideprotected
static const char* RE_GLDrawable::widgetTag ( )
inlinestatic

Definition at line 108 of file RE_GLDrawable.h.

static const char* RE_GLDrawable::widgetWrapperTag ( )
inlinestatic

Return the string tag used to identify whether a QWidget is the wrapper widget of a GL drawable in Houdini.

Definition at line 117 of file RE_GLDrawable.h.


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