| 32 | } |
| 33 | |
| 34 | void FlushData(ref_ptr<GraphicsContext> context, BindingInfo const & info, void const * data, uint32_t count) override |
| 35 | { |
| 36 | if (m_overlay != nullptr && info.IsDynamic()) |
| 37 | { |
| 38 | uint32_t offset = m_buffer->GetDynamicBufferOffset(info); |
| 39 | m_overlay->AddDynamicAttribute(info, offset, count); |
| 40 | } |
| 41 | m_buffer->UploadData(context, info, data, count); |
| 42 | } |
| 43 | |
| 44 | void * GetIndexStorage(uint32_t size, uint32_t & startIndex) override |
| 45 | { |
nothing calls this directly
no test coverage detected