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

Function SetMaterialProgramConstant

engine/render/src/render/material.cpp:630–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628 }
629
630 void SetMaterialProgramConstant(HMaterial material, dmhash_t name_hash, Vector4* values, uint32_t count)
631 {
632 SetProgramRenderConstant(material->m_Constants, name_hash, values, count);
633 }
634
635 bool GetMaterialHasSkinnedAttributes(HMaterial material)
636 {

Callers 2

SetMaterialFunction · 0.85
SetMaterialConstantFunction · 0.85

Calls 1

SetProgramRenderConstantFunction · 0.85

Tested by

no test coverage detected