|
MaterialX 1.38.2
|
Generic wrapper for encapsulating a "window" construct. More...
#include <WindowWrapper.h>
Public Member Functions | |
| ExternalWindowHandle | externalHandle () const |
| Return "external" handle. | |
| InternalWindowHandle | internalHandle () const |
| Return "internal" handle. | |
| bool | isValid () const |
| Check that there is a valid OS handle set. More... | |
| void | release () |
| Release resources stored in wrapper. | |
Static Public Member Functions | |
| static WindowWrapperPtr | create (ExternalWindowHandle externalHandle={}, InternalWindowHandle internalHandle={}, DisplayHandle display={}) |
| Create a new WindowWrapper. | |
Protected Member Functions | |
| WindowWrapper (ExternalWindowHandle externalHandle, InternalWindowHandle internalHandle, DisplayHandle display) | |
Protected Attributes | |
| ExternalWindowHandle | _externalHandle |
| InternalWindowHandle | _internalHandle |
Generic wrapper for encapsulating a "window" construct.
Each supported platform will have specific storage and management logic.
|
inline |
Check that there is a valid OS handle set.
It is sufficient to just check the internal handle.