id | 项目或包标识符。 |
tag | 数据流索引。 |
int Returns count of metadata chunks.
获取帧中每个 ID 和标签 对的元数据块总数。
Use the GetSessionMetaDataCount method to retrieve the total number of metadata arrays available in this session.
When there are multiple Profiler.EmitFrameMetaData calls in the same frame, it results in multiple metadata arrays that are associated with the frame for a given id, tag pair. This information can be used to write data to the stream in small portions, which reduces the amount of memory needed to hold generated data.
使用 ID 标识来自项目或包的元数据。
使用 tag 区分不同数据流。
另请参阅:GetFrameMetaData、Profiler.EmitFrameMetaData。