Loading...
Searching...
No Matches
types.h File Reference
+ Include dependency graph for types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef TfSmallVector< VdfConnection *, 1 > VdfConnectionVector
 Type for an ordered collection of connections.
 
typedef TfSmallVector< const VdfConnection *, 1 > VdfConnectionConstVector
 Type for an ordered collection of connections.
 
typedef TfHashSet< VdfConnection *, TfHashVdfConnectionSet
 Type for an unordered set of connections.
 
typedef TfHashSet< const VdfConnection *, TfHashVdfConnectionConstSet
 Type for an unordered set of connections.
 
typedef TfHashSet< const VdfNode *, TfHashVdfNodePtrSet
 Type for an unordered set of nodes pointers.
 
typedef TfHashSet< const VdfOutput *, TfHashVdfOutputPtrSet
 Type for an unordered set of output pointers.
 
typedef TfHashSet< const VdfInput *, TfHashVdfInputPtrSet
 Type for an unordered set of input pointers.
 
typedef std::vector< const VdfInput * > VdfInputPtrVector
 Type for an ordered collection of inputs.
 
typedef std::vector< const VdfOutput * > VdfOutputPtrVector
 Type for an ordered collection of outputs.
 
typedef std::function< void(const VdfNode &)> VdfNodeCallback
 Type of callback used when processing nodes.
 
typedef std::function< std::string()> VdfNodeDebugNameCallback
 Type of callback for building a node debug name.
 
typedef unsigned int VdfInvalidationTimestamp
 Type of the timestamp that identifies the most recent round of invalidation.
 
typedef std::pair< VdfConnection *, VdfMaskVdfConnectionAndMask
 A pair of connection pointer and mask for sparse input dependency computation.
 
typedef std::vector< VdfConnectionAndMaskVdfConnectionAndMaskVector
 A vector of VdfConnectionAndMasks.
 
typedef std::function< void(const VdfOutput *, const VdfMask &)> VdfScheduledOutputCallback
 Function type to be used with ForEachScheduledOutput().
 
typedef TfHashMap< const VdfNode *, VdfOutputPtrSet, TfHashVdfNodeToOutputPtrSetMap
 A map from node pointer to VdfOutputPtrSet.
 
typedef TfHashMap< const VdfNode *, VdfInputPtrVector, TfHashVdfNodeToInputPtrVectorMap
 A map from node pointer to VdfInputPtrVector.
 
typedef TfHashMap< const VdfNode *, VdfOutputPtrVector, TfHashVdfNodeToOutputPtrVectorMap
 A map from node pointer to VdfInputPtrVector.
 
typedef std::unordered_map< const VdfOutput *, VdfMask, TfHashVdfOutputToMaskMap
 A map from output pointer to mask.
 
typedef uint64_t VdfId
 The unique identifier type for Vdf objects.
 
typedef uint32_t VdfIndex
 The index type for Vdf objects.
 
typedef uint32_t VdfVersion
 The version type for Vdf objects.
 
typedef std::vector< VdfIdVdfIdVector
 A vector of ids.
 
template<typename T >
using Vdf_DefaultInitVector = std::vector< T, Vdf_DefaultInitAllocator< T > >
 A std::vector which on resize performs default initialization instead of value initialization.
 

Functions

VDF_API bool VdfIsParallelEvaluationEnabled ()
 Returns true if single-frame parallel evaluation is enabled.
 

Typedef Documentation

◆ Vdf_DefaultInitVector

using Vdf_DefaultInitVector = std::vector<T, Vdf_DefaultInitAllocator<T> >

A std::vector which on resize performs default initialization instead of value initialization.

We use this on arrays that are first resized and then immediatelly filled with elements.

Definition at line 122 of file types.h.

◆ VdfConnectionAndMask

A pair of connection pointer and mask for sparse input dependency computation.

Definition at line 77 of file types.h.

◆ VdfConnectionAndMaskVector

A vector of VdfConnectionAndMasks.

