| 21 | {} |
| 22 | |
| 23 | void SetVAO(ref_ptr<VertexArrayBuffer> buffer) |
| 24 | { |
| 25 | // Invocation with non-null VAO will cause to invalid range of indices. |
| 26 | // It means that VAO has been changed during batching. |
| 27 | if (m_buffer != nullptr) |
| 28 | m_vaoChanged = true; |
| 29 | |
| 30 | m_buffer = buffer; |
| 31 | m_indicesRange.m_idxStart = m_buffer->GetIndexCount(); |
| 32 | } |
| 33 | |
| 34 | void FlushData(ref_ptr<GraphicsContext> context, BindingInfo const & info, void const * data, uint32_t count) override |
| 35 | { |
no test coverage detected