예제 #1
0
            internal static _GetImagePath GetImagePath()
            {
                if (_GetImagePathFunc == null)
                {
                    _GetImagePathFunc =
                        (_GetImagePath)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnImageAsset_getImagePath"), typeof(_GetImagePath));
                }

                return(_GetImagePathFunc);
            }
예제 #2
0
            internal static _GetImagePath GetImagePath()
            {
                if (_GetImagePathFunc == null)
                {
                    _GetImagePathFunc =
                        (_GetImagePath)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnImageAsset_getImagePath"), typeof(_GetImagePath));
                }

                return(_GetImagePathFunc);
            }