HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
strengthOrdering.h File Reference
#include "pxr/pxr.h"
#include "pxr/usd/pcp/api.h"
+ Include dependency graph for strengthOrdering.h:

Go to the source code of this file.

Functions

PCP_API int PcpCompareSiblingNodeStrength (const PcpNodeRef &a, const PcpNodeRef &b)
 
PCP_API int PcpCompareNodeStrength (const PcpNodeRef &a, const PcpNodeRef &b)
 

Function Documentation

PCP_API int PcpCompareNodeStrength ( const PcpNodeRef a,
const PcpNodeRef b 
)

Compares the strength of nodes a and b. These nodes must be part of the same graph; it is a coding error if a and b do not have the same root node.

Returns -1 if a is stronger than b, 0 if a is equivalent to b, 1 if a is weaker than b

PCP_API int PcpCompareSiblingNodeStrength ( const PcpNodeRef a,
const PcpNodeRef b 
)

Compares the strength of nodes a and b. These nodes must be siblings; it is a coding error if a and b do not have the same parent node.

Returns -1 if a is stronger than b, 0 if a is equivalent to b, 1 if a is weaker than b