MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / AddMaterial

Method AddMaterial

neo/tools/materialeditor/MaterialDocManager.cpp:189–215  ·  view source on GitHub ↗

* Adds a material. * @param name The name of the material. * @param filename The file to place the material in. * @param sourceText The initial material definition. * @param addUndo Can this operation be undone. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

OnAddMaterialMethod · 0.80

Calls 6

CreateNewDeclMethod · 0.80
SetRenderMaterialMethod · 0.80
ApplyMaterialChangesMethod · 0.80
SetTextMethod · 0.45
SetMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected