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

Function DeleteConstant

engine/render/src/render/constant.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void DeleteConstant(HConstant constant)
40{
41 if (constant->m_AllocatedValues)
42 dmMemory::AlignedFree(constant->m_Values);
43 delete constant;
44}
45
46dmVMath::Vector4* GetConstantValues(HConstant constant, uint32_t* num_values)
47{

Callers 5

TESTFunction · 0.85
DeleteMaterialFunction · 0.85
DeleteComputeProgramFunction · 0.85
DestroyRenderConstantsFunction · 0.85
TEST_FFunction · 0.85

Calls 1

AlignedFreeFunction · 0.85

Tested by 2

TESTFunction · 0.68
TEST_FFunction · 0.68