Ejemplo n.º 1
0
            internal static _GetManagerCount GetManagerCount()
            {
                if (_GetManagerCountFunc == null)
                {
                    _GetManagerCountFunc =
                        (_GetManagerCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnRenderPassManager_getManagerCount"), typeof(_GetManagerCount));
                }

                return(_GetManagerCountFunc);
            }
Ejemplo n.º 2
0
            internal static _GetManagerCount GetManagerCount()
            {
                if (_GetManagerCountFunc == null)
                {
                    _GetManagerCountFunc =
                        (_GetManagerCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnRenderPassManager_getManagerCount"), typeof(_GetManagerCount));
                }

                return(_GetManagerCountFunc);
            }