Loading...
Searching...
No Matches
sceneAdapter.h
Go to the documentation of this file.
1//
2// Copyright 2025 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_EXEC_ESF_USD_SCENE_ADAPTER_H
8#define PXR_EXEC_ESF_USD_SCENE_ADAPTER_H
9
11
12#include "pxr/pxr.h"
13
14#include "pxr/exec/esfUsd/api.h"
15
17#include "pxr/exec/esf/object.h"
18#include "pxr/exec/esf/prim.h"
20#include "pxr/exec/esf/stage.h"
21#include "pxr/usd/usd/attribute.h"
22#include "pxr/usd/usd/common.h"
23#include "pxr/usd/usd/object.h"
24#include "pxr/usd/usd/prim.h"
25#include "pxr/usd/usd/property.h"
26
27PXR_NAMESPACE_OPEN_SCOPE
28
37{
38 static ESFUSD_API
39 EsfStage AdaptStage(const UsdStageConstRefPtr &stage);
40
41 static ESFUSD_API
42 EsfStage AdaptStage(UsdStageConstRefPtr &&stage);
43
44 static ESFUSD_API
45 EsfObject AdaptObject(const UsdObject &object);
46
47 static ESFUSD_API
48 EsfObject AdaptObject(UsdObject &&object);
49
50 static ESFUSD_API
51 EsfPrim AdaptPrim(const UsdPrim &prim);
52
53 static ESFUSD_API
54 EsfPrim AdaptPrim(UsdPrim &&prim);
55
56 static ESFUSD_API
57 EsfProperty AdaptProperty(const UsdProperty &property);
58
59 static ESFUSD_API
60 EsfProperty AdaptProperty(UsdProperty &&property);
61
62 static ESFUSD_API
63 EsfAttribute AdaptAttribute(const UsdAttribute &attribute);
64
65 static ESFUSD_API
66 EsfAttribute AdaptAttribute(UsdAttribute &&attribute);
67};
68
69PXR_NAMESPACE_CLOSE_SCOPE
70
71#endif
Holds an implementation of EsfAttributeInterface in a fixed-size buffer.
Definition: attribute.h:70
Holds an implementation of EsfObjectInterface in a fixed-size buffer.
Definition: object.h:150
Holds an implementation of EsfPrimInterface in a fixed-size buffer.
Definition: prim.h:85
Holds an implementation of EsfPropertyInterface in a fixed-size buffer.
Definition: property.h:62
Holds an implementation of EsfStageInterface in a fixed-size buffer.
Definition: stage.h:108
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
Definition: attribute.h:183
Base class for Usd scenegraph objects, providing common API.
Definition: object.h:115
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Definition: prim.h:117
Base class for UsdAttribute and UsdRelationship scenegraph objects.
Definition: property.h:38
Family of static factory methods that produce abstract scene objects from USD scene objects.
Definition: sceneAdapter.h:37