HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dataSourceLegacyPrim.h File Reference
#include "pxr/imaging/hd/api.h"
#include "pxr/imaging/hd/dataSource.h"
#include "pxr/imaging/hd/dataSourceLocator.h"
#include "pxr/usd/sdf/path.h"
#include "pxr/base/tf/staticTokens.h"
#include "pxr/base/tf/token.h"
#include "pxr/pxr.h"
#include <atomic>
+ Include dependency graph for dataSourceLegacyPrim.h:

Go to the source code of this file.

Classes

class  HdDataSourceLegacyPrim
 

Macros

#define HD_LEGACY_PRIMTYPE_TOKENS
 
#define HD_LEGACY_FLAG_TOKENS   (isLegacyInstancer)
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (HdLegacyPrimTypeTokens, HD_API, HD_LEGACY_PRIMTYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdLegacyFlagTokens, HD_API, HD_LEGACY_FLAG_TOKENS)
 
 HD_DECLARE_DATASOURCE_HANDLES (HdDataSourceLegacyPrim)
 
bool HdLegacyPrimTypeIsVolumeField (TfToken const &primType)
 

Macro Definition Documentation

#define HD_LEGACY_FLAG_TOKENS   (isLegacyInstancer)

Instancers from scene delegates ignore visibility. This fixes that usdImaging does not update the visibility of an instancer properly.

Definition at line 39 of file dataSourceLegacyPrim.h.

#define HD_LEGACY_PRIMTYPE_TOKENS
Value:
/* Bprims */ \
(openvdbAsset) \
(field3dAsset) \
(houdiniFieldAsset)

Definition at line 27 of file dataSourceLegacyPrim.h.

Function Documentation

HD_DECLARE_DATASOURCE_HANDLES ( HdDataSourceLegacyPrim  )
bool HdLegacyPrimTypeIsVolumeField ( TfToken const &  primType)
TF_DECLARE_PUBLIC_TOKENS ( HdLegacyPrimTypeTokens  ,
HD_API  ,
HD_LEGACY_PRIMTYPE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdLegacyFlagTokens  ,
HD_API  ,
HD_LEGACY_FLAG_TOKENS   
)