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

Method GetResourceFullPath

headers/openvr_api.cs:4286–4294  ·  view source on GitHub ↗
(string pchResourceName,string pchResourceTypeDirectory,System.Text.StringBuilder pchPathBuffer,uint unBufferLen)

Source from the content-addressed store, hash-verified

4284 return result;
4285 }
4286 public uint GetResourceFullPath(string pchResourceName,string pchResourceTypeDirectory,System.Text.StringBuilder pchPathBuffer,uint unBufferLen)
4287 {
4288 IntPtr pchResourceNameUtf8 = Utils.ToUtf8(pchResourceName);
4289 IntPtr pchResourceTypeDirectoryUtf8 = Utils.ToUtf8(pchResourceTypeDirectory);
4290 uint result = FnTable.GetResourceFullPath(pchResourceNameUtf8,pchResourceTypeDirectoryUtf8,pchPathBuffer,unBufferLen);
4291 Marshal.FreeHGlobal(pchResourceNameUtf8);
4292 Marshal.FreeHGlobal(pchResourceTypeDirectoryUtf8);
4293 return result;
4294 }
4295}
4296
4297

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected