HDK
|
#include <pluginRenderDelegateUniqueHandle.h>
Public Member Functions | |
HdPluginRenderDelegateUniqueHandle () | |
HdPluginRenderDelegateUniqueHandle (const std::nullptr_t &) | |
HD_API | HdPluginRenderDelegateUniqueHandle (HdPluginRenderDelegateUniqueHandle &&) |
Transfer ownership. More... | |
HD_API | ~HdPluginRenderDelegateUniqueHandle () |
HD_API HdPluginRenderDelegateUniqueHandle & | operator= (HdPluginRenderDelegateUniqueHandle &&) |
Transfer ownership. More... | |
HD_API HdPluginRenderDelegateUniqueHandle & | operator= (const std::nullptr_t &) |
HdRenderDelegate * | Get () const |
Get render delegate. More... | |
HdRenderDelegate * | operator-> () const |
HdRenderDelegate & | operator* () const |
operator bool () const | |
Is the wrapped HdRenderDelegate valid? More... | |
HD_API TfToken | GetPluginId () const |
Get the id of the plugin used to create render delegate. More... | |
Friends | |
class | HdRendererPlugin |
A (movable) handle for a render delegate that was created using a a plugin.
The handle owns the render delegate (render delegate is destroyed when handle is dropped). The handle also can be queried what plugin was used to create the render delegate and ensures the plugin is kept alive until the render delegate is destroyed. In other words, the handle can be used just like a std::unique_ptr.
Definition at line 30 of file pluginRenderDelegateUniqueHandle.h.
|
inline |
Definition at line 33 of file pluginRenderDelegateUniqueHandle.h.
|
inline |
Definition at line 34 of file pluginRenderDelegateUniqueHandle.h.
HD_API HdPluginRenderDelegateUniqueHandle::HdPluginRenderDelegateUniqueHandle | ( | HdPluginRenderDelegateUniqueHandle && | ) |
Transfer ownership.
HD_API HdPluginRenderDelegateUniqueHandle::~HdPluginRenderDelegateUniqueHandle | ( | ) |
|
inline |
Get render delegate.
Definition at line 54 of file pluginRenderDelegateUniqueHandle.h.
Get the id of the plugin used to create render delegate.
|
inlineexplicit |
Is the wrapped HdRenderDelegate valid?
Definition at line 60 of file pluginRenderDelegateUniqueHandle.h.
|
inline |
Definition at line 57 of file pluginRenderDelegateUniqueHandle.h.
|
inline |
Definition at line 56 of file pluginRenderDelegateUniqueHandle.h.
HD_API HdPluginRenderDelegateUniqueHandle& HdPluginRenderDelegateUniqueHandle::operator= | ( | HdPluginRenderDelegateUniqueHandle && | ) |
Transfer ownership.
HD_API HdPluginRenderDelegateUniqueHandle& HdPluginRenderDelegateUniqueHandle::operator= | ( | const std::nullptr_t & | ) |
|
friend |
Definition at line 67 of file pluginRenderDelegateUniqueHandle.h.