| 315 | } |
| 316 | |
| 317 | void SetNamedConstants(HNamedConstantBuffer buffer, HConstant* constants, uint32_t num_constants) |
| 318 | { |
| 319 | for (uint32_t i = 0; i < num_constants; ++i) |
| 320 | { |
| 321 | Constant* c = constants[i]; |
| 322 | SetNamedConstant(buffer, c->m_NameHash, c->m_Values, c->m_NumValues, c->m_Type); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | bool GetNamedConstant(HNamedConstantBuffer buffer, dmhash_t name_hash, dmVMath::Vector4** values, uint32_t* num_values) |
| 327 | { |