HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
flattenedOverlayDataSourceProvider.h
Go to the documentation of this file.
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 
13 
15 
16 /// \class HdFlattenedOverlayDataSourceProvider
17 ///
18 /// Flattens a data source by using HdOverlayContainerDataSource.
19 ///
21 {
22 public:
23  HD_API
24  HdContainerDataSourceHandle GetFlattenedDataSource(
25  const Context&) const override;
26 
27  HD_API
29  HdDataSourceLocatorSet * locators) const override;
30 };
31 
33 
34 #endif
HD_API void ComputeDirtyLocatorsForDescendants(HdDataSourceLocatorSet *locators) const override
#define HD_API
Definition: api.h:23
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
HD_API HdContainerDataSourceHandle GetFlattenedDataSource(const Context &) const override
Returns flattened data source.