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

Function SetConstantType

engine/render/src/render/constant.cpp:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void SetConstantType(HConstant constant, dmRenderDDF::MaterialDesc::ConstantType type)
111{
112 constant->m_Type = type;
113}
114
115/////////////////////////////////////////////////////////////////////////////////////////////////////////
116

Callers 4

TESTFunction · 0.85
SetProgramConstantTypeFunction · 0.85
SetProgramConstantValuesFunction · 0.85
FindOrCreateConstantFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68