Esempio n. 1
0
            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;
            }
Esempio n. 2
0
 private static extern udError udRenderContext_Render(IntPtr pRenderer, IntPtr pRenderView, udRenderInstance[] pModels, int modelCount, ref udRenderSettings_Internal options);