(string pchMessage)
| 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; |