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

Function SetMaterialProgramConstantType

engine/render/src/render/material.cpp:434–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432 }
433
434 void SetMaterialProgramConstantType(HMaterial material, dmhash_t name_hash, dmRenderDDF::MaterialDesc::ConstantType type)
435 {
436 SetProgramConstantType(material->m_Constants, name_hash, type);
437 }
438
439 bool GetMaterialProgramConstant(HMaterial material, dmhash_t name_hash, HConstant& out_value)
440 {

Callers 3

InitializeDebugRendererFunction · 0.85
SetMaterialFunction · 0.85
SetMaterialConstantFunction · 0.85

Calls 1

SetProgramConstantTypeFunction · 0.85

Tested by

no test coverage detected