Loading...
Searching...
No Matches
invalidatableContainerDataSource.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_INVALIDATABLE_CONTAINER_DATA_SOURCE_H
8#define PXR_IMAGING_HD_INVALIDATABLE_CONTAINER_DATA_SOURCE_H
9
10#include "pxr/imaging/hd/api.h"
11
12#include "pxr/imaging/hd/dataSource.h"
13#include "pxr/imaging/hd/dataSourceLocator.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
23{
24public:
25 HD_DECLARE_DATASOURCE_ABSTRACT(HdInvalidatableContainerDataSource)
26
27 virtual bool Invalidate(const HdDataSourceLocatorSet &dirtyLocators) = 0;
28};
29
30HD_DECLARE_DATASOURCE_HANDLES(HdInvalidatableContainerDataSource);
31
32PXR_NAMESPACE_CLOSE_SCOPE
33
34#endif
A datasource representing structured (named, hierarchical) data, for example a geometric primitive or...
Definition: dataSource.h:99
Represents a set of data source locators closed under descendancy.
Base class for container data sources that cache data but provide a locator to invalidate the cached ...