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

Function GetConstantValues

engine/render/src/render/constant.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46dmVMath::Vector4* GetConstantValues(HConstant constant, uint32_t* num_values)
47{
48 *num_values = constant->m_NumValues;
49 return constant->m_Values;
50}
51
52Result SetConstantValues(HConstant constant, dmVMath::Vector4* values, uint32_t num_values)
53{

Callers 14

TESTFunction · 0.85
SetProgramRenderConstantFunction · 0.85
SetProgramConstantValuesFunction · 0.85
SetProgramConstantFunction · 0.85
PushRenderConstantFunction · 0.85
GetMaterialConstantFunction · 0.85
FindOrCreateConstantFunction · 0.85
SetRenderConstantFunction · 0.85
HashRenderConstantsFunction · 0.85
CopyRenderConstantsFunction · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TEST_FFunction · 0.68