Loading...
Searching...
No Matches
flattenedMaterialBindingsDataSourceProvider.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_USD_IMAGING_USD_IMAGING_FLATTENED_MATERIAL_BINDINGS_DATA_SOURCE_PROVIDER_H
8#define PXR_USD_IMAGING_USD_IMAGING_FLATTENED_MATERIAL_BINDINGS_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 UsdImagingFlattenedMaterialBindingsDataSourceProvider
18{
19 HD_API
20 HdContainerDataSourceHandle GetFlattenedDataSource(
21 const Context&) const override;
22
23 HD_API
25 HdDataSourceLocatorSet * locators) const override;
26};
27
28PXR_NAMESPACE_CLOSE_SCOPE
29
30#endif // PXR_USD_IMAGING_USD_IMAGING_FLATTENED_MATERIAL_BINDINGS_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...
virtual void ComputeDirtyLocatorsForDescendants(HdDataSourceLocatorSet *locators) const =0
If data source locators are dirtied in the input scene index, the locators relevant for the input dat...
virtual HdContainerDataSourceHandle GetFlattenedDataSource(const Context &ctx) const =0
Returns flattened data source.