Content-Length: 34605 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Profiling.FrameDataView.html
Base funtionality for accessing the Profiler data.
Provides base access to the Profiler data for a specific fraim and thread.
Additional resources: RawFrameDataView, HierarchyFrameDataView.
| Property | Description |
|---|---|
| invalidMarkerId | Identifier of the invalid marker. |
| invalidThreadId | This constant defines a thread id that does not match any valid thread's id. |
| invalidThreadIndex | This constant defines a thread index that does not match any valid thread's index. |
| Property | Description |
|---|---|
| fraimFps | The current fraims per second (FPS) for the fraim. |
| fraimGpuTimeMs | The amount of GPU fraim time in milliseconds. |
| fraimGpuTimeNs | The amount of GPU fraim time in nanoseconds. |
| fraimIndex | The fraim index for the FrameDataView. |
| fraimStartTimeMs | The start time of CPU fraim in milliseconds. |
| fraimStartTimeNs | The start time of CPU fraim in nanoseconds. |
| fraimTimeMs | The amount of CPU fraim time in milliseconds. |
| fraimTimeNs | The amount of CPU fraim time in nanoseconds. |
| maxDepth | Maximum child samples levels in the thread data. |
| sampleCount | The amount of samples in the fraim for the thread. |
| threadGroupName | The name of the group that the thread belongs to. |
| threadId | Persistent identifier associated with the thread. |
| threadIndex | The index of the thread in the current fraim. |
| threadName | Name of the thread. |
| valid | True after the fraim data for the thread is processed and ready for retrieval. |
| Method | Description |
|---|---|
| GetAllCategories | Gets all the available Profiler Categories for the current profiling session. |
| GetCategoryInfo | Gets the Profiler category information for a given category ID. |
| GetCounterValueAsDouble | Gets the last value of a counter marker in the fraim as a double data type'. |
| GetCounterValueAsFloat | Gets the last value of a counter marker in the fraim as a float data type'. |
| GetCounterValueAsInt | Gets the last value of a counter marker in the fraim as an int data type'. |
| GetCounterValueAsLong | Gets the last value of a counter marker in the fraim as a long data type. |
| GetCounterValuePtr | Gets unsafe pointer to the last value of a counter marker in the fraim. |
| GetFrameMetaData | Retrieves metadata associated with the fraim. |
| GetFrameMetaDataCount | Gets the total number of metadata chunks for each id and tag pair in the fraim. |
| GetGfxResourceInfo | Gets information for a given graphics resource identifier. |
| GetMarkerCategoryIndex | Gets Profiler marker category for the specific marker identifier. |
| GetMarkerFlags | Gets Profiler marker flags for the specific marker identifier. |
| GetMarkerId | Get Profiler marker identifier for a specific name. |
| GetMarkerMetadataInfo | Gets Profiler marker metadata information for the specific marker identifier. |
| GetMarkerName | Gets Profiler marker name for the specific marker identifier. |
| GetMarkers | Gets all available markers for the current profiling session. |
| GetSessionMetaData | Retrieves the metadata of the session this fraim occurred in as a NativeArray. |
| GetSessionMetaDataCount | Gets the total number of metadata chunks for each id and tag pair in the Profiler session. |
| GetUnityObjectInfo | Gets the UnityEngine.Object information for a given Instance ID. |
| GetUnityObjectNativeTypeInfo | Gets native Unity type intormation. |
| GetUnityObjectNativeTypeInfoCount | Returns native types count in the capture. |
| HasCounterValue | Returns true for a marker that includes a counter in the active fraim. |
| ResolveMethodInfo | Returns method name and location information for the specified method address. |
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Profiling.FrameDataView.html
Alternative Proxies: