MCPcopy Create free account
hub / github.com/defold/defold / NewConstant

Function NewConstant

engine/render/src/render/constant.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34HConstant NewConstant(dmhash_t name_hash)
35{
36 return new Constant(name_hash, -1);
37}
38
39void DeleteConstant(HConstant constant)
40{

Callers 3

TESTFunction · 0.85
SetProgramConstantValuesFunction · 0.85
FindOrCreateConstantFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68