internal static _LoadFromPath LoadFromPath()
            {
                if (_LoadFromPathFunc == null)
                {
                    _LoadFromPathFunc =
                        (_LoadFromPath)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEditorIconRegistry_loadFromPath"), typeof(_LoadFromPath));
                }

                return(_LoadFromPathFunc);
            }
示例#2
0
            internal static _LoadFromPath LoadFromPath()
            {
                if (_LoadFromPathFunc == null)
                {
                    _LoadFromPathFunc =
                        (_LoadFromPath)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEditorIconRegistry_loadFromPath"), typeof(_LoadFromPath));
                }

                return(_LoadFromPathFunc);
            }