31 #ifndef PXR_USD_IMAGING_USD_IMAGING_USD_PRIM_INFO_SCHEMA_H 32 #define PXR_USD_IMAGING_USD_IMAGING_USD_PRIM_INFO_SCHEMA_H 34 #include "pxr/usdImaging/usdImaging/api.h" 36 #include "pxr/imaging/hd/schema.h" 38 PXR_NAMESPACE_OPEN_SCOPE
42 #define USDIMAGINGUSDPRIMINFO_SCHEMA_TOKENS \ 47 (piPropagatedPrototypes) \ 53 USDIMAGINGUSDPRIMINFO_SCHEMA_TOKENS);
57 class UsdImagingUsdPrimInfoSchema :
public HdSchema 60 UsdImagingUsdPrimInfoSchema(HdContainerDataSourceHandle container)
66 HdPathDataSourceHandle GetNiPrototypePath();
68 HdBoolDataSourceHandle GetIsNiPrototype();
70 HdTokenDataSourceHandle GetSpecifier();
72 HdContainerDataSourceHandle GetPiPropagatedPrototypes();
82 static HdContainerDataSourceHandle
84 const HdPathDataSourceHandle &niPrototypePath,
85 const HdBoolDataSourceHandle &isNiPrototype,
86 const HdTokenDataSourceHandle &specifier,
87 const HdContainerDataSourceHandle &piPropagatedPrototypes
101 const HdPathDataSourceHandle &niPrototypePath);
104 const HdBoolDataSourceHandle &isNiPrototype);
107 const HdTokenDataSourceHandle &specifier);
109 Builder &SetPiPropagatedPrototypes(
110 const HdContainerDataSourceHandle &piPropagatedPrototypes);
114 HdContainerDataSourceHandle
Build();
117 HdPathDataSourceHandle _niPrototypePath;
118 HdBoolDataSourceHandle _isNiPrototype;
119 HdTokenDataSourceHandle _specifier;
120 HdContainerDataSourceHandle _piPropagatedPrototypes;
129 static UsdImagingUsdPrimInfoSchema GetFromParent(
130 const HdContainerDataSourceHandle &fromParentContainer);
147 PXR_NAMESPACE_CLOSE_SCOPE
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
Represents an object that can identify the location of a data source.
USDIMAGING_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Schema classes represent a structured view of the inherently unstructured container data source passe...