Definition at line 80 of file types.h.

◆ VdfConnectionConstSet

typedef TfHashSet<const VdfConnection *, TfHash> VdfConnectionConstSet

Type for an unordered set of connections.

Definition at line 50 of file types.h.

◆ VdfConnectionConstVector

Type for an ordered collection of connections.

Definition at line 44 of file types.h.

◆ VdfConnectionSet

typedef TfHashSet<VdfConnection *, TfHash> VdfConnectionSet

Type for an unordered set of connections.

Definition at line 47 of file types.h.

◆ VdfConnectionVector

Type for an ordered collection of connections.

Definition at line 41 of file types.h.

◆ VdfId

typedef uint64_t VdfId

The unique identifier type for Vdf objects.

Definition at line 107 of file types.h.

◆ VdfIdVector

typedef std::vector<VdfId> VdfIdVector

A vector of ids.

Definition at line 116 of file types.h.

◆ VdfIndex

typedef uint32_t VdfIndex

The index type for Vdf objects.

Definition at line 110 of file types.h.

◆ VdfInputPtrSet

typedef TfHashSet<const VdfInput *, TfHash> VdfInputPtrSet

Type for an unordered set of input pointers.

Definition at line 59 of file types.h.

◆ VdfInputPtrVector

typedef std::vector<const VdfInput *> VdfInputPtrVector

Type for an ordered collection of inputs.

Definition at line 62 of file types.h.

◆ VdfInvalidationTimestamp

typedef unsigned int VdfInvalidationTimestamp

Type of the timestamp that identifies the most recent round of invalidation.

Definition at line 74 of file types.h.

◆ VdfNodeCallback

typedef std::function<void (const VdfNode &)> VdfNodeCallback

Type of callback used when processing nodes.

Definition at line 68 of file types.h.

◆ VdfNodeDebugNameCallback

typedef std::function<std::string()> VdfNodeDebugNameCallback

Type of callback for building a node debug name.

Definition at line 71 of file types.h.

◆ VdfNodePtrSet

typedef TfHashSet<const VdfNode *, TfHash> VdfNodePtrSet

Type for an unordered set of nodes pointers.

Definition at line 53 of file types.h.

◆ VdfNodeToInputPtrVectorMap

A map from node pointer to VdfInputPtrVector.

Definition at line 95 of file types.h.

◆ VdfNodeToOutputPtrSetMap

typedef TfHashMap<const VdfNode *, VdfOutputPtrSet, TfHash> VdfNodeToOutputPtrSetMap

A map from node pointer to VdfOutputPtrSet.

Definition at line 91 of file types.h.

◆ VdfNodeToOutputPtrVectorMap

A map from node pointer to VdfInputPtrVector.

Definition at line 99 of file types.h.

◆ VdfOutputPtrSet

typedef TfHashSet<const VdfOutput *, TfHash> VdfOutputPtrSet

Type for an unordered set of output pointers.

Definition at line 56 of file types.h.

◆ VdfOutputPtrVector

typedef std::vector<const VdfOutput *> VdfOutputPtrVector

Type for an ordered collection of outputs.

Definition at line 65 of file types.h.

◆ VdfOutputToMaskMap

typedef std::unordered_map<const VdfOutput *, VdfMask, TfHash> VdfOutputToMaskMap

A map from output pointer to mask.

Definition at line 104 of file types.h.

◆ VdfScheduledOutputCallback

typedef std::function<void (const VdfOutput *, const VdfMask &)> VdfScheduledOutputCallback

Function type to be used with ForEachScheduledOutput().

Definition at line 86 of file types.h.

◆ VdfVersion

typedef uint32_t VdfVersion

The version type for Vdf objects.

Definition at line 113 of file types.h.

Function Documentation

◆ VdfIsParallelEvaluationEnabled()

VDF_API bool VdfIsParallelEvaluationEnabled ( )

Returns true if single-frame parallel evaluation is enabled.