Loading...
Searching...
No Matches
flattenedPurposeDataSourceProvider.h
1//
2// Copyright 2023 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_HD_FLATTENED_PURPOSE_DATA_SOURCE_PROVIDER_H
8#define PXR_IMAGING_HD_FLATTENED_PURPOSE_DATA_SOURCE_PROVIDER_H
9
10#include "pxr/imaging/hd/api.h"
11
12#include "pxr/imaging/hd/flattenedDataSourceProvider.h"
13
14PXR_NAMESPACE_OPEN_SCOPE
15
16class HdFlattenedPurposeDataSourceProvider :
18{
19public:
20 HD_API
21 HdContainerDataSourceHandle GetFlattenedDataSource(
22 const Context&) const override;
23
24 HD_API
25 void ComputeDirtyLocatorsForDescendants(
26 HdDataSourceLocatorSet * locators) const override;
27};
28
29PXR_NAMESPACE_CLOSE_SCOPE
30
31#endif // PXR_IMAGING_HD_FLATTENED_PURPOSE_DATA_SOURCE_PROVIDER_H
Represents a set of data source locators closed under descendancy.
Given to HdFlatteningSceneIndex to determine how to compute the flattened data source which is in the...