MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / ShaderCompiler

Method ShaderCompiler

ZEngine/src/ShaderCompiler.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 std::unordered_map<std::string, std::vector<ShaderInformation>> ShaderCompiler::s_already_compiled_shaders_collection;
9
10 ShaderCompiler::ShaderCompiler() {
11 m_reader = std::make_unique<ShaderReader>();
12 m_stage = std::make_shared<CompilationStage>();
13 m_stage->SetContext(this);
14 }
15
16 ShaderCompiler::ShaderCompiler(std::string_view filename) : m_source_file(filename) {
17 m_reader = std::make_unique<ShaderReader>();

Callers

nothing calls this directly

Calls 1

SetContextMethod · 0.80

Tested by

no test coverage detected