internal static _GetVendor GetVendor()
            {
                if (_GetVendorFunc == null)
                {
                    _GetVendorFunc =
                        (_GetVendor)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGFXCardProfilerAPI_getVendor"), typeof(_GetVendor));
                }

                return(_GetVendorFunc);
            }
Esempio n. 2
0
            internal static _GetVendor GetVendor()
            {
                if (_GetVendorFunc == null)
                {
                    _GetVendorFunc =
                        (_GetVendor)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGFXCardProfilerAPI_getVendor"), typeof(_GetVendor));
                }

                return(_GetVendorFunc);
            }