hasLayerAuthoringMetadata#

Fully qualified name: usdex::core::hasLayerAuthoringMetadata

bool usdex::core::hasLayerAuthoringMetadata(
const pxr::SdfLayerHandle layer,
)#

Check if the SdfLayer has metadata indicating the provenance of the data.

Checks the CustomLayerData for a “creator” key.

Note

This metadata is strictly informational, it is not advisable to drive runtime behavior from this metadata. In the future, the “creator” key may change, or a more formal specification for data provenance may emerge.

Parameters:

layer – The layer to check