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

Function GetConstantType

engine/render/src/render/constant.cpp:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105dmRenderDDF::MaterialDesc::ConstantType GetConstantType(HConstant constant)
106{
107 return constant->m_Type;
108}
109
110void SetConstantType(HConstant constant, dmRenderDDF::MaterialDesc::ConstantType type)
111{

Callers 10

TESTFunction · 0.85
SetProgramConstantValuesFunction · 0.85
ApplyMaterialConstantsFunction · 0.85
PushRenderConstantFunction · 0.85
GetMaterialConstantFunction · 0.85
FindOrCreateConstantFunction · 0.85
SetRenderConstantFunction · 0.85
SetMaterialConstantFunction · 0.85
SetComputeConstantFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68