MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SaveCache

Method SaveCache

Source/Editor/Cooker/Platform/Web/WebPlatformTools.cpp:115–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115Array<byte> WebPlatformTools::SaveCache(CookingData& data, IBuildCache* cache)
116{
117 const auto platformSettings = WebPlatformSettings::Get();
118 WebPlatformCache platformCache;
119 platformCache.TexturesCompression = platformSettings->TexturesCompression;
120 Array<byte> result;
121 result.Add((const byte*)&platformCache, sizeof(platformCache));
122 return result;
123}
124
125bool WebPlatformTools::IsNativeCodeFile(CookingData& data, const String& file)
126{

Callers 1

SaveMethod · 0.45

Calls 2

GetFunction · 0.50
AddMethod · 0.45

Tested by

no test coverage detected