MCPcopy Create free account
hub / github.com/crownengine/crown / compile

Method compile

src/resource/data_compiler.cpp:1482–1490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1480}
1481
1482bool DataCompiler::compile(const char *data_dir, const char *platform_name)
1483{
1484 profiler_globals::clear();
1485 shader_compiler::clear_metadata_cache();
1486 bool success = compile_internal(data_dir, platform_name);
1487 shader_compiler::clear_metadata_cache();
1488 profiler_globals::flush();
1489 return success;
1490}
1491
1492void DataCompiler::register_compiler(const char *type_str, u32 version, CompileFunction compiler, void *user_data)
1493{

Callers 2

console_command_compileFunction · 0.45
main_data_compilerFunction · 0.45

Calls 3

clear_metadata_cacheFunction · 0.85
flushFunction · 0.85
clearFunction · 0.50

Tested by

no test coverage detected