public udRenderPicking pick; // every time this is modified it will copy its contents to pPick public udRenderSettings() { internalStruct = new udRenderSettings_Internal(); pick = new udRenderPicking(); internalStruct.pPick = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(udRenderPicking))); pick.pPick = internalStruct.pPick; }
private static extern udError udRenderContext_Render(IntPtr pRenderer, IntPtr pRenderView, udRenderInstance[] pModels, int modelCount, ref udRenderSettings_Internal options);