internal static _CompileShader CompileShader() { if (_CompileShaderFunc == null) { _CompileShaderFunc = (_CompileShader)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnMaterialAsset_compileShader"), typeof(_CompileShader)); } return(_CompileShaderFunc); }
internal static _CompileShader CompileShader() { if (_CompileShaderFunc == null) { _CompileShaderFunc = (_CompileShader)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnMaterialAsset_compileShader"), typeof(_CompileShader)); } return(_CompileShaderFunc); }