All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdRendererPluginHandle Class Referencefinal

A handle for HdRendererPlugin also storing the plugin id. More...

Public Member Functions

 HdRendererPluginHandle (const std::nullptr_t &)
 
HD_API HdRendererPluginHandle (const HdRendererPluginHandle &)
 
HD_API HdRendererPluginHandleoperator= (const HdRendererPluginHandle &)
 
HD_API HdRendererPluginHandleoperator= (const std::nullptr_t &)
 
HdRendererPluginGet () const
 Get the wrapped HdRendererPlugin. More...
 
HdRendererPluginoperator-> () const
 
HdRendererPluginoperator* () const
 
 operator bool () const
 Is the wrapped HdRendererPlugin valid? More...
 

Friends

class HdRendererPluginRegistry
 
class HdRendererPlugin
 

Detailed Description

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.

Member Function Documentation

HdRendererPlugin* Get ( ) const
inline

Get the wrapped HdRendererPlugin.

Definition at line 66 of file rendererPluginHandle.h.

operator bool ( ) const
inlineexplicit

Is the wrapped HdRendererPlugin valid?

Definition at line 72 of file rendererPluginHandle.h.


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