MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetRootPath

Method SetRootPath

shadercompiler/CachingIncludeHandler.cpp:230–234  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Assigns path to the "root", entry point file. Arguments: shaderPath - path to the "root", entry point file --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

228// shaderPath - path to the "root", entry point file
229// --------------------------------------------------------------------------------------
230void CachingIncludeHandler::SetRootPath( const char* shaderPath )
231{
232 std::lock_guard scope( m_cs );
233 m_rootPath = GetDirPath( shaderPath );
234}

Callers 2

PrintPermutationsFunction · 0.80
mainFunction · 0.80

Calls 1

GetDirPathFunction · 0.85

Tested by

no test coverage detected