| 71 | } |
| 72 | |
| 73 | Result SetConstantValuesRef(HConstant constant, dmVMath::Vector4* values, uint32_t num_values) |
| 74 | { |
| 75 | if (constant->m_AllocatedValues) |
| 76 | dmMemory::AlignedFree(constant->m_Values); |
| 77 | |
| 78 | constant->m_AllocatedValues = 0; |
| 79 | constant->m_NumValues = num_values; |
| 80 | constant->m_Values = values; |
| 81 | |
| 82 | return dmRender::RESULT_OK; |
| 83 | } |
| 84 | |
| 85 | dmhash_t GetConstantName(HConstant constant) |
| 86 | { |
no test coverage detected