HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_ShaderTranslator::ActiveToken Class Reference

#include <HUSD_ShaderTranslator.h>

Public Member Functions

 ActiveToken ()
 
 ~ActiveToken ()
 

Static Public Member Functions

static bool hasActiveToken (int thread)
 

Detailed Description

Class used for marking the scope as containing an active shader translator. This allows checking if any shader translator is actively translating shader nodes to USD at the moment.

Definition at line 62 of file HUSD_ShaderTranslator.h.

Constructor & Destructor Documentation

HUSD_ShaderTranslator::ActiveToken::ActiveToken ( )
HUSD_ShaderTranslator::ActiveToken::~ActiveToken ( )

Member Function Documentation

static bool HUSD_ShaderTranslator::ActiveToken::hasActiveToken ( int  thread)
static

Returns true if there are any existing token objects live in the given thread.


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