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

Method LoadRenderModel_Async

headers/openvr_api.cs:3941–3947  ·  view source on GitHub ↗
(string pchRenderModelName,ref IntPtr ppRenderModel)

Source from the content-addressed store, hash-verified

3939 FnTable = (IVRRenderModels)Marshal.PtrToStructure(pInterface, typeof(IVRRenderModels));
3940 }
3941 public EVRRenderModelError LoadRenderModel_Async(string pchRenderModelName,ref IntPtr ppRenderModel)
3942 {
3943 IntPtr pchRenderModelNameUtf8 = Utils.ToUtf8(pchRenderModelName);
3944 EVRRenderModelError result = FnTable.LoadRenderModel_Async(pchRenderModelNameUtf8,ref ppRenderModel);
3945 Marshal.FreeHGlobal(pchRenderModelNameUtf8);
3946 return result;
3947 }
3948 public void FreeRenderModel(IntPtr pRenderModel)
3949 {
3950 FnTable.FreeRenderModel(pRenderModel);

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected