7#ifndef PXR_EXEC_VDF_MASKED_OUTPUT_VECTOR_H
8#define PXR_EXEC_VDF_MASKED_OUTPUT_VECTOR_H
14#include "pxr/exec/vdf/api.h"
20PXR_NAMESPACE_OPEN_SCOPE
37 size_t num = std::min<size_t>(vector.size(), 3);
39 for(
size_t i = 0; i < num; ++i) {
44 if (vector.size() > 3) {
46 hash, VdfMaskedOutput::Hash()(vector.back()));
64 const VdfMaskedOutputVector& vector);
66PXR_NAMESPACE_CLOSE_SCOPE
static size_t Combine(Args &&... args)
Produce a hash code by combining the hash codes of several objects.
A VdfNetwork is a collection of VdfNodes and their connections.
VDF_API void VdfSortAndUniqueMaskedOutputVector(VdfMaskedOutputVector *vector)
Sorts and uniques the given vector.
VDF_API const VdfNetwork * VdfGetMaskedOutputVectorNetwork(const VdfMaskedOutputVector &vector)
Returns a pointer to the network if the vector is not empty.
std::vector< VdfMaskedOutput > VdfMaskedOutputVector
A vector of VdfMaskedOutputs.
Hashing functor for VdfMaskedOutputVectors.