7#ifndef PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_H
8#define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_H
11#include "pxr/imaging/hdGp/api.h"
12#include "pxr/imaging/hd/sceneIndex.h"
15PXR_NAMESPACE_OPEN_SCOPE
17#define HDGPGENERATIVEPROCEDURAL_TOKENS \
18 ((generativeProcedural, "hydraGenerativeProcedural")) \
19 ((resolvedGenerativeProcedural, "resolvedHydraGenerativeProcedural")) \
20 ((skippedGenerativeProcedural, "skippedHydraGenerativeProcedural")) \
21 ((proceduralType, "hdGp:proceduralType")) \
22 ((anyProceduralType, "*"))
25 HDGPGENERATIVEPROCEDURAL_TOKENS);
60 const HdSceneIndexBaseRefPtr &inputScene) = 0;
101 const HdSceneIndexBaseRefPtr &inputScene,
112 const HdSceneIndexBaseRefPtr &inputScene,
113 const SdfPath &childPrimPath) = 0;
138 virtual bool AsyncBegin(
bool asyncEnabled);
144 ContinuingWithNewChanges,
145 FinishedWithNewChanges,
177 virtual AsyncState AsyncUpdate(
184 const SdfPath &_GetProceduralPrimPath();
187 const SdfPath _proceduralPrimPath;
190PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
HdGpGenerativeProcedural is the base class for procedurals which have full access to an input scene i...
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Small struct representing a 'prim' in the Hydra scene index.