MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / EmitVrProfilerEvent

Method EmitVrProfilerEvent

headers/openvr_api.cs:4616–4622  ·  view source on GitHub ↗
(string pchMessage)

Source from the content-addressed store, hash-verified

4614 FnTable = (IVRDebug)Marshal.PtrToStructure(pInterface, typeof(IVRDebug));
4615 }
4616 public EVRDebugError EmitVrProfilerEvent(string pchMessage)
4617 {
4618 IntPtr pchMessageUtf8 = Utils.ToUtf8(pchMessage);
4619 EVRDebugError result = FnTable.EmitVrProfilerEvent(pchMessageUtf8);
4620 Marshal.FreeHGlobal(pchMessageUtf8);
4621 return result;
4622 }
4623 public EVRDebugError BeginVrProfilerEvent(ref ulong pHandleOut)
4624 {
4625 pHandleOut = 0;

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected