| 186 | } |
| 187 | |
| 188 | void MeshObject::SetAttribute(std::string const & attributeName, uint32_t bufferInd, uint32_t offset, |
| 189 | uint32_t componentsCount, glConst type) |
| 190 | { |
| 191 | CHECK_LESS(bufferInd, m_buffers.size(), ()); |
| 192 | CHECK(m_buffers[bufferInd], ()); |
| 193 | m_buffers[bufferInd]->m_attributes.emplace_back(attributeName, offset, componentsCount, type); |
| 194 | |
| 195 | Reset(); |
| 196 | } |
| 197 | |
| 198 | void MeshObject::Reset() |
| 199 | { |
no test coverage detected