![]() |
|
The application-facing entry point top-level entry point for accessing Hydra. More...
Public Member Functions | |
HD_API void | Execute (HdRenderIndex *index, HdTaskSharedPtrVector *tasks) |
Execute tasks. More... | |
Task Context | |
External interface to set data/state in the task context passed to each task in the render graph | |
HD_API void | SetTaskContextData (const TfToken &id, const VtValue &data) |
Adds or updates the value associated with the token. More... | |
HD_API bool | GetTaskContextData (const TfToken &id, VtValue *data) const |
If found, will return the value from the task context data associated with the token. More... | |
HD_API void | RemoveTaskContextData (const TfToken &id) |
Removes the specified token. More... | |
HD_API void | ClearTaskContextData () |
Removes all keys. More... | |
The application-facing entry point top-level entry point for accessing Hydra.
Typically the application would only create one of these.
HD_API void ClearTaskContextData | ( | ) |
Removes all keys.
HD_API void Execute | ( | HdRenderIndex * | index, |
HdTaskSharedPtrVector * | tasks | ||
) |
Execute tasks.
If found, will return the value from the task context data associated with the token.
Returns false if the data could not be found.
HD_API void RemoveTaskContextData | ( | const TfToken & | id | ) |
Removes the specified token.
Adds or updates the value associated with the token.
Only one is supported for each token.