Loading...
Searching...
No Matches
builtinComputations.h
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_EXEC_BUILTIN_COMPUTATIONS_H
8#define PXR_EXEC_EXEC_BUILTIN_COMPUTATIONS_H
9
10#include "pxr/pxr.h"
11
12#include "pxr/exec/exec/api.h"
13
15#include "pxr/base/tf/token.h"
16
17#include <vector>
18
19PXR_NAMESPACE_OPEN_SCOPE
20
34struct Exec_BuiltinComputations
35{
36 EXEC_API
37 Exec_BuiltinComputations();
38
46
67
69
70
77
100
102
103
105 const std::vector<TfToken> &GetComputationTokens();
106
108 static constexpr char builtinComputationNamePrefix[] = "__";
109};
110
111// Used to publicly access builtin computation tokens.
112EXEC_API
113extern TfStaticData<Exec_BuiltinComputations> ExecBuiltinComputations;
114
115PXR_NAMESPACE_CLOSE_SCOPE
116
117#endif
Create or return a previously created object instance of global data.
Definition: staticData.h:96
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
const TfToken computeValue
Computes the provider attribute's value.
const TfToken computeTime
Computes the current time on the stage.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...