Loading...
Searching...
No Matches
flattenedOverlayDataSourceProvider.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_OVERLAY_DATA_SOURCE_PROVIDER_H
8#define PXR_IMAGING_HD_FLATTENED_OVERLAY_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
20class HdFlattenedOverlayDataSourceProvider : public HdFlattenedDataSourceProvider
21{
22public:
23 HD_API
24 HdContainerDataSourceHandle GetFlattenedDataSource(
25 const Context&) const override;
26
27 HD_API
28 void ComputeDirtyLocatorsForDescendants(
29 HdDataSourceLocatorSet * locators) const override;
30};
31
32PXR_NAMESPACE_CLOSE_SCOPE
33
34#endif
Represents a set of data source locators closed under descendancy.
Flattens a data source by using HdOverlayContainerDataSource.