MCPcopy Create free account
hub / github.com/comaps/comaps / SetDefines

Method SetDefines

libs/shaders/gl_program_pool.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void GLProgramPool::SetDefines(std::string const & defines)
47{
48 m_defines = defines;
49}
50
51ref_ptr<dp::Shader> GLProgramPool::GetShader(std::string const & name, std::string const & source,
52 dp::Shader::Type type)

Callers 2

InitForOpenGLMethod · 0.80
CompileShadersFunction · 0.80

Calls

no outgoing calls

Tested by 1

CompileShadersFunction · 0.64