| 253 | } |
| 254 | |
| 255 | void MeshObject::DrawPrimitivesSubsetIndexed(ref_ptr<dp::GraphicsContext> context, uint32_t indexCount, |
| 256 | uint32_t startIndex) |
| 257 | { |
| 258 | CHECK(m_impl != nullptr, ()); |
| 259 | CHECK(!m_indices.empty(), ()); |
| 260 | CHECK_LESS(startIndex, m_indices.size(), ()); |
| 261 | CHECK_LESS_OR_EQUAL(startIndex + indexCount, m_indices.size(), ()); |
| 262 | |
| 263 | m_impl->DrawPrimitivesIndexed(context, indexCount, startIndex); |
| 264 | } |
| 265 | |
| 266 | void MeshObject::DrawPrimitives(ref_ptr<dp::GraphicsContext> context) |
| 267 | { |
no test coverage detected