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

                return(_GetAutoFormatBinaryExtensionFunc);
            }
示例#2
0
            internal static _GetAutoFormatBinaryExtension GetAutoFormatBinaryExtension()
            {
                if (_GetAutoFormatBinaryExtensionFunc == null)
                {
                    _GetAutoFormatBinaryExtensionFunc =
                        (_GetAutoFormatBinaryExtension)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTaml_getAutoFormatBinaryExtension"), typeof(_GetAutoFormatBinaryExtension));
                }

                return(_GetAutoFormatBinaryExtensionFunc);
            }