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

#include <RE_WindowDrawable.h>

+ Inheritance diagram for RE_WindowDrawablePainter:

Public Member Functions

void beginPaintSession (RE_WindowDrawable *drawable, RE_Render *render)
 
void endPaintSession ()
 
void beginOpenGLPainting ()
 
void endOpenGLPainting ()
 

Static Public Member Functions

static
RE_WindowDrawablePaintState
currentPaintState ()
 

Detailed Description

Specialized style painter class for RE_WindowDrawable. The class manages transitioning between native Houdini (OpenGL) painting and Qt styled painting in the window drawable.

Definition at line 53 of file RE_WindowDrawable.h.

Member Function Documentation

void RE_WindowDrawablePainter::beginOpenGLPainting ( )

Switch to OpenGL painting mode. This should only be called when currently in a paint session.

void RE_WindowDrawablePainter::beginPaintSession ( RE_WindowDrawable drawable,
RE_Render render 
)

Begin a new paint session. This should only be called when not currently in a paint session.

static RE_WindowDrawablePaintState* RE_WindowDrawablePainter::currentPaintState ( )
static

Return the paint state of the current paint session. Return nullptr if there is currently no paint session.

void RE_WindowDrawablePainter::endOpenGLPainting ( )

Switch to Qt styled painting mode. This should only be called when currently in a paint session.

void RE_WindowDrawablePainter::endPaintSession ( )

End the current paint session. This should only be called when currently in a paint session.


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