HDK
|
#include <rendererPluginHandle.h>
Public Member Functions | |
HdRendererPluginHandle () | |
HdRendererPluginHandle (const std::nullptr_t &) | |
HD_API | HdRendererPluginHandle (const HdRendererPluginHandle &) |
HD_API | ~HdRendererPluginHandle () |
HD_API HdRendererPluginHandle & | operator= (const HdRendererPluginHandle &) |
HD_API HdRendererPluginHandle & | operator= (const std::nullptr_t &) |
HdRendererPlugin * | Get () const |
Get the wrapped HdRendererPlugin. More... | |
HdRendererPlugin * | operator-> () const |
HdRendererPlugin & | operator* () const |
operator bool () const | |
Is the wrapped HdRendererPlugin valid? More... | |
Friends | |
class | HdRendererPluginRegistry |
class | HdRendererPlugin |
A handle for HdRendererPlugin also storing the plugin id.
Alleviates the need to ever call, e.g., ReleasePlugin since it automatically decreases and increases the plugin's reference counts with the plugin registry.
Definition at line 47 of file rendererPluginHandle.h.
|
inline |
Definition at line 50 of file rendererPluginHandle.h.
|
inline |
Definition at line 51 of file rendererPluginHandle.h.
HD_API HdRendererPluginHandle::HdRendererPluginHandle | ( | const HdRendererPluginHandle & | ) |
HD_API HdRendererPluginHandle::~HdRendererPluginHandle | ( | ) |
|
inline |
Get the wrapped HdRendererPlugin.
Definition at line 66 of file rendererPluginHandle.h.
|
inlineexplicit |
Is the wrapped HdRendererPlugin valid?
Definition at line 72 of file rendererPluginHandle.h.
|
inline |
Definition at line 69 of file rendererPluginHandle.h.
|
inline |
Definition at line 68 of file rendererPluginHandle.h.
HD_API HdRendererPluginHandle& HdRendererPluginHandle::operator= | ( | const HdRendererPluginHandle & | ) |
HD_API HdRendererPluginHandle& HdRendererPluginHandle::operator= | ( | const std::nullptr_t & | ) |
|
friend |
Definition at line 76 of file rendererPluginHandle.h.
|
friend |
Definition at line 75 of file rendererPluginHandle.h.