| 102 | } |
| 103 | |
| 104 | void SetProgramConstantType(const dmArray<RenderConstant>& constants, dmhash_t name_hash, dmRenderDDF::MaterialDesc::ConstantType type) |
| 105 | { |
| 106 | const RenderConstant* rc = GetRenderConstant(constants, name_hash); |
| 107 | if (rc) |
| 108 | { |
| 109 | SetConstantType(rc->m_Constant, type); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | bool GetProgramConstant(const dmArray<RenderConstant>& constants, dmhash_t name_hash, HConstant& out_value) |
| 114 | { |
no test coverage detected