示例#1
0
文件: Taml.cs 项目: lukaspj/T3DSharp
            internal static _GetFormat GetFormat()
            {
                if (_GetFormatFunc == null)
                {
                    _GetFormatFunc =
                        (_GetFormat)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTaml_getFormat"), typeof(_GetFormat));
                }

                return(_GetFormatFunc);
            }
示例#2
0
            internal static _GetFormat GetFormat()
            {
                if (_GetFormatFunc == null)
                {
                    _GetFormatFunc =
                        (_GetFormat)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTaml_getFormat"), typeof(_GetFormat));
                }

                return(_GetFormatFunc);
            }