internal static _GetAdapterShaderModel GetAdapterShaderModel() { if (_GetAdapterShaderModelFunc == null) { _GetAdapterShaderModelFunc = (_GetAdapterShaderModel)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterShaderModel"), typeof(_GetAdapterShaderModel)); } return(_GetAdapterShaderModelFunc); }
internal static _GetAdapterShaderModel GetAdapterShaderModel() { if (_GetAdapterShaderModelFunc == null) { _GetAdapterShaderModelFunc = (_GetAdapterShaderModel)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterShaderModel"), typeof(_GetAdapterShaderModel)); } return(_GetAdapterShaderModelFunc); }