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

Function compile

src/resource/shader_resource.cpp:2979–2986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2977 };
2978
2979 s32 compile(CompileOptions &opts)
2980 {
2981 ShaderCompiler sc(opts);
2982 s32 err = sc.parse(opts.source_path(), false);
2983 ENSURE_OR_RETURN(SHADER_RESOURCE, err == 0, opts);
2984
2985 return sc.compile();
2986 }
2987
2988} // namespace shader_resource_internal
2989

Callers 1

evalMethod · 0.70

Calls 3

source_pathMethod · 0.80
parseMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected