setLayerAuthoringMetadata#
Fully qualified name: usdex::core::setLayerAuthoringMetadata
- void usdex::core::setLayerAuthoringMetadata(
- pxr::SdfLayerHandle layer,
- const std::string &value,
Set metadata on the
SdfLayerindicating the provenance of the data.This function stores the provided provenance information into a “creator” key of the CustomLayerData. There is no formal specification for the format of this data, but it should only to add information which can be used to track the data back to its product of origin. It should not be used to store information about the content itself, nor about the end user (PII).
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 modify
value – The provenance information for this layer