7#ifndef PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_H
8#define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_H
10#include "pxr/imaging/hdGp/api.h"
11#include "pxr/imaging/hd/sceneIndex.h"
14PXR_NAMESPACE_OPEN_SCOPE
16#define HDGPGENERATIVEPROCEDURAL_TOKENS \
17 ((generativeProcedural, "hydraGenerativeProcedural")) \
18 ((resolvedGenerativeProcedural, "resolvedHydraGenerativeProcedural")) \
19 ((skippedGenerativeProcedural, "skippedHydraGenerativeProcedural")) \
20 ((proceduralType, "hdGp:proceduralType")) \
21 ((anyProceduralType, "*"))
24 HDGPGENERATIVEPROCEDURAL_TOKENS);
58 const HdSceneIndexBaseRefPtr &inputScene) = 0;
98 const HdSceneIndexBaseRefPtr &inputScene,
108 const HdSceneIndexBaseRefPtr &inputScene,
109 const SdfPath &childPrimPath) = 0;
132 virtual bool AsyncBegin(
bool asyncEnabled);
139 ContinuingWithNewChanges,
140 FinishedWithNewChanges,
171 virtual AsyncState AsyncUpdate(
180 const SdfPath &_GetProceduralPrimPath();
183 const SdfPath _proceduralPrimPath;
186PXR_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.