Loading...
Searching...
No Matches
stageSceneIndexInterface.h
Go to the documentation of this file.
1//
2// Copyright 2026 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_EXEC_IMAGING_STAGE_SCENE_INDEX_INTERFACE_H
8#define PXR_USD_IMAGING_USD_EXEC_IMAGING_STAGE_SCENE_INDEX_INTERFACE_H
9
11
12#include "pxr/pxr.h"
13
15#include "pxr/imaging/hd/sceneIndex.h"
16#include "pxr/usd/usd/timeCode.h"
17
18PXR_NAMESPACE_OPEN_SCOPE
19
22
38{
39public:
41
53 virtual void SetStage(UsdStageRefPtr stage) = 0;
54
61 virtual void SetTime(UsdTimeCode time) = 0;
62
71 virtual void ApplyPendingUpdates() = 0;
72};
73
74PXR_NAMESPACE_CLOSE_SCOPE
75
76#endif
Abstract interface to scene data.
Definition sceneIndex.h:55
A scene index that provides values computed by exec.
virtual void ApplyPendingUpdates()=0
Calls PrimsDirtied for computed values that have changed due to scene changes.
virtual void SetTime(UsdTimeCode time)=0
Sets the time at which computed values are evaluated.
virtual void SetStage(UsdStageRefPtr stage)=0
Sets the USD stage.
The outermost container for scene description, which owns and presents composed prims as a scenegraph...
Definition stage.h:135
Represent a time value, which may be either numeric, holding a double value, or a sentinel value UsdT...
Definition timeCode.h:72
Standard pointer typedefs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Definition declarePtrs.h:58