HDK
|
#include <RE_WindowDrawable.h>
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 () |
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.
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 |
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.