Loading...
Searching...
No Matches
nodeIdentifierResolvingSceneIndex.h
1//
2// Copyright 2025 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6#ifndef PXR_IMAGING_HD_SI_NODE_IDENTIFIER_RESOLVING_SCENE_INDEX_H
7#define PXR_IMAGING_HD_SI_NODE_IDENTIFIER_RESOLVING_SCENE_INDEX_H
8
9#include "pxr/imaging/hd/materialFilteringSceneIndexBase.h"
10#include "pxr/imaging/hdsi/api.h"
11
12#include "pxr/pxr.h"
13
14PXR_NAMESPACE_OPEN_SCOPE
15
17
22{
23public:
24
29 HDSI_API
30 static
31 HdSiNodeIdentifierResolvingSceneIndexRefPtr
32 New(HdSceneIndexBaseRefPtr const &inputSceneIndex,
33 const TfToken &sourceType);
34
35 HDSI_API
37
38protected: // HdMaterialFilteringSceneIndexBase overrides
39 HDSI_API
40 FilteringFnc _GetFilteringFunction() const override;
41
42private:
44 HdSceneIndexBaseRefPtr const &inputSceneIndex,
45 const TfToken &sourceType);
46
47 TfToken _sourceType;
48};
49
50PXR_NAMESPACE_CLOSE_SCOPE
51
52#endif
Base class for implementing scene indices which read from and write to only material network data sou...
Scene index that converts the <sourceType>:sourceAsset info into a nodeType (nodeIdentifier).
static HDSI_API HdSiNodeIdentifierResolvingSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputSceneIndex, const TfToken &sourceType)
Construct a new instance of HdSiNodeIdentifierResolvingSceneIndex.
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Definition: declarePtrs.h:58