| 14 | } |
| 15 | |
| 16 | void IndexBuffer::UpdateData(ref_ptr<GraphicsContext> context, void const * data, uint32_t size) |
| 17 | { |
| 18 | ASSERT_LESS_OR_EQUAL(size, GetBuffer()->GetCapacity(), ()); |
| 19 | |
| 20 | GetBuffer()->Seek(0); |
| 21 | if (size > 0) |
| 22 | UploadData(context, data, size); |
| 23 | } |
| 24 | } // namespace dp |
nothing calls this directly
no test coverage detected