9#include <pxr/base/tf/declarePtrs.h>
10#include <pxr/base/tf/token.h>
11#include <pxr/imaging/hd/dataSource.h>
12#include <pxr/imaging/hd/retainedSceneIndex.h>
13#include <pxr/usd/sdf/path.h>
14#include <pxr/usd/usd/stage.h>
16PXR_NAMESPACE_OPEN_SCOPE
17class HdRenderDelegate;
18PXR_NAMESPACE_CLOSE_SCOPE
51 return a.
id ==
b.id && a.
type ==
b.type;
81 pxr::HdContainerDataSourceHandle
compose()
const;
106 pxr::HdRenderDelegate *render_delegate,
121 pxr::HdRetainedSceneIndexRefPtr retained_;
123 pxr::SdfPath root_path_;
124 pxr::HdRenderDelegate *render_delegate_ =
nullptr;
125 bool use_materialx_ =
true;
126 std::vector<pxr::TfToken> material_render_contexts_;
127 std::vector<pxr::TfToken> shader_source_types_;
147 bool object_is_supported(
const Object *
object)
const;
148 bool object_is_visible(Depsgraph *depsgraph,
pxr::HdRetainedSceneIndexRefPtr retained() const
void populate(Depsgraph *depsgraph, View3D *view3d)
HydraSceneIndex(const pxr::SdfPath &root_path, pxr::HdRenderDelegate *render_delegate, bool use_materialx)
CLG_LogRef * LOG_HYDRA_SCENE_INDEX
unsigned __int64 uint64_t
friend bool operator==(const EmittedGeometryKey &a, const EmittedGeometryKey &b)
pxr::TfToken schema_token
pxr::HdContainerDataSourceHandle geometry
pxr::HdContainerDataSourceHandle bindings
pxr::HdContainerDataSourceHandle primvars
Vector< EmittedGeometryPrim > prims
Vector< const Material * > materials
pxr::HdContainerDataSourceHandle data_source
pxr::GfMatrix4d geometry_xform
pxr::HdContainerDataSourceHandle base_data_source
pxr::HdContainerDataSourceHandle compose() const
pxr::HdContainerDataSourceHandle xform_overlay
Vector< EmittedObjectPrim > prims
Vector< const Material * > materials
Vector< EmittedGeometryKey > geometry_keys