예제 #1
0
            internal static _GetImageInfo GetImageInfo()
            {
                if (_GetImageInfoFunc == null)
                {
                    _GetImageInfoFunc =
                        (_GetImageInfo)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnImageAsset_getImageInfo"), typeof(_GetImageInfo));
                }

                return(_GetImageInfoFunc);
            }
예제 #2
0
            internal static _GetImageInfo GetImageInfo()
            {
                if (_GetImageInfoFunc == null)
                {
                    _GetImageInfoFunc =
                        (_GetImageInfo)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnImageAsset_getImageInfo"), typeof(_GetImageInfo));
                }

                return(_GetImageInfoFunc);
            }