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

#include <RE_WindowDrawable.h>

+ Inheritance diagram for RE_WindowDrawable:

Public Member Functions

 RE_WindowDrawable (const QSurfaceFormat &format)
 
 RE_WindowDrawable (const QSurfaceFormat &format, QWidget *parent, QOpenGLContext *sharedContext)
 
 ~RE_WindowDrawable () override
 
void setREWindow (RE_Window *window)
 
RE_WindowDrawablePainterpainter ()
 Return the Painter used to paint the contents of the drawable. More...
 

Static Public Member Functions

static const char * widgetTag ()
 
static const char * drawableSurfaceTag ()
 
static const char * widgetWrapperTag ()
 
static bool shouldDrawNewUI ()
 Return true if the new UI skin should be drawn. More...
 

Protected Member Functions

void initializeGL () override
 
void paintGL () override
 
void resizeGL (int w, int h) override
 

Detailed Description

Window drawable. It currently uses an OpenGL backend via QOpenGLWidget.

Definition at line 185 of file RE_WindowDrawable.h.

Constructor & Destructor Documentation

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

Member Function Documentation

static const char* RE_WindowDrawable::drawableSurfaceTag ( )
inlinestatic

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

Definition at line 202 of file RE_WindowDrawable.h.

void RE_WindowDrawable::initializeGL ( )
overrideprotected
RE_WindowDrawablePainter& RE_WindowDrawable::painter ( )

Return the Painter used to paint the contents of the drawable.

void RE_WindowDrawable::paintGL ( )
overrideprotected
void RE_WindowDrawable::resizeGL ( int  w,
int  h 
)
overrideprotected
void RE_WindowDrawable::setREWindow ( RE_Window window)

Assign the drawable to the given window. The given drawable will be used to render the contents of the window.

static bool RE_WindowDrawable::shouldDrawNewUI ( )
static

Return true if the new UI skin should be drawn.

static const char* RE_WindowDrawable::widgetTag ( )
inlinestatic

Definition at line 198 of file RE_WindowDrawable.h.

static const char* RE_WindowDrawable::widgetWrapperTag ( )
inlinestatic

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

Definition at line 207 of file RE_WindowDrawable.h.


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