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

Method GetCompleteShaderPath

trinity/Eve/SpaceObjectFactory/EveSOFDNA.cpp:602–607  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Return complete shader path with appropriate prefixes --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

600// Return complete shader path with appropriate prefixes
601// --------------------------------------------------------------------------------
602std::string EveSOFDNA::GetCompleteShaderPath( const char* path ) const
603{
604 std::string shaderPath = std::string( "/" ) + std::string( path );
605 StringInsertStubAfter( shaderPath, "/", GetShaderPrefix( IsHullAnimated() ) );
606 return GetAreaShaderLocationResPath() + shaderPath;
607}
608
609// --------------------------------------------------------------------------------
610// Description:

Callers 4

FillMeshAreaVectorMethod · 0.80
SetupInstancedMeshesMethod · 0.80
SetupImpactEffectsMethod · 0.80

Calls 1

StringInsertStubAfterFunction · 0.85

Tested by

no test coverage detected