HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
firstValidInputValue.h File Reference
+ Include dependency graph for firstValidInputValue.h:

Go to the source code of this file.

Functions

template<typename Type >
PXR_NAMESPACE_OPEN_SCOPE Type EfGetFirstValidInputValue (const VdfContext &context)
 

Function Documentation

template<typename Type >
PXR_NAMESPACE_OPEN_SCOPE Type EfGetFirstValidInputValue ( const VdfContext context)

A function that may be used as a callback (or in a callback) to return the first valid input value.

This will iterate over the inputs in the order they have been registered and return the value of the first valid input, i.e. the first input that provides a value. If no valid input value exists, return the fallback value for TYPE.

Definition at line 33 of file firstValidInputValue.h.