| 294 | } |
| 295 | |
| 296 | uint32_t VertexArrayBuffer::GetAvailableVertexCount() const |
| 297 | { |
| 298 | if (m_staticBuffers.empty()) |
| 299 | return m_dataBufferSize; |
| 300 | |
| 301 | #ifdef DEBUG |
| 302 | auto it = m_staticBuffers.begin(); |
| 303 | uint32_t const prev = it->second->GetBuffer()->GetAvailableSize(); |
| 304 | for (; it != m_staticBuffers.end(); ++it) |
| 305 | ASSERT_EQUAL(prev, it->second->GetBuffer()->GetAvailableSize(), ()); |
| 306 | #endif |
| 307 | |
| 308 | return m_staticBuffers.begin()->second->GetBuffer()->GetAvailableSize(); |
| 309 | } |
| 310 | |
| 311 | uint32_t VertexArrayBuffer::GetStartIndexValue() const |
| 312 | { |
nothing calls this directly
no test coverage detected