Exemplo n.º 1
0
 internal static _GetIndex GetIndex() {
     if (_GetIndexFunc == null) {
         _GetIndexFunc =
             (_GetIndex)Marshal.GetDelegateForFunctionPointer(
                 NativeLibrary.GetExport(
                     Torque3D.Torque3DLibHandle,
                     "fnGuiImageList_getIndex"), typeof(_GetIndex));
     }
     
     return _GetIndexFunc;
 }
Exemplo n.º 2
0
            internal static _GetIndex GetIndex()
            {
                if (_GetIndexFunc == null)
                {
                    _GetIndexFunc =
                        (_GetIndex)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiImageList_getIndex"), typeof(_GetIndex));
                }

                return(_GetIndexFunc);
            